80 lines
1.8 KiB
C++
80 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
|
|
{
|
|
rho
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-08;
|
|
relTol 0.1;
|
|
}
|
|
|
|
rhoFinal
|
|
{
|
|
$rho;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 0;
|
|
relTol 0.1;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
|
|
"(U|k|omega)"
|
|
{
|
|
solver smoothSolver;
|
|
smoother symGaussSeidel;
|
|
tolerance 1e-08;
|
|
relTol 0.1;
|
|
}
|
|
|
|
"(U|k|omega)Final"
|
|
{
|
|
$U;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nCorrectors 3;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|