Simulation - sltmyr/precice GitHub Wiki
Running the simulation
After the setup is complete, we are ready to run the coupled simulation. We need to start two terminals, one for each solver that we use — in our case SU2 for the fluid simulation and CalculiX for simulating the solid flap. In each terminal we start a simulation, the order in which they are started is not important. The solver we start first will run until it needs to communicate with the other one and wait until it receives the required data.
The CalculiX simulation is started by the following command:
ccx_preCICE -i flap -precice-participant Calculix
Here -i is used to specify the configuration file for CalculiX flap.inp
, and the name provided to -precice-participant must match the name defined in config.yml.
We see this output while CalculiX waits for SU2 to start
We can now start SU2 in another terminal by typing:
./SU2_CFD su2-config.cfg
and the coupled simulation starts to run.