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

[snappyHexMesh] Snap to a feature line on a flat surface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 18, 2022, 13:04
Default Snap to a feature line on a flat surface
  #1
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 670
Rep Power: 14
Tobermory will become famous soon enough
Does anyone know how to get SHM to split cell faces on a flat surface, in order to align with a feature line? For example, I have a simple hex mesh and want to prescribe a circular patch on one end of the mesh - see the attached.

I vaguely remember having managed it in the past (unless I am mistakenly remembering doing it in StarCCM+), but I can't for the life of me remember how, or reproduce it. Any ideas?
Attached Images
File Type: jpg pic.jpg (108.9 KB, 7 views)
Tobermory is offline   Reply With Quote

Old   February 20, 2022, 10:44
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 670
Rep Power: 14
Tobermory will become famous soon enough
Ok - the answer is to activate flag multiRegionFeatureSnap, then all is well.

(Clearly this mesh is not particulary high quality ... you'd want to extend the refinement further into the domain, but in this test case I am only interested in the fact that I have managed to split the surface faces to create a circular patch).
Attached Images
File Type: jpg snapped.jpg (160.3 KB, 7 views)
Tobermory 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
[Gmsh] Structured meshing in Gmsh the_phew OpenFOAM Meshing & Mesh Conversion 19 August 24, 2022 03:19
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
[OpenFOAM] ParaView command in Foam-extend-4.1 mitu_94 ParaView 0 March 4, 2021 13:46
Issues With Exporting From GMSH rberdon Mesh Generation & Pre-Processing 0 February 11, 2021 11:11
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19


All times are GMT -4. The time now is 11:29.