CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

how to use snappyhexmesh to generate 2D mesh?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 19, 2016, 04:03
Default how to use snappyhexmesh to generate 2D mesh?
  #1
Member
 
Yage
Join Date: May 2014
Posts: 47
Rep Power: 4
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, 04:40
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 474
Rep Power: 16
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, 09:03
Default
  #3
Senior Member
 
matej forman
Join Date: Mar 2009
Location: Brno, Czech Republic
Posts: 104
Rep Power: 9
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with snappyHexMesh kanes OpenFOAM Native Meshers: snappyHexMesh and Others 10 January 26, 2016 07:11
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
Layers:problem with curvature giulio.topazio OpenFOAM Native Meshers: snappyHexMesh and Others 10 August 22, 2012 09:03
SnappyHexMesh not generate mesh first time mavimo OpenFOAM Mesh Utilities 4 August 26, 2008 07:08


All times are GMT -4. The time now is 00:28.