|
[Sponsors] |
[snappyHexMesh] how to use snappyhexmesh to generate 2D mesh? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 19, 2016, 03:03 |
how to use snappyhexmesh to generate 2D mesh?
|
#1 |
Member
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11 |
Dear Foamers,
I would like to run a 2D simulation for a wing-shape geometry, how could I do that with snappyhexmesh? the refinement level will cut the background in 3D, how to allow it in 2D only? and is that possible to refine a area, such as level 2, with refineMesh dict with automatic buffer layer generation? Regards, Yage |
|
January 19, 2016, 03:40 |
|
#2 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27 |
Look at cfmesh instead for 2D
Picture taken from their userguide. They also have tutorialfiles for making a 2D mesh. Even better if the geo is simple make it a structured mesh using Salome.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
January 27, 2016, 08:03 |
|
#3 |
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17 |
Hi,
snappy is not a good idea for 2D, as you have pointed out, it refines in 3D allways. The solution is to use blockMesh to generate 2D structured mesh (see: http://www.openfoam.com/documentatio...#x25-1410005.3 and: https://github.com/OpenFOAM/OpenFOAM...b2434eb3e2c4ed) or you may try unstructured foamyQuadMesh. see tutorials in $FOAM_TUTORIALS/mesh/foamyQuadMesh Happy foaming Matej |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] Creating very fine, high accuracy mesh with snappyHexMesh | JD_Welch | OpenFOAM Meshing & Mesh Conversion | 10 | July 5, 2023 11:50 |
[snappyHexMesh] problem with snappyHexMesh | kanes | OpenFOAM Meshing & Mesh Conversion | 10 | January 26, 2016 06:11 |
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry | pizzaspinate | OpenFOAM Meshing & Mesh Conversion | 1 | February 25, 2015 07:05 |
[snappyHexMesh] How to generate a coarse mesh with snappyHexmesh | laplacian | OpenFOAM Meshing & Mesh Conversion | 0 | June 30, 2011 10:41 |
[snappyHexMesh] SnappyHexMesh not generate mesh first time | mavimo | OpenFOAM Meshing & Mesh Conversion | 4 | August 26, 2008 07:08 |