CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] Mesh Regions

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   December 15, 2021, 04:59
Default Mesh Regions
New Member
Teh Tiong Wei
Join Date: Oct 2021
Posts: 4
Rep Power: 3
wei123 is on a distinguished road
Hi there!

I am trying to mesh two different regions (yarn and air) from a disconnected STL-groups for the yarn.

I managed to mesh the regions, however the names of the region are not as what I have defined. It gives me: domain1, domain3, insideZone3 and outsideZone; where I would like it to be: insideZone1, insideZone2, insideZone3 and outsideZone.

I guess this is due to how i wrote my snappyHexMeshDict, but I could not figure out how can I make this right.

Any suggestions?

Thanks in advance

Attached Images
File Type: jpg yarn2_1.jpg (52.1 KB, 11 views)
File Type: png Screenshot 2021-12-15 105809.png (37.0 KB, 10 views)
wei123 is offline   Reply With Quote

Old   December 15, 2021, 05:49
Senior Member
Join Date: Apr 2012
Location: France
Posts: 629
Rep Power: 20
Yann will become famous soon enough

I'm not totally sure, but I think you should try with 3 separate STL files for your 3 inside zones. I don't think you can use 3 times the same surface (inside) in refinementSurfaces. This would explain why the only inside zone correctly defined in your final mesh is the last one in your snappyHexMeshDict (insideZone3)

Hope this helps,
Yann is offline   Reply With Quote


cellzones, snappyhexmesh 3d

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[mesh manipulation] How to write cellSet for different regions in constant/polyMesh/sets Struggle_Achieve OpenFOAM Meshing & Mesh Conversion 3 June 17, 2019 09:29
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[snappyHexMesh] Layers:problem with curvature giulio.topazio OpenFOAM Meshing & Mesh Conversion 10 August 22, 2012 09:03
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55

All times are GMT -4. The time now is 23:21.