Has anyone ever looked into supporting the MOOSE framework? Any pointers on what it would take to develop an adapter for it?
Welcome to the forum @dionhaefner
I am not aware of any initiative to develop an adapter for MOOSE, but it would certainly be very interesting for the community.
I assume it could be very similar to the existing adapters to FEM codes. They operate on different levels:
- Nutils directly calls preCICE in their application scripts, e.g. tutorials/solid.py at master · precice/tutorials · GitHub
- For FEniCS, we developed a complete stand-alone adapter: https://www.doi.org/10.1016/j.softx.2021.100807
- The deal.II-preCICE adapter is somehow in between: stand-alone, but not completely generic.
Could also be helpful:
Could maybe this discussion lead you to someone that has already tried something related? Looking at the configuration, the user mentions preCICE!
Thanks for the pointers! I’m not very familiar with MOOSE yet, so I’m not sure what the best way forward will be, but I’ll look into it.
I think this will be a bit different from Nutils / FEniCS, as a MOOSE adapter would probably have to use C++ machinery instead of relying on a high-level API. I’ll have a look at the deal.II adapter.
There is actually detailed documentation for the C++ API: Step 1 – Preparation | preCICE - The Coupling Library