how to define patches with snappyHexMesh from a STL file ?
Hi!
I had a mesh defined as a STL file. Let's say my geometry is a cylinder. However my STL file only provides a default patche and I would like to define 3 different patches (inlet, outlet, wall). Do you know how can I do such a thing with snappyHexMesh (or another tool) ? Best regards, Cyp |
you can use names stl files, where the patches of your cylinder have names (check the motorbike tutorial for this)
or provide multiple stl files where each one contains the patch that is supposed to me meshed. |
Quote:
I know the thread is quite old but I wanted to ask the same question you already asked on the forum. Did you manage to define inlet and outlet patches when using snappyhexmesh. If yes, could you please let me know how you did. thank you Sofiene |
If you have one stl file with multiple solids defined one after another:
geometry { yourfile.stl { type triSurfaceMesh; name whatever; regions { solid1_name_in_stl_file { name whatever1; } solid2_name_in_stl_file { name whatever2; } ..... |
|
thank you!!
|
All times are GMT -4. The time now is 05:41. |