90 lines
2.1 KiB
C++
90 lines
2.1 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;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
// p
|
|
// {
|
|
// solver CG;
|
|
// preconditioner Cholesky;
|
|
|
|
// minIter 1;
|
|
// maxIter 1000;
|
|
// tolerance 1e-06;
|
|
// relTol 0;
|
|
// }
|
|
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-07;
|
|
relTol 0.01;
|
|
minIter 1;
|
|
smoother GaussSeidel;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-07;
|
|
relTol 0;
|
|
minIter 1;
|
|
smoother GaussSeidel;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner ILU0;
|
|
|
|
// solver CG;
|
|
// preconditioner Cholesky;
|
|
|
|
minIter 1;
|
|
maxIter 1000;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 5;
|
|
|
|
pRefPoint (0 -0.45 0.05);
|
|
pRefValue 0;
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 1;
|
|
nCorrectors 4;
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
pRefPoint (0 -0.45 0.05);
|
|
pRefValue 0;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|