125 lines
3.2 KiB
C++
125 lines
3.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.0 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
pcorr
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
preconditioner GAMG;
|
|
tolerance 0.001;
|
|
relTol 0;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nBottomSweeps 2;
|
|
cacheAgglomeration false;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
tolerance 0.0001;
|
|
relTol 0;
|
|
maxIter 100;
|
|
}
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-08;
|
|
relTol 0.05;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
cacheAgglomeration false;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
pFinal
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
preconditioner GAMG;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
nVcycles 2;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
cacheAgglomeration false;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
maxIter 20;
|
|
}
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
nSweeps 1;
|
|
}
|
|
k
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
B
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
nuTilda
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PISO
|
|
{
|
|
cAlpha 1;
|
|
}
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nOuterCorrectors 1;
|
|
nCorrectors 4;
|
|
nNonOrthogonalCorrectors 0;
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 3;
|
|
pRefPoint ( 0.51 0.51 0.51 );
|
|
pRefValue 0;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|