CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [CGNS] foamToCGNS converter got Error: wrong number of vertices in cell (https://www.cfd-online.com/Forums/openfoam-meshing/98049-foamtocgns-converter-got-error-wrong-number-vertices-cell.html)

aqua March 1, 2012 17:19

foamToCGNS converter got Error: wrong number of vertices in cell
 
Dear all,

I created my mesh in OF1.6ext by snappyHexMesh,
Then try to convert it into cgns by foamToCGNS in OF1.5-dev.
Then error showed up as follows:

Wrong number of vertices in cell
expected 4,5,6, or 8, found 0

From function foamToCGNS
in file writeCGNS.H at line 219.


Could anyone help on this?

Thank you so much!

Aqua

aqua March 1, 2012 17:58

Please, can anyone tell me, CGNS converter doesn't work with snappyHexMesh?

Thank you so much!!

Aqua

aqua March 1, 2012 18:00

It's me again:

Just found some information from the forum in 2008 as follows:
"As of now, the cgnsToFoam converter only supports the following type of 3D cells for unstructured mesh:
tetrahedron (TETRA_4)
pyramids (PYRA_5)
prisms (PENTA_6)
hexahedron (HEXA_8) "

that means, before 2008, it can not handle SHM, but how about now? is there some new version?

Thank you!

aqua


All times are GMT -4. The time now is 17:45.