This tutorial serves as a reference of how to create a multi-region mesh with layer addition. The multiRegionHeater tutorial and it's variants have been removed as the geometry is not meaningful and the functionality is now all represented elsewhere.
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
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system/shell";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"p_rgh.*"
|
|
{
|
|
solver GAMG;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
"(U|h|k|epsilon).*"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
rho 1.0;
|
|
p_rgh 0.7;
|
|
}
|
|
equations
|
|
{
|
|
U 0.3;
|
|
h 0.7;
|
|
k 0.7;
|
|
epsilon 0.7;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|