Skip to content
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

Error when reading a Cubit mesh #4251

Open
Wayne901 opened this issue Apr 16, 2024 · 3 comments
Open

Error when reading a Cubit mesh #4251

Wayne901 opened this issue Apr 16, 2024 · 3 comments
Assignees

Comments

@Wayne901
Copy link

I export mesh from Cubit as Genesis format (.g) with either Use Normal Format or Use NetCDF4/HDF5 Format. Reading the mesh in MFEM returns:

MFEM abort: Fatal NetCDF error: NetCDF: Unknown file format
 ... in function: void mfem::Mesh::ReadCubit(const char*, int&, int&)
 ... in file: /home/wayne/libs/mfem-4.6-cubit/mesh/mesh_readers.cpp:2860

Am I missing something?
mesh.zip

@jandrej
Copy link
Member

jandrej commented Apr 16, 2024

You have to export using Exodus .e format with the option Use NetCDF4/HDF5 Format

@jandrej jandrej self-assigned this Apr 16, 2024
@Wayne901
Copy link
Author

Thank you for quick reply.
But #3338 uses a .g mesh file and I can import his successfully.
The Exodus .e format still fails to be read by MFEM.
image

@Wayne901
Copy link
Author

I'm using Coreform Cubit 2022.4 with educational license. Is it different to Cubit?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants