CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [surface handling] How to build a mesh? (https://www.cfd-online.com/Forums/openfoam-meshing/250276-how-build-mesh.html)

efalpha June 7, 2023 07:07

How to build a mesh?
 
I would like to know which are the standard practices in building meshes, beginning from a technical drawing. Which software, pipeline and export parameters do you use in order to allow for easy meshing via salome, or whatever?

Perhaps the question is too general, i believe that the problem regarding surface quality is also general.

Thanks

Tobi June 7, 2023 08:11

Hey,

yes your question is very general and generating geometries is definitely not the purpose and aim of the forum. However, for geometry generation there are several options available (free one):
  • Blender
  • Salome
  • FreeCad

Here you can create the patches and export them to obj or stl files. After that, or in general if you have your geometry available you can mesh it by using different approaches:
  • Salome
  • OpenFOAM
  • External Tools such as cfMesh

I personally, and also for large industry cases, snappyHexMesh is used. However, also cfMesh or any other mesher can be used. If you want to use OpenFOAM however, you should make sure that the mesh-format can be converted to an OpenFOAM format. E.g., a starcc+ or fluent mesh.

Sometimes I used salome for generating tetrahedrals and use polyDualMesh to convert that mesh into a polyhedral mesh. However, since more than 10 years I am using snappyHexMesh very successfully for small meshes up to very large meshes from small core count to large core count.


All times are GMT -4. The time now is 17:01.