-
-
Notifications
You must be signed in to change notification settings - Fork 85
Running the simulation
In order to start the simulation, you may start both solvers normally, in arbitrary order, in their own terminals. A tiling terminal emulator may be handy in this case.
First of all, you must be in the directory that contains the two cases (buoyantPimpleFoam-laplacianFoam/
). Both cases need to be started from the same directory.
To prepare and start the Fluid participant, run:
blockMesh -case Fluid
buoyantPimpleFoam -case Fluid
or simply run the script runFluid
.
To prepare and start the Solid participant, run:
blockMesh -case Solid
laplacianFoam -case Solid
or simply run the script runSolid
.
Each participant will prepare itself and will pause at the preCICE initialization phase, waiting for the other participant. Then, the simulation will continue. The simulated time is 1s and results are written every 0.2s.
After a few seconds/minutes, the simulation will end:
Alternatively, you may start everything in one terminal, using the Allrun
script. This script waits for both participants to exit and stores their output in the log files Fluid.log
and Solid.log
. You may inspect these files at runtime in another terminal using e.g. tail -f Solid.log
.
After running the simulation, execute ./Allclean
if you want to clean-up.
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.