First time here? Checkout the FAQ!
x
+1 vote
by (130 points)
Hello, I have been having difficulty generating custom models for use with the --load-module argument in bench.

As some background, I installed the most recent openCARP installation package on a linux subsystem for windows and have been successfully running bench experiments with the preexisting models. In trying to follow along with the examples (e.g. the 04_limpet_fe example), I'd like to be able to convert a custom .model file that I've created in easyML to a .so file that can be loaded as a module in bench. However, the example references a script "make_dynamic_model.sh" and some python code "limpet_fe.py", neither of which I can find within the downloaded file directory. Likewise, the command "limpet_fe" referenced in example 05_easyml is unrecognized. Is there a way to accomplish this?

I appreciate your help in advance,

Thanks,

Rick C

1 Answer

0 votes
by (17.5k points)
Hi Rick,

the files are located in physics/limpet/src/make_dynamic_model.sh and physics/limpet/src/python/limpet_fe.py.

I've updated the example documentation to include this info: https://opencarp.org/documentation/examples/01_ep_single_cell/04_limpet_fe#generating-the-c-source

We'll check if the scripts can be linked to the bin directory for the future.

Cheers,

Axel
by (160 points)
Hi both,

the source compilation does move these files into the bin folder. This may have been forgotten in the docker/rpm/deb installers.

Cheers,
Toni
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance
...