93 lines
1.9 KiB
C++
93 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ 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|h|k|epsilon)"
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-5;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|h|k|epsilon)Final"
|
|
{
|
|
$U;
|
|
relTol 0;
|
|
tolerance 1e-05;
|
|
}
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 0;
|
|
relTol 0.1;
|
|
smoother DICGaussSeidel;
|
|
maxIter 100;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
"(Yi|O2|N2|H2O)"
|
|
{
|
|
$hFinal;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
momentumPredictor yes;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
".*Final" 1;
|
|
}
|
|
equations
|
|
{
|
|
".*Final" 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|