2013-10-14 08:26:40 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
2012-09-11 15:42:55 +00:00
|
|
|
| ========= | |
|
2013-12-11 16:09:41 +00:00
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / O peration | Version: 3.2 |
|
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2012-09-11 15:42:55 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
2013-10-14 08:26:40 +00:00
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
location "system";
|
|
|
|
object fvSolution;
|
2012-09-11 15:42:55 +00:00
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
solvers
|
|
|
|
{
|
|
|
|
|
2015-05-15 18:07:49 +00:00
|
|
|
p
|
|
|
|
{
|
|
|
|
solver GAMG;
|
|
|
|
tolerance 1e-06;
|
|
|
|
relTol 0;
|
|
|
|
minIter 1;
|
|
|
|
maxIter 1000;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
nPreSweeps 0;
|
|
|
|
nPostSweeps 2;
|
|
|
|
nFinestSweeps 2;
|
|
|
|
scaleCorrection true;
|
|
|
|
directSolveCoarsest false;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 20;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
mergeLevels 1;
|
|
|
|
};
|
2013-07-18 01:02:34 +00:00
|
|
|
|
2015-05-15 18:07:49 +00:00
|
|
|
cellMotionU
|
|
|
|
{
|
|
|
|
solver GAMG;
|
|
|
|
tolerance 1e-6;
|
|
|
|
relTol 1e-3;
|
|
|
|
minIter 1;
|
|
|
|
maxIter 1000;
|
2013-07-18 01:02:34 +00:00
|
|
|
|
2015-05-15 18:07:49 +00:00
|
|
|
smoother GaussSeidel;
|
|
|
|
nPreSweeps 0;
|
|
|
|
nPostSweeps 2;
|
|
|
|
nFinestSweeps 2;
|
2014-06-01 18:12:52 +00:00
|
|
|
|
2015-05-15 18:07:49 +00:00
|
|
|
scaleCorrection true;
|
|
|
|
directSolveCoarsest false;
|
2014-06-01 18:12:52 +00:00
|
|
|
|
2015-05-15 18:07:49 +00:00
|
|
|
cacheAgglomeration true;
|
2012-09-11 15:42:55 +00:00
|
|
|
|
2015-05-15 18:07:49 +00:00
|
|
|
nCellsInCoarsestLevel 20;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
mergeLevels 1;
|
|
|
|
};
|
2012-09-11 15:42:55 +00:00
|
|
|
|
2015-05-15 18:07:49 +00:00
|
|
|
U
|
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2015-05-15 18:07:49 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-06;
|
|
|
|
relTol 0;
|
|
|
|
};
|
2012-09-11 15:42:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
PISO
|
|
|
|
{
|
|
|
|
nCorrectors 2;
|
|
|
|
nNonOrthogonalCorrectors 1;
|
|
|
|
nOuterCorrectors 50;
|
|
|
|
ddtPhiCorr no;
|
|
|
|
}
|
|
|
|
|
|
|
|
// ************************************************************************* //
|