I have COMSOL and the CFD package therein available, which provides me with an all-in-one solution for solving CFD problems. I have modeled and solved the geometry shown in the pictures below, which took me roughly one hour.
Now (just for kicks) I want to do the same in FEniCS and see how that goes. At this point, I am trying to establish an optimal work flow.
My approach at the moment is this:
- create the geometry in gmsh
- create the mesh in gmsh
- import the mesh to dolfin using dolfin-convert mesh_file.msh mesh_file.xml
- set-up boundary conditions in dolfin
- solve navier-stokes equations
- post-processing in ParaView
Before I start doing that, I would like to know if this work-flow is a good idea?!
Possible issues I see are setting up the boundary conditions from the imported gmsh mesh in dolfin, based on this launchpad post. I.e. is it better to define the boundary conditions in gmsh or in dolfin?