CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

SnappyHexMesh directional refinement

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   Today, 06:30
Default SnappyHexMesh directional refinement
  #1
New Member
 
Sudharsan Bharatwaj
Join Date: Dec 2021
Posts: 8
Rep Power: 4
bruce21 is on a distinguished road
Hi CFD community,

I am using snappyHexMesh to refine my axisymmetric mesh (which uses a wedge boundary condition). I created this wedge domain using Gmsh. When I try refining the mesh, I see that the wedge boundaries lose their planarity. I see this is because snappy is refining the mesh in Y axis (around the axis of symmetry) also. Please see the attached dictionary file.

I need to refine the mesh only in X and Z direction, but not Y. I realized that refineMesh can do this, but the resulting mesh isn't satisfactory.

So, is there a way to specify directionality (refine only in specified axis) while using snappyHex for refinement?

Thanks in advance!
Attached Files
File Type: txt snappyHexMeshDict.txt (3.5 KB, 2 views)
bruce21 is offline   Reply With Quote

Old   Today, 07:33
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
Not in snappy, no. Snappy is not a mesher, it is a tool that makes a mesh snappy. Snappy is also not a tool for refining a mesh.

Is your domain a simple wedge? If so, return to the original blockMesh, you don't need snappy. If you have a wedge with a car inside it then:

Two other ideas you may like to try
1) Increase the resolution in the X and Z direction in the original blockMesh. Then snap it.
2) Scale the mesh in the Y direction smaller. Run snappy. Then scale the Y-dimension back up.
LuckyTran is offline   Reply With Quote

Old   Today, 09:03
Default
  #3
Senior Member
 
M
Join Date: Dec 2017
Posts: 701
Rep Power: 12
AtoHM is on a distinguished road
The ESI version of snappyHexMesh does support directional refinement.
AtoHM is offline   Reply With Quote

Reply

Tags
axisymmetric, openfoam, snappyhexmesh, wedge mesh axisymmetric


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
[snappyHexMesh] snappyHexMesh sticking point natty_king OpenFOAM Meshing & Mesh Conversion 11 February 20, 2024 10:12
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 02:37
SimpleFoam & Theater jipai OpenFOAM Running, Solving & CFD 3 June 18, 2019 11:11
killed "snappyHexMesh" parkh32 OpenFOAM Pre-Processing 2 April 8, 2012 18:12
[snappyHexMesh] snappyHexMesh aborting Tobi OpenFOAM Meshing & Mesh Conversion 0 November 10, 2010 04:23


All times are GMT -4. The time now is 15:43.