| title | Breaking dam with flexible pillar 2D |
|---|---|
| permalink | tutorials-breaking-dam-2d.html |
| keywords | FSI, OpenFOAM, CalculiX, IQN-ILS, two-phase flow, interFoam |
| summary | FSI simulation of a two-dimensional water column striking a flexible wall |
{% note %} Get the case files of this tutorial. Read how in the tutorials introduction. {% endnote %}
The two-dimensional breaking dam case is a free surface problem. A large column of water comes into contact with a flexible wall, causing the wall to bend and the water to flow over the wall. A no-slip boundary condition is applied at the bottom, the left, and the right boundary, and a zero pressure condition at the top boundary. The image below shows the alpha value (0 is air, 1 is water) and velocity vectors at t=0.6.
A similar, but not identical, setup is used in [1].
preCICE configuration (image generated using the precice-config-visualizer):
Fluid participant:
- OpenFOAM (interFoam). In case you are using a very old OpenFOAM version, you need to adjust the solver to
interDyMFoamin theFluid/system/controlDictfile. For more information, have a look at the OpenFOAM adapter documentation.
Solid participant:
- CalculiX. For more information, have a look at the CalculiX adapter documentation. This is a modified setup of the one used in the
perpendicular-flaptutorial.
You can start the simulation by running the script ./run.sh located in each participant directory. OpenFOAM can be executed in parallel using run.sh -parallel. The default setting uses 4 MPI ranks.
You can visualize the results using ParaView or cgx (for native CalculiX results files) as usual. See some visualization hints for CalculiX results.
{% disclaimer %} This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM® and OpenCFD® trade marks. {% enddisclaimer %}
[1] K. Davis, M. Schulte, B. Uekermann. Enhancing Quasi-Newton Acceleration for Fluid-Structure Interaction. Mathematical and Computational Applications. 2022; 27(3):40

