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.
59 lines
1.3 KiB
C++
59 lines
1.3 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 dictionary;
|
|
location "system";
|
|
object fvSchemes;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
ddtSchemes
|
|
{
|
|
default Euler;
|
|
}
|
|
|
|
gradSchemes
|
|
{
|
|
default Gauss linear;
|
|
grad(p) Gauss linear;
|
|
}
|
|
|
|
divSchemes
|
|
{
|
|
default none;
|
|
div(phi,U) Gauss upwind;
|
|
div(phi,K) Gauss upwind;
|
|
div(phi,h) Gauss upwind;
|
|
div(phi,k) Gauss upwind;
|
|
div(phi,epsilon) Gauss upwind;
|
|
div(U) Gauss linear;
|
|
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
|
|
div(phi,Yi_h) Gauss upwind;
|
|
}
|
|
|
|
laplacianSchemes
|
|
{
|
|
default Gauss linear orthogonal;
|
|
}
|
|
|
|
interpolationSchemes
|
|
{
|
|
default linear;
|
|
}
|
|
|
|
snGradSchemes
|
|
{
|
|
default orthogonal;
|
|
}
|
|
|
|
|
|
|
|
// ************************************************************************* //
|