Re: Cfdmsh, a Python library for hybrid meshing with Salome is available
Re: Cfdmsh, a Python library for hybrid meshing with Salome is availablePosted by William Tougeron at November 29. 2012
As a CFD engineer using frequently Salome, I developed some Python functions to accelerate 2D hybrid meshing like shown in enclosed picture.
This kind of mesh becomes very easy to generate with my script.
Besides, the script provides some other functions dealing with:
- the copy of geometrical groups from one object to another,
> - the copy of mesh configurations (copy of all parameters of the mesh and subshapes from a mesh to another),<br> - the export of meshes in AMSH format compatible with Edge (http://www.foi.se/edge).
The 2D shapes created thanks to this script can be used also for 3D meshing, since they can be extruded or filled. I am now meshing a 3D fan domain thanks to it.
The script is now available from this page:
Its name is Cfdmsh. It is the last one of the table (for the moment).
All the installation process is given in the user manual (you just have to copy a file in a folder), or in the HTML documentation (included into the ZIP file) in which there are in addition detailed tutorials about CFD meshing in 2D and 3D, as well as Python scripting in Salome.
If you find some problems using it, please contact me. I am neither a programmer nor a Salome developer. I am just a Salome user. So I can make mistakes.
But I hope it will help many people which frequently deal with 2D/3D CFD meshing like me. Personally, it helps me a lot!