CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 19, 2016, 03:03
Default how to use snappyhexmesh to generate 2D mesh?
  #1
Member
 
Yage
Join Date: May 2014
Posts: 60
Rep Power: 11
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?

Regards,
Yage
Yage is offline   Reply With Quote

Old   January 19, 2016, 03:40
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 555
Rep Power: 27
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.
__________________
Linnemann

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

Old   January 27, 2016, 08:03
Default
  #3
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 182
Rep Power: 17
matejfor is on a distinguished road
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
matejfor is offline   Reply With Quote

Reply

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 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


All times are GMT -4. The time now is 09:52.