CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

Problem with extrudeMesh sHM 2D airfoil mesh

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

Reply
 
LinkBack Thread Tools 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: 198
Rep Power: 4
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: 592
Blog Entries: 5
Rep Power: 15
elvis will become famous soon enough
Hi,

read the "final project" documentation by Alejandro Roger Ull
Dynamic Mesh for a Gear Pump
->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: 198
Rep Power: 4
ssss is on a distinguished road
Quote:
Originally Posted by elvis View Post
Hi,

read the "final project" documentation by Alejandro Roger Ull
Dynamic Mesh for a Gear Pump
->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
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
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 10:53
2D AMI Moving Mesh with sHM; How hard can this be? ADGlassby OpenFOAM Native Meshers: snappyHexMesh and Others 18 June 18, 2013 06:07
CFX-Pre problem, pls help!!! cth_yao CFX 0 February 17, 2012 01:52
airfoil, mesh spacing problem, CFX-ICEM Santiago Orrego. CFX 3 January 14, 2007 19:19
unstructured vs. structured grids Frank Muldoon Main CFD Forum 1 January 5, 1999 11:09


All times are GMT -4. The time now is 23:25.