mdolab / pyhyp

pyHyp generates volume meshes from surface meshes using hyperbolic marching.
Other
45 stars 39 forks source link

Failed to generate mesh #77

Closed meddiop closed 6 months ago

meddiop commented 1 year ago

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_openfile: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 ?

eirikurj commented 1 year ago

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.

sseraj commented 1 year ago

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

meddiop commented 1 year ago

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

meddiop commented 1 year ago

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 ?

eirikurj commented 1 year ago

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.