2010-05-12 13:27:55 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
2013-12-11 16:09:41 +00:00
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2018-05-29 07:35:20 +00:00
|
|
|
| \\ / O peration | Version: 4.1 |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2010-05-12 13:27:55 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object fvSolution;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
solvers
|
|
|
|
{
|
2010-10-18 13:14:38 +00:00
|
|
|
pcorr
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-18 13:14:38 +00:00
|
|
|
solver PCG;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner
|
|
|
|
{
|
|
|
|
type GAMG;
|
|
|
|
tolerance 1e-5;
|
|
|
|
relTol 0;
|
|
|
|
|
|
|
|
smoother DICGaussSeidel;
|
|
|
|
nPreSweeps 0;
|
|
|
|
nPostSweeps 2;
|
|
|
|
nBottomSweeps 2;
|
|
|
|
|
|
|
|
cacheAgglomeration false;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
mergeLevels 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
tolerance 1e-5;
|
|
|
|
relTol 0;
|
|
|
|
maxIter 100;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-18 13:14:38 +00:00
|
|
|
rho
|
|
|
|
{
|
2010-11-24 20:48:09 +00:00
|
|
|
solver diagonal;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-18 13:14:38 +00:00
|
|
|
p
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-18 13:14:38 +00:00
|
|
|
solver GAMG;
|
2010-05-12 13:27:55 +00:00
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0.01;
|
|
|
|
|
|
|
|
smoother DIC; //GaussSeidel;
|
|
|
|
nPreSweeps 0;
|
|
|
|
nPostSweeps 2;
|
|
|
|
nFinestSweeps 2;
|
|
|
|
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
mergeLevels 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-18 13:14:38 +00:00
|
|
|
pFinal
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-18 13:14:38 +00:00
|
|
|
solver PCG;
|
2010-05-12 13:27:55 +00:00
|
|
|
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;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0;
|
|
|
|
maxIter 20;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-18 13:14:38 +00:00
|
|
|
U
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-18 13:14:38 +00:00
|
|
|
solver smoothSolver;
|
2010-05-12 13:27:55 +00:00
|
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-6;
|
|
|
|
relTol 0;
|
|
|
|
nSweeps 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-18 13:14:38 +00:00
|
|
|
k
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-10-18 13:14:38 +00:00
|
|
|
B
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-10-18 13:14:38 +00:00
|
|
|
nuTilda
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
PISO
|
2016-05-28 02:11:10 +00:00
|
|
|
{
|
|
|
|
cAlpha 4;
|
|
|
|
}
|
|
|
|
|
|
|
|
PIMPLE
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
|
|
|
momentumPredictor no;
|
|
|
|
transSonic no;
|
|
|
|
nOuterCorrectors 3;
|
|
|
|
nCorrectors 1;
|
|
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
nAlphaCorr 1;
|
|
|
|
nAlphaSubCycles 1;
|
|
|
|
}
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2010-05-12 13:27:55 +00:00
|
|
|
// ************************************************************************* //
|