72 lines
1.4 KiB
C++
72 lines
1.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
smoother DICGaussSeidel;
|
|
|
|
tolerance 1e-8;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|e|k|epsilon)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
minIter 1;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nCorrectors 2;
|
|
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
|
|
residualControl
|
|
{
|
|
p_rgh 1e-2;
|
|
U 1e-4;
|
|
e 1e-3;
|
|
|
|
"(k|epsilon)" 1e-3;
|
|
}
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p_rgh 0.7;
|
|
}
|
|
|
|
equations
|
|
{
|
|
U 0.2;
|
|
e 0.2;
|
|
"(k|epsilon)" 0.7;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|