CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Naming regions in stl file for snappyHexMesh (https://www.cfd-online.com/Forums/openfoam/218118-naming-regions-stl-file-snappyhexmesh.html)

kauraajn June 9, 2019 13:58

Naming regions in stl file for snappyHexMesh
 
Hi all,

I am relatively new to OpenFOAM, and need some help in creating an stl file with named regions. I am trying to model scalar transport in an arbitrary geometry. For starters, if I had to mesh the region inside a cylinder using snappyHexMesh, with defined inlet, outlet and wall to assign boundary conditions, how should I go about this? Thanks.

virengos June 10, 2019 10:38

Hi kauraajn,
that's not really rocket science :) and you will find everything about this topic in the forum here. You can use the 'Search' function to get it.



1.) Just few examples what's already available:
https://www.cfd-online.com/Forums/op...sh-salome.html
(obligatory to read and to understand)



https://www.cfd-online.com/Forums/op...stl-files.html
https://www.cfd-online.com/Forums/op...-stl-file.html
https://www.cfd-online.com/Forums/op...pyhexmesh.html
https://www.cfd-online.com/Forums/op...-stl-file.html
etc.



2.) Check free available OS Software for STL creation and meshing: 'Salome Meca' and 'FreeCAD'


3.) Use exisitng Linux commands to manipulate and check ASCII STL files
cat, split, grep, ...



4.) and OpenFOAM utilities
https://cfd.direct/openfoam/user-gui...#x14-1090003.6
surfaceAutoPatch, surfaceRefineRedGreen, surfaceCheck, ...


5.) Use 'ParaView' to check your STL geometry


6.) Start with some simple tutorials, e.g. 'motorBike', 'elbow'



And let me know if you need more support ...

Damian

kauraajn August 14, 2019 12:29

Sorry for the late acknowledgement, but thank you so much Damian. This was really helpful


All times are GMT -4. The time now is 16:59.