snappyHexMesh on 1.7.1 and 2.1.0
Hi all,
What are the differences between the old snappyHexMesh (OF 1.7) and the the new one (OF 2.1). I meshed the same geometry with both versions, using the same dictionary and obtaining different mesh: snappy of OF 2.1.0 Mesh stats points: 5756460 internal points: 0 faces: 11189366 internal faces: 5292421 cells: 2767077 boundary patches: 7 point zones: 0 face zones: 0 cell zones: 0 Overall number of cells of each type: hexahedra: 2646402 prisms: 120675 wedges: 0 pyramids: 0 tet wedges: 0 tetrahedra: 0 polyhedra: 0 snappy on OF 1.7.1 Mesh stats points: 5997810 internal points: 0 faces: 11310041 internal faces: 5292421 cells: 2767077 boundary patches: 7 point zones: 0 face zones: 0 cell zones: 0 Overall number of cells of each type: hexahedra: 2767077 prisms: 0 wedges: 0 pyramids: 0 tet wedges: 0 tetrahedra: 0 polyhedra: 0 The total number of cells is the same but in OF 1.7.1 i have only hexa (some cells were not exactly hex, but they were a little bit distorted) while in OF 2.1 i got also some prisms cells. Since i think that working with hex is always better how can i reproduce the same hex-mesh on OF 2.1? How can I avoid prisms? thanks andrea |
Greetings Andrea,
OK, quickest comparison: Code:
diff -Nur OpenFOAM-1.7.1/tutorials/mesh/snappyHexMesh/motorBike/system/snappyHexMeshDict OpenFOAM-2.1.0/tutorials/mesh/snappyHexMesh/motorBike/system/snappyHexMeshDict > snappyHexMeshDict.diff Code:
--- OpenFOAM-1.7.1/tutorials/mesh/snappyHexMesh/motorBike/system/snappyHexMeshDict 2010-08-24 15:32:48.000000000 +0100 You might also want to upgrade to 2.1.x for at least the following reason: http://www.openfoam.org/mantisbt/view.php?id=351 Best regards, Bruno |
HI Bruno,
that's the point. If there's no significant difference why i get two different mesh? and again my question...how can i avoid prisms? i tried set "cellDeterminat = -1" with no changes. I think that if i had a full hexa-mesh with the old version it should be possibile to get the same with the new one. best andrea |
Hi Andrea,
I forgot to mention that there might be more changes beyond these two lists I've shown above. But in the link to the bug tracker it indicates that "maxNonOrtho" also changed. If you could provide a simple example, it might be easier to pinpoint the change. Nonetheless, I'll try to list a few more changes:
Best regards, Bruno |
All times are GMT -4. The time now is 21:41. |