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

[snappyHexMesh] Problem with extrudeMesh sHM 2D airfoil mesh

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 1, 2014, 03:33
Default Problem with extrudeMesh sHM 2D airfoil mesh
  #1
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
ssss is on a distinguished road
Hi foamers,

I'm trying to make a 2D mesh of an airfoil. First I make a square blockMesh as explained in the openfoam guide. And then I run the following commands

Code:
foamClearPolyMesh
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
blockMesh
transformPoints -translate "(0 0 -0.5)"
snappyHexMesh -overwrite
flattenMesh
extrudeMesh
All runs okay except that if I run snappyHexMesh, this is the output of extrudeMesh (the bounding box is incorrect). Even changing between back and front in the extrudeDict doesn make difference.

Code:
Mesh bounding box : (-10 -10 0) (10 10 1)
And if I don't run snappy before extrudeMesh I get the following output(the bounding box is correct).
Code:
Mesh bounding box : (-10 -10 -0.5) (10 10 0.5) //correct
Anyone knows what happens? Thank you
ssss is offline   Reply With Quote

Old   September 1, 2014, 08:55
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 618
Blog Entries: 6
Rep Power: 23
elvis will become famous soon enough
Hi,

read the "final project" documentation by Alejandro Roger Ull
http://www.cfd-online.com/Forums/ope...gear-pump.html
->The work consists on meshing the geometry with snappyHexMesh in parallel and extruding it with extrudeMesh to make it two-dimensional.
I hope it can be a good guideline for your work.
elvis is offline   Reply With Quote

Old   September 1, 2014, 13:12
Default
  #3
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
ssss is on a distinguished road
Quote:
Originally Posted by elvis View Post
Hi,

read the "final project" documentation by Alejandro Roger Ull
http://www.cfd-online.com/Forums/ope...gear-pump.html
->The work consists on meshing the geometry with snappyHexMesh in parallel and extruding it with extrudeMesh to make it two-dimensional.
I hope it can be a good guideline for your work.
Thank you very much elvis , I think I found how to do it. Thank you
ssss 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
[ICEM] unstructured 2d airfoil mesh Mazur ANSYS Meshing & Geometry 21 June 7, 2023 03:48
Parameters of a good airfoil mesh CharlieBra7o Mesh Generation & Pre-Processing 4 November 20, 2018 14:42
Airfoil simulation solution interfered by mesh Dvergr OpenFOAM Running, Solving & CFD 1 September 28, 2014 02:05
[snappyHexMesh] How to Do External Mesh for Airfoil sHM msuaeronautics OpenFOAM Meshing & Mesh Conversion 1 September 23, 2012 04:00
[Other] 2D hex mesh on multi element airfoil Verfblikje OpenFOAM Meshing & Mesh Conversion 0 January 19, 2012 10:55


All times are GMT -4. The time now is 20:43.