I think there is a serious bug in extrudeMesh. Using the linearNormal model, all cells created become inside out. Extruding with negative thickness produces a valid mesh. (that ofcourse can be moved into the desired place with transformPoints, but this workaraound feels a bit awkward.)
Attacheed is a test case describing this. Run the included run.sh with argument negative and positive.
the normal is indeed reversed. Agree it is probably not logical. I'd rather not change the behaviour in 1.5.x but will in future versions.
extrudeMesh - hexa cells generated?
I am trying to create a 2D mesh to be used in OpenFOAM with snappy. My method is the following:
Some explanatory screenshots:
Result with snappy:
cellSet from the middle:
new mesh from cellSet:
patch to extrude (why the triangles are not visualized in paraview?):
result mesh with extrudeMesh:
the same visualized in engrid. different colors > different cell types:
pyramids visualized in engrid:
tetras visualized in engrid:
How can I avoid pyramids/tetras?
Thanks for any help!
|All times are GMT -4. The time now is 23:19.|