90 lines
2.2 KiB
C++
90 lines
2.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
cacheAgglomeration false;
|
|
agglomerator faceAreaPair;
|
|
nCellsInCoarsestLevel 10;
|
|
mergeLevels 2;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
cacheAgglomeration false;
|
|
agglomerator faceAreaPair;
|
|
nCellsInCoarsestLevel 10;
|
|
mergeLevels 2;
|
|
}
|
|
|
|
"(U|UFinal|k|omega)"
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner ILU0;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
|
|
cellDisplacement
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
smoother GaussSeidel;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 2;
|
|
nCorrectors 1;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
p 0.3;
|
|
U 0.7;
|
|
UFinal 1.0;
|
|
k 0.7;
|
|
omega 0.7;
|
|
}
|
|
|
|
cache
|
|
{
|
|
grad(U);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|