Setup
This tutorial extends the flow over heated plate: Two meshes tutorial, adding another channel flow below the plate. The plate is not heated in this scenario, but is acting as a conducting material for the two fluids, serving as a simplified heat exchanger example.
Contrary to the heat exchanger tutorial, which defines Robin-Robin coupling, this case defines a Dirichlet-Neumann coupling, exchanging temperature (from the fluids to the solid) and heat flux (from the solid to the fluids). Additionally, instead of composing two explicit coupling schemes, this tutorial uses a fully-implicit multi-coupling scheme and is transient.
Configuration
preCICE configuration (image generated using the precice-config-visualizer):
Available solvers
Fluid participants:
- OpenFOAM (buoyantPimpleFoam). 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. Be sure to use at least version 2.19.1 of the adapter.
Running the Simulation
Open two separate terminals and start the desired fluid and solid participant by calling the respective run script run.sh
located in the participant directory. For example:
cd fluid-top-openfoam
./run.sh
and
cd fluid-bottom-openfoam
./run.sh
to run the fluid participants, as well as
cd solid-calculix
./run.sh
to run the solid participant (which is also controlling the coupling).
Post-processing
Similarly to the flow over heated plate: Two meshes tutorial.