2010-09-23 13:04:10 +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-09-23 13:04:10 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
location "system";
|
|
|
|
object fvSolution;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
solvers
|
|
|
|
{
|
|
|
|
rho
|
|
|
|
{
|
|
|
|
solver PCG;
|
|
|
|
preconditioner DIC;
|
|
|
|
tolerance 0;
|
|
|
|
relTol 0;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
p
|
|
|
|
{
|
|
|
|
solver GAMG;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0.01;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
mergeLevels 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
pFinal
|
|
|
|
{
|
|
|
|
solver GAMG;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
mergeLevels 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
ft
|
|
|
|
{
|
|
|
|
solver smoothSolver;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0;
|
|
|
|
nSweeps 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
fu
|
|
|
|
{
|
|
|
|
solver smoothSolver;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0;
|
|
|
|
nSweeps 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
U
|
|
|
|
{
|
|
|
|
solver smoothSolver;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0.1;
|
|
|
|
nSweeps 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
UFinal
|
|
|
|
{
|
|
|
|
solver smoothSolver;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0;
|
|
|
|
nSweeps 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
k
|
|
|
|
{
|
|
|
|
solver smoothSolver;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0;
|
|
|
|
nSweeps 1;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
hs
|
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2010-09-23 13:04:10 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0;
|
2017-08-11 19:22:17 +00:00
|
|
|
}
|
2010-09-23 13:04:10 +00:00
|
|
|
|
|
|
|
Ii
|
|
|
|
{
|
|
|
|
solver GAMG;
|
|
|
|
tolerance 1e-4;
|
|
|
|
relTol 0;
|
|
|
|
smoother DILU;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
|
|
agglomerator faceAreaPair;
|
|
|
|
mergeLevels 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
G
|
|
|
|
{
|
|
|
|
solver PCG;
|
|
|
|
preconditioner DIC;
|
|
|
|
tolerance 1e-06;
|
|
|
|
relTol 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2016-05-08 09:28:13 +00:00
|
|
|
PIMPLE
|
2010-09-23 13:04:10 +00:00
|
|
|
{
|
|
|
|
momentumPredictor yes;
|
|
|
|
nOuterCorrectors 1;
|
|
|
|
nCorrectors 2;
|
|
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
}
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2010-09-23 13:04:10 +00:00
|
|
|
// ************************************************************************* //
|