109 lines
2.4 KiB
C++
109 lines
2.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 4.x |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
rho
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-5;
|
|
relTol 0.1;
|
|
}
|
|
|
|
rhoFinal
|
|
{
|
|
$rho;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-5;
|
|
relTol 0.1;
|
|
}
|
|
|
|
UFinal
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-6;
|
|
relTol 0.05;
|
|
smoother GaussSeidel;
|
|
nCellsInCoarsestLevel 20;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
smoother GaussSeidel;
|
|
nCellsInCoarsestLevel 20;
|
|
}
|
|
|
|
"(U|h|k|epsilon)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-5;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|h|k|epsilon)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 1;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
momentumPredictor yes;
|
|
rhoMin 0.5;
|
|
rhoMax 2.0;
|
|
pRefCell 0;
|
|
pRefValue 1e5;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
"U.*" 1;
|
|
"h.*" 1;
|
|
"k.*" 1;
|
|
"epsilon.*" 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|