Home - sltmyr/precice GitHub Wiki
Tutorial for a coupled simulation with SU2 and CalculiX
Case setup
In the following tutorial we model a compressible fluid flowing through a channel. In the channel, an elastic flap is fixed to the floor. This flap oscillates due to the fluid pressure building up on its surface. The setup is shown schematically here:
This test case is two-dimensional, but because CalculiX is written for three-dimensional simulations, we run a quasi-2D simulation with a constant width and only one cell in y-direction. The fluid flow is simulated by solving the compressible Navier- Stokes equations for laminar viscous flow. A constant velocity profile is assumed on the input on the left of the channel and on the walls no-slip conditions are prescribed. More on the definition of the case and its parameters can be found in Rusch2016.
Used Solvers
Flap deformation: CalculiX, a free three-dimensional finite element solver
Fluid flow: SU2, an open source CFD solver developed at Stanford
Step 1: Install required software
For simulating the described case, the following software is necessary:
After a successful installation of SU2, CalculiX, and preCICE, the following adapters need to be installed. They make the communication between the solvers and the coupling library possible.