|
[Sponsors] |
Today, 06:30 |
SnappyHexMesh directional refinement
|
#1 |
New Member
Sudharsan Bharatwaj
Join Date: Dec 2021
Posts: 8
Rep Power: 4 |
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! |
|
Today, 07:33 |
|
#2 |
Senior Member
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,754
Rep Power: 66 |
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. |
|
Today, 09:03 |
|
#3 |
Senior Member
M
Join Date: Dec 2017
Posts: 701
Rep Power: 12 |
The ESI version of snappyHexMesh does support directional refinement.
|
|
Tags |
axisymmetric, openfoam, snappyhexmesh, wedge mesh axisymmetric |
|
|
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 |