module enabling partitioned multiphysics simulations for G+Smo with other libraries coupled via preCICE
.
CMake flags | -DGISMO_OPTIONAL="<other submodules>;gsPreCICE" |
---|---|
License | MPL 2.0 |
OS support | Linux, macOS |
Build status | |
Repository | gismo/gismo/gsPreCICE |
Developer | Hugo Verhelst, Jingya Li |
Dependency | preCICE v.3 |
Maintainer | Jingya Li, Hugo Verhelst |
- Install preCICE.
- Clone the preCICE tutorials repository.*
- Get G+Smo and the adapter.
The gsPreCICE
module is a submodule of the G+Smo library. Follow the steps below to download and configure it:
git clone https://github.com/gismo/gismo.git
cd gismo
mkdir build
cd build
cmake .. -DGISMO_OPTIONAL="<Other submodules>;gsPreCICE"
- Build examples.
make <tutorial file name> -j <number_of_threads>
- Link the compiled executable to the gismo-executable folder within the tutorial directory.*
cd <Your preCICE tutorial folder>/partitioned-heat-conduction/gismo-executable
ln -sf <You G+Smo build folder>/bin/<executable name> ./gismo_executable`
- Open two terminals and run.
cd solid-gismo
./run.sh
cd fluid-<other solvers>
./run.sh
Note: You need to perform steps 2 and 5 if you want to run the simulation with other libraries.
The latest supported G+Smo version is v24.08.0, and the latest supported preCICE version is v3.1.2.
[1] Benjamin Uekermann, Hans-Joachim Bungartz, Lucia Cheung Yau, Gerasimos Chourdakis and Alexander Rusch. Official preCICE Adapters for Standard Open-Source Solvers. In Proceedings of the 7th GACM Colloquium on Computational Mechanics for Young Scientists from Academia, 2017.