LLNL / libROM

Model reduction library with an emphasis on large scale parallelism and linear subspace methods
https://www.librom.net
Other
201 stars 36 forks source link

missing mesh in non-linear elasticity prom #184

Closed gokhalen closed 1 year ago

gokhalen commented 1 year ago

I'm trying to run the non-linear elasticity prom

https://www.librom.net/examples.html

using @dreamer2368 's Docker container.

The command is

./nonlinear_elasticity_global_rom --mesh "../../../dependencies/mfem/data/beam-hex-nurbs.mesh" --offline -dt 0.01 -tf 5.0 -s 14 -vs 10 -sc 3.9 -id 0

I'm not able to find the mesh 'beam-hex-nurbs.mesh' in the Docker container.

In examples/data I see

./examples/data/periodic-hexagon.mesh ./examples/data/star.mesh ./examples/data/inline-quad.mesh ./examples/data/periodic-square.mesh ./examples/data/beam-quad.mesh ./examples/data/beam-tri.mesh ./build/examples/data/periodic-hexagon.mesh ./build/examples/data/star.mesh ./build/examples/data/inline-quad.mesh ./build/examples/data/periodic-square.mesh ./build/examples/data/beam-quad.mesh ./build/examples/data/beam-tri.mesh

But not the mesh beam-hex-nurbs.mesh that I require.

Any help is much appreciated.

Nachiket

dreamer2368 commented 1 year ago

Can you provide how you cmake? They should be copied from the source directory.

In the librom_env container with a source directory $SRCDIR, you can cmake as below:

cmake $SRCDIR -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE} -DCMAKE_BUILD_TYPE=${BUILD_TYPE} -DUSE_MFEM=${USE_MFEM} -DMFEM_USE_GSLIB=${MFEM_USE_GSLIB}

This is also in the instruction in the container.

EDIT I realized that you're looking for a file that is not included in the repository from the beginning. If you'd like to use directories outside the container, you should mount them when you launch the container, just as $SRCDIR.

gokhalen commented 1 year ago

I think I understand now. I have to get the file I was looking for from mfem.

dreamer2368 commented 1 year ago

@gokhalen , I'm closing this issue unless you have any further problem.