141 lines
3.2 KiB
C++
141 lines
3.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
pcorr
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
type GAMG;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nBottomSweeps 2;
|
|
|
|
cacheAgglomeration false;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
maxIter 100;
|
|
};
|
|
|
|
rho
|
|
{
|
|
solver diagonal;
|
|
};
|
|
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
|
|
smoother DIC; //GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
pFinal
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
type GAMG;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
|
|
nVcycles 2;
|
|
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 2;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
maxIter 20;
|
|
};
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
nSweeps 1;
|
|
};
|
|
|
|
k
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
};
|
|
B
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
};
|
|
nuTilda
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
};
|
|
}
|
|
|
|
PISO
|
|
{
|
|
cAlpha 4;
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
momentumPredictor no;
|
|
transSonic no;
|
|
nOuterCorrectors 3;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 1;
|
|
}
|
|
|
|
// ************************************************************************* //
|