120 lines
2.9 KiB
C++
120 lines
2.9 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;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
rho
|
|
{}
|
|
pcorr
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
preconditioner GAMG;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nBottomSweeps 2;
|
|
cacheAgglomeration false;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
maxIter 100;
|
|
}
|
|
|
|
pd
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-08;
|
|
relTol 0.01;
|
|
smoother DIC;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
pdFinal
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
preconditioner GAMG;
|
|
tolerance 2e-09;
|
|
relTol 0;
|
|
nVcycles 2;
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 2;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
tolerance 2e-09;
|
|
relTol 0;
|
|
maxIter 20;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
nSweeps 1;
|
|
}
|
|
}
|
|
|
|
PISO
|
|
{
|
|
cAlpha 1;
|
|
}
|
|
PIMPLE
|
|
{
|
|
momentumPredictor yes;
|
|
nOuterCorrectors 1;
|
|
nCorrectors 4;
|
|
nNonOrthogonalCorrectors 0;
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 3;
|
|
correctPhi no;
|
|
|
|
pdRefPoint (0 0 0.15);
|
|
pdRefValue 1e5;
|
|
pRefPoint (0 0 0.15);
|
|
pRefValue 1e5;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
U 1;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|