-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Element must be a fixed size using foamToCGNS (CGNSOO::cgns_exception) #6
Comments
I've opened two new issues, one for the case and another for compiling/linking. As for the central issue here, namely the fixed size elements, I'm guessing it has to do with certain cell types that are not supported by the converter. Have you tried the simpler meshes in the tutorials folders, such as for the |
Thanks for answer!
In addition, the behavior of simpleFoam/pitzDaily and case2 in your tutorial (after some changes) is similar. |
Mmm... from the commits, the last time I looked into this was in July 2018. Back then I was either using Ubuntu 16.04 or 18.04. It is also possible that the CGNS libraries that are being provided in Ubuntu 22.04 are either not working properly due to modern GCC issues as well, or something else entirely. Right now, I'm not able to look further into this, at least not in my free time. |
Okay, thanks for the answers. |
Hello!
I have installed OpenFOAM-5.x and cgnsToFromFoam for Ubuntu 22.04 LTS. The utility cgnsToFoam works correctly, however foamToCGNS gives me the error "Element must be a fixed size" when I try to convert all cases in OF5.x tutorial folder. By the way, suggested case2 with cycle type of perio1 boundary is outdated, but changing "cycle" type to "patch" helps to blockMesh. Log of using foamToCGNS in standard simpleFoam case is presented below:
I have added -I/usr/include/hdf5/serial/ to EXE_INC in 2 options files in applications for including necessary headers of hdf5 and copied libhdf5_cpp.so from /usr/lib/x86_64-linux-gnu/hdf5/serial and libcgns.so from /usr/lib/x86_64-linux-gnu to /home/nick/OpenFOAM/cgnsToFromFoam/src/libcgnsoo_3.0/platforms/linux64GccDPInt32Opt/lib folder.
Maybe the utility was compilled with problems (i didn't get any errors) or 22.04 is very new for it? I tried docker with Ubuntu 14.04, but i couldn't compile it due to troubles with Makefiles there.
The text was updated successfully, but these errors were encountered: