A handful of ready-to-run cases for you to build upon.
Tutorials are meant as starting points to build your own coupled simulations. Our collection has grown rapidly over the past few years and your contribution is very welcome!
Tip: Is this your your first time trying our preCICE? Read first the Quickstart guide or watch a talk on YouTube.
You can find all tutorial case files in the tutorials repository. Get the latest release, or clone the Git repository to easily update them in the future:
git clone --branch=master --depth 1 https://github.com/precice/tutorials.git
Basic cases
We recommend that you start from one of the following cases, which you can quickly run on your laptop:
- Flow in a channel with an elastic perpendicular flap: A fluid-structure interaction scenario. Feel free to combine different solvers, among OpenFOAM, SU2, deal.II, FEniCS, Nutils, and CalculiX.
- Flow over a heated plate: A conjugate heat transfer scenario. Try OpenFOAM, FEniCS, or Nutils.
- Partitioned heat conduction: The mathematician’s dream: split the heat equation in two and glue it again. Pick your Dirichlet and Neumann solvers among FEniCS and Nutils.
Further cases
In the following cases, you can explore different aspects of preCICE:
- Turek-Hron FSI3: The well-known fluid-structure interaction benchmark, with OpenFOAM and deal.II.
- Multiple perpendicular flaps: A three-field fluid-structure interaction case (fully implicit coupling, transient).
- 3D elastic tube: A 3D fluid-structure interaction scenario, with OpenFOAM and CalculiX.
- 1D elastic tube: A 1D fluid-structure interaction scenario, with toy solvers in Python and C++.
- Flow over a heated plate: nearest projection: A nearest-projection mapping version, with two OpenFOAM solvers.
- Flow over a heated plate: steady-state: A steady-state version, with OpenFOAM and code_aster.
- Heat exchanger: A three-field conjugate heat transfer case (explicit coupling, steady state), with OpenFOAM and CalculiX.
- Partitioned beam: An experimental structure-structure coupling scenario, with two CalculiX solvers.
- Partitioned pipe: An experimental fluid-fluid coupling scenario, with two OpenFOAM solvers.
Community projects
Apart from these simple tutorial cases, the community has tried preCICE in different setups. Check out our new community projects section in our forum, or read the community stories.