mdolab / pyhyp

pyHyp generates volume meshes from surface meshes using hyperbolic marching.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to generate mesh

meddiop opened this issue · comments

Hi ! I'm new on pyhyp and linux systems overall. I've tried some tutorial cases and they worked perfectly. But whenever I tried to generate a volume mesh with my own geometry, I got these errors:
_ with a CGNS : "VSPAERO Viewer Not Found. cgio_open_file:invalid file type"
_ with a PLOT3D: "VSPAERO Viewer Not Found. Fortran runtime error: Bad integer for item 1 in list input"
Does anyone have an idea of the origin of the bug ?

Looks like your input files, both the CGNS and plot3d, are invalid/incompatible, so please check your input and make sure they are of supported filetypes/format.

In particular, I would check that the CGNS file is ADF and not HDF5

I tried both ADF and HDF5 but none of them works. I will retry. Is there any way to check the quality of a CGNS file ? I'm new to all these tools

Is the CGNS tool included in the whole mach aero docker, updated ? I use two different meshing softwares SALOME and Cassiopee and both their CGNS file don't work. Even the tutorials files don't work after I upload and save them as cgns file through the two softwares. Is there any way to verify this ?

The CGNS tools is not built on the docker containers. I suggest you download the CGNS library and install it locally (see instructions here). The GUI cgnsview is particularly useful to check the content and format of the CGNS file. Also, when exporting, make sure you are exporting the grid as a "structured" format.