Demonstration case for three region coupling with film consisting of an aluminium panel with surface film running down forming rivulets in a box of air which moved due to buoyancy with 6-way thermal and velocity coupling between the panel<->film<->air<->panel. The case runs serial and parallel with arbitrary decomposition. Currently extrudeToRegionMesh does not directly support three region coupling so foamDictionary is used to edit the of the boundary files of box and film regions to add box<->film coupling.
41 lines
979 B
C++
41 lines
979 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class volScalarField;
|
|
object T;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [ 0 0 0 1 0 0 0 ];
|
|
|
|
internalField uniform 330;
|
|
|
|
boundaryField
|
|
{
|
|
"(inlet|outlet|sides)"
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
|
|
wall
|
|
{
|
|
type coupledTemperature;
|
|
value $internalField;
|
|
}
|
|
|
|
insulatedWall
|
|
{
|
|
type zeroGradient;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|