CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] v1906: Layers on fluid part of shared patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2022, 07:44
Default v1906: Layers on fluid part of shared patch
  #1
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Hello all,

I have to create a multiregion-mesh with two regions in sHM. Using the "locationsInMesh" positions, everything works fine. I want to have layers on one region (fluid) but not on the other (solid).
Unfortunately I do have shared patches that are next to both fluid and solid region. They get split-up by sHM correctly and after running "splitMeshRegions" both the solid and fluid mesh does contain part of the boundary patch. However, I want to have layers on fluid but not on solid region of the mesh. To do so, I need to grow layers from that part of the patch that is attached to the fluid region, but not that part that is attached to the solid region. Is there any option to restrict layers to certain cell zones/mesh regions in sHM? Otherwise I have to manually split the boundary region before running sHM. This is possible but time-consuming and I expect this to change often. Therefore I am behind an more automatic way.

Last edited by bastil; August 29, 2022 at 10:46.
bastil is offline   Reply With Quote

Old   August 29, 2022, 08:23
Default
  #2
Senior Member
 
BastiL
Join Date: Mar 2009
Posts: 530
Rep Power: 20
bastil is on a distinguished road
Ok one (theoretical) way to do, not yet tested:
1. Run sHM, castellate and snap only, no layers
2. splitMeshRegions -cellZones -overwrite
3. snappyHexMesh -region fluid, only layers no castellate and snap
bastil is offline   Reply With Quote

Reply


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
[Commercial meshers] Fluent3DMeshToFoam simvun OpenFOAM Meshing & Mesh Conversion 50 January 19, 2020 15:33
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 04:04
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 09:11


All times are GMT -4. The time now is 07:32.