-
-
Notifications
You must be signed in to change notification settings - Fork 13
Building
To build the adapter, follow the steps below:
-
Download and compile deal.II (version 9.1 is known to work). A detailed installation instruction is given in the installation section of the deal.II webpage. If you are familiar with CMake and want to stay in sync with the recent development version, you can clone directly the git repository and follow the steps in the README there.
-
Download and compile preCICE. A detailed installation instruction is given in the building section of the preCICE wiki. On debian-like systems, you could directly download and install debian packages.
-
Build the dealii-adapter: First, clone this git repository
git clone https://github.com/precice/dealii-adapter.git .
Building is similar to the example programs, run
cmake -DDEAL_II_DIR=/path/to/deal.II .
for configuration, where
DEAL_II_DIR
points to your installation (not source) directory. If you have set the variableDEAL_II_DIR
globally, you could skip it in the command above. Afterwards, runmake
to build the adapter. By default, the adapter is built in debug mode. If you want to build a release version, usemake release
.
To run the deal.II adapter, copy the executable and parameter file (parameters.prm
) in your target directory, e.g. Solid
. Afterwards, create an output directory called dealii_output
, where this programs stores its simulation result files, and run the executable by:
./coupled_elasto_dynamics path/to/parameters.prm
Example cases can be found in the tutorial cases for deal.II coupled with OpenFOAM.
More information on precice.org. Subscribe to the preCICE mailing list.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Please use "precice.org" for the attribution.