93 lines
2.0 KiB
C++
93 lines
2.0 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
|
|
{
|
|
pcorr
|
|
{
|
|
solver GAMG;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
cacheAgglomeration off;
|
|
agglomerator faceAreaPair;
|
|
nCellsInCoarsestLevel 10;
|
|
mergeLevels 1;
|
|
|
|
tolerance 0.02;
|
|
relTol 0;
|
|
}
|
|
|
|
p
|
|
{
|
|
$pcorr;
|
|
tolerance 1e-06;
|
|
relTol 0.01;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-05;
|
|
relTol 0.01;
|
|
}
|
|
|
|
UFinal
|
|
{
|
|
$U;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
cellMotionUx
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
correctPhi yes;
|
|
nOuterCorrectors 2;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
"U.*" 1;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|