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

Query on Running the code due to MFEM abort #317

Open
vegaonline opened this issue Dec 15, 2024 · 1 comment
Open

Query on Running the code due to MFEM abort #317

vegaonline opened this issue Dec 15, 2024 · 1 comment
Labels
mesh Related to meshes and mesh generation question Further information is requested

Comments

@vegaonline
Copy link

I installed palace using spack on an Ubuntu based laptop with 64 GB RAM. I wanted run a demo code provided in this repo as example. I selected "cpw_wave_uniform.json". I tried to run $SPACK_ROOT/opt/spack/linux-ubuntu24.04-skylake/gcc-13.3.0/palace-0.12.0-v4b75q2et5rn2pktnxocwx7ukfcfgmml/bin/palace -np 2./cavity_pec.json.

The run aborted due to MFEM-abort: unale to open mesh file "mesh/cylinder_hex.mesh".
How the code generates geometry and then how meshing is done?

It would be good if workflow is given starting from the geometry making, mesh generation, simulation etc.

@hughcars
Copy link
Collaborator

Hi @vegaonline,

Palace is not responsible for any geometry construction or mesh generation. That error message is looking for the mesh/cylinder_hex.mesh file which is vended with the Palace installation for that example. The path to the mesh file is relative however, so you need to call palace from the containing directory for the configuration file.

More broadly, a Palace user is required to bring their own mesh generated outside of Palace, the list of supported mesh formats is available here. There is no support for the "geometry making, mesh generation" stages, and no plan to support them in the future. I would suggest gmsh with the OpenCascade kernel as a reasonable open source solution to geometry and mesh generation, but there exist myriad external solutions tailored to particular applications.

@hughcars hughcars added question Further information is requested mesh Related to meshes and mesh generation labels Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mesh Related to meshes and mesh generation question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants