84 lines
1.6 KiB
C++
84 lines
1.6 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;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"rho.*"
|
|
{
|
|
solver diagonal;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|h|k|epsilon|Yi)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|h|k|epsilon|Yi)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
}
|
|
|
|
G
|
|
{
|
|
solver GAMG;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-5;
|
|
relTol 0.1;
|
|
}
|
|
|
|
GFinal
|
|
{
|
|
$G;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
".*" 1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|