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.
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
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 volVectorField;
|
|
object U;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
dimensions [0 1 -1 0 0 0 0];
|
|
|
|
internalField uniform (0 0 0);
|
|
|
|
boundaryField
|
|
{
|
|
inlet
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value $internalField;
|
|
}
|
|
|
|
outlet
|
|
{
|
|
type pressureInletOutletVelocity;
|
|
value $internalField;
|
|
}
|
|
|
|
sides
|
|
{
|
|
type noSlip;
|
|
}
|
|
|
|
film
|
|
{
|
|
type mappedValue;
|
|
value $internalField;
|
|
}
|
|
|
|
window
|
|
{
|
|
type noSlip;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|