104 lines
2.1 KiB
C++
104 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
"(rho|G)"
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 0;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(rho|G)Final"
|
|
{
|
|
$rho;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 0;
|
|
relTol 0.1;
|
|
maxIter 50;
|
|
}
|
|
|
|
UFinal
|
|
{
|
|
$U;
|
|
relTol 0;
|
|
tolerance 1e-05;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 0;
|
|
relTol 0.01;
|
|
smoother GaussSeidel;
|
|
maxIter 50;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
}
|
|
|
|
"(h|Yi|O2|N2|H2O)"
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
hFinal
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
momentumPredictor yes;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
".*" 1;
|
|
}
|
|
equations
|
|
{
|
|
".*" 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|