88 lines
1.8 KiB
C++
88 lines
1.8 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
|
|
{
|
|
p_rgh
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-07;
|
|
relTol 0.01;
|
|
}
|
|
|
|
p_rghFinal
|
|
{
|
|
$p_rgh;
|
|
tolerance 1e-07;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|Alpha|k|epsilon)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-8;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|Alpha|k|epsilon)Final"
|
|
{
|
|
$k;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
|
|
rho
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-8;
|
|
relTol 0.1;
|
|
}
|
|
|
|
rhoFinal
|
|
{
|
|
$rho;
|
|
tolerance 1e-8;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nCorrectors 3;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
}
|
|
equations
|
|
{
|
|
"Alpha.*" 1;
|
|
"U.*" 1;
|
|
"k.*" 1;
|
|
"epsilon.*" 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|