September 1, 2014, 02:57
|
Problem with extrudeMesh sHM 2D airfoil mesh
|
#1
|
Senior Member
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
|
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
|
|
|