-
-
Notifications
You must be signed in to change notification settings - Fork 85
Tutorial for CHT: Flow over a heated plate
This tutorial describes how to run a conjugate heat transfer with OpenFOAM. The files for this tutorial can be found in the tutorials directory and are prepared for OpenFOAM 5. Newer versions are also known to work.
You may also find more tutorials on the preCICE wiki.
This scenario consists of one fluid and one solid participant and it is described by Vynnycky et al. [1]. A fluid enters in a channel with temperature 300K, where it comes in contact with a solid plate, which is heated from below at a constant temperature of 310K.
This test case is two-dimensional, but because OpenFOAM is written for three-dimensional simulations, we run a quasi-2D simulation with three dimensional meshes with only one cell in y-direction.
A serial-implicit coupling is used, where the fluid participant reads heat fluxes and the solid participant reads temperatures. Both participants can be executed either in serial or in parallel.
Fluid flow: OpenFOAM, solver buoyantPimpleFoam. This is an open-source solver for transient, buoyant, turbulent flow of compressible fluids for ventilation and heat transfer.
Heat transfer on the solid: OpenFOAM, solver laplacianFoam. This is an open-source solver that can solve the thermal diffusion in a solid.
The tutorial is prepared for OpenFOAM 5.0 from openfoam.org. OpenFOAM v1706 from openfoam.com is also compatible.
OpenFOAM website (variant from The OpenFOAM Foundation)
OpenFOAM website (variant from the ESI Group)
For simulating the described case, the following software is necessary:
-
OpenFOAM: the package that provides the fluid and the solid solvers. If you are using Ubuntu, precompiled packages are available.
-
preCICE: the coupling library.
After installing both OpenFOAM and preCICE, you need to build the OpenFOAM adapter.
Both cases are already configured. If you want to learn more about the configuration, you may read the following pages:
Both participants require the precice-config.xml
file. Since we provide both a serial and a parallel version of the tutorial, this is a link that points either to precice-config_serial.xml or to precice-config_parallel.xml, depending on which script is used to run the case. For more information about this file, see the preCICE wiki.
After the first results are written (a new time directory will be created), you may visualize the results.
[1] M. Vynnycky, S. Kimura, K. Kanev, and I. Pop. Forced convection heat transfer from a flat plate: the conjugate problem. International Journal of Heat and Mass Transfer, 41(1):45 – 59, 1998.
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.