|August 6, 2009, 10:18||
Geometry and meshing for OpenFOAM
Join Date: Jul 2009
Location: Den Haag, The Netherlands
Posts: 5Rep Power: 8
I am a new user of OpenFOAm and I want to use it to solve an internal flow in a rectangular duct with circular outlets. I don't really know what is the best way to set the geometry and create the mesh. Do I have to set all the vertices (and the inlet and outlet patches) in the blockMeshDict ? How is it possible to create circular patches then ?
I tried to draw the system with Blender and use the snappyHexMesh tool, but it seems that I still need to set the inlet and outlet patches in blockMeshDict. Anyone knows of a simple way to set up the geometry ?
Another question : what program do you use to open and edit stl files ?
|August 6, 2009, 10:21||
Join Date: Mar 2009
Posts: 160Rep Power: 8
I use Blender too, but I had problems with a triangular vortex generator that was meshed using snappyHexMesh, apparently without errors (no warnings in the last iterations), but still gave warnings when running checkMesh.
|August 12, 2009, 07:02||
Join Date: Mar 2009
Location: Darmstadt, Germany
Blog Entries: 5Rep Power: 11
I'm using Salome-MECA and Engrid for meshing ships. I believe that Salome-MECA is really strait forward to use, especially for internal flows.
You just import the .stl file, create the geometry groups if you want (it speeds up the meshing process), mesh first the solid in 3D, then use submeshing to refine the original mesh.
You can download it from here:
The installation is non-existant, you just execute ./runSalomeMeca in the local dir for a quick look and work, but later just source the lib and bin dirs and it runs perfectly.
SALOME doesn't edit .stl file, but there is absolutely no need. You explode the .stl into solid, face and edge components and build on that, adding perhaps additional geometry. You can have i.e. a railway car in the geometry module, but if you mesh just one plate, only that mesh gets exportet later. Conversion to FOAM is really easy. SALOME doesn't use metrics, so draw in meter dimensions, although scaling in OpenFOAM is really easy.
Yes, and when you add groups to the mesh, you assign the names. These names get exported as bcs in .unv file and through conversion to OpenFOAM mesh.
Hope this helps,
|Thread||Thread Starter||Forum||Replies||Last Post|
|IGES/IGS format geometry file for icem meshing||littlelz||Main CFD Forum||0||May 27, 2008 18:24|
|Gambit Meshing complex geometry||Edwin||FLUENT||2||July 19, 2006 15:02|
|Meshing the geometry||Vidya Raja||FLUENT||0||February 26, 2006 20:44|
|Meshing Film cooling geometry||Janendra Telisinghe||CFX||1||January 31, 2006 07:16|
|meshing geometry in gambit||soundar||FLUENT||1||January 7, 2005 03:59|