mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
75 lines
1.7 KiB
C++
75 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v1912 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
smoother DICGaussSeidel;
|
|
tolerance 1e-08;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|k|epsilon|omega|nuTilda|phit)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
|
|
f
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DIC;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 0;
|
|
consistent yes;
|
|
residualControl
|
|
{
|
|
p 1e-5;
|
|
U 1e-5;
|
|
"(k|epsilon|omega|nuTilda|phit|f)" 1e-5;
|
|
}
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
U 0.9;
|
|
"(k|epsilon|omega|nuTilda|phit|f)" 0.7;
|
|
}
|
|
}
|
|
|
|
|
|
cache
|
|
{
|
|
grad(U);
|
|
grad(k);
|
|
grad(phit);
|
|
}
|
|
|
|
// ************************************************************************* //
|