CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] how to use snappyhexmesh to generate 2D mesh?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2016, 04:03
Default how to use snappyhexmesh to generate 2D mesh?
Join Date: May 2014
Posts: 60
Rep Power: 8
Yage is on a distinguished road
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?

Yage is offline   Reply With Quote

Old   January 19, 2016, 04:40
Senior Member
linnemann's Avatar
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 526
Rep Power: 23
linnemann will become famous soon enough
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.

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   January 27, 2016, 09:03
Senior Member
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 160
Rep Power: 13
matejfor is on a distinguished road
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:
or you may try unstructured foamyQuadMesh. see tutorials in $FOAM_TUTORIALS/mesh/foamyQuadMesh

Happy foaming
matejfor is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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] Creating very fine, high accuracy mesh with snappyHexMesh JD_Welch OpenFOAM Meshing & Mesh Conversion 9 November 17, 2017 01:46
[snappyHexMesh] problem with snappyHexMesh kanes OpenFOAM Meshing & Mesh Conversion 10 January 26, 2016 07:11
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry pizzaspinate OpenFOAM Meshing & Mesh Conversion 1 February 25, 2015 08:05
[snappyHexMesh] How to generate a coarse mesh with snappyHexmesh laplacian OpenFOAM Meshing & Mesh Conversion 0 June 30, 2011 11:41
[snappyHexMesh] SnappyHexMesh not generate mesh first time mavimo OpenFOAM Meshing & Mesh Conversion 4 August 26, 2008 08:08

All times are GMT -4. The time now is 03:30.