r/CFD • • Jul 09 '18

[July] Personal experiences of using open source CFD projects; OpenFOAM, SU2, FVCOM, Basilisk (Gerris), etc.

As per the discussion topic vote, July's monthly topic is Personal experiences of using open source CFD projects; OpenFOAM, SU2, FVCOM, Basilisk (Gerris), etc.

25 Upvotes

44 comments sorted by

View all comments

Show parent comment

2

u/Overunderrated Jul 09 '18

Now that I'm working on commercializing the scheme spatial discretization is important, and the scheme has been cemented so the effort makes sense.

So you're rewriting the whole thing to be independent of fenics? That's my kinda jam =)

I would have never finished trying to implement my own FEM that ran over MPI with the latest PETSc solvers

Yeah, I very intentionally kept a barrier between petsc and my own code. I don't like how they try to force it as a framework onto users, i.e. they want you to write your code in petsc, when all I really want is the numerical linear algebra stuff.

It's such a monumentally useful library (toolkit? framework?) but man does it have some awkward design decisions. Void pointers everywhere.

1

u/Rodbourn Jul 09 '18

Yeah, I very intentionally kept a barrier between petsc and my own code.

That is something FEniCS has done very well I think.

1

u/Rodbourn Jul 09 '18

toolkit? framework?

Loosely, I think it's a framework when it imposes architectural decisions and a library when it does not. FEniCS would very much be a framework for FEM.