2014-05-28 23:40:07 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
2014-06-01 11:15:18 +00:00
|
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
2016-06-20 15:00:40 +00:00
|
|
|
| \\ / O peration | Version: 4.0 |
|
2015-05-17 13:55:59 +00:00
|
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
2014-05-28 23:40:07 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object fvSolution;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
solvers
|
|
|
|
{
|
|
|
|
Up
|
|
|
|
{
|
2015-10-28 16:34:23 +00:00
|
|
|
solver AMG;
|
2017-04-26 17:36:31 +00:00
|
|
|
cycle W-cycle;
|
2018-05-16 10:52:04 +00:00
|
|
|
coarseningType SAMG;
|
2017-04-26 17:36:31 +00:00
|
|
|
norm twoNorm;
|
2017-04-26 17:41:32 +00:00
|
|
|
normComponent 3;
|
2014-05-28 23:40:07 +00:00
|
|
|
|
2017-04-26 17:36:31 +00:00
|
|
|
minGroupSize 2;
|
|
|
|
maxGroupSize 4;
|
|
|
|
|
2015-10-28 16:34:23 +00:00
|
|
|
nPreSweeps 2;
|
|
|
|
nPostSweeps 2;
|
|
|
|
groupSize 2;
|
|
|
|
minCoarseEqns 4;
|
|
|
|
nMaxLevels 100;
|
|
|
|
scale on;
|
|
|
|
smoother
|
|
|
|
{
|
2017-04-26 17:36:31 +00:00
|
|
|
smoother ILU;
|
2015-10-28 16:34:23 +00:00
|
|
|
fillInLevel 1;
|
|
|
|
}
|
2014-05-28 23:40:07 +00:00
|
|
|
|
2015-10-28 16:34:23 +00:00
|
|
|
minIter 0;
|
|
|
|
maxIter 100;
|
|
|
|
tolerance 1e-7;
|
|
|
|
relTol 0.001;
|
2014-05-28 23:40:07 +00:00
|
|
|
}
|
2017-04-26 17:36:31 +00:00
|
|
|
kEpsilon
|
|
|
|
{
|
|
|
|
solver BiCGStab;
|
|
|
|
preconditioner Cholesky;
|
|
|
|
tolerance 1e-07;
|
|
|
|
relTol 0.1;
|
|
|
|
|
|
|
|
minIter 1;
|
|
|
|
maxIter 100;
|
|
|
|
}
|
2014-05-28 23:40:07 +00:00
|
|
|
|
|
|
|
// Segregated
|
|
|
|
p
|
|
|
|
{
|
|
|
|
solver PCG;
|
|
|
|
preconditioner DIC;
|
|
|
|
tolerance 1e-06;
|
|
|
|
relTol 0.01;
|
|
|
|
}
|
|
|
|
U
|
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2014-05-28 23:40:07 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-07;
|
|
|
|
relTol 0.1;
|
|
|
|
}
|
|
|
|
k
|
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2014-05-28 23:40:07 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-07;
|
|
|
|
relTol 0.01;
|
|
|
|
}
|
|
|
|
epsilon
|
|
|
|
{
|
2016-06-04 19:23:34 +00:00
|
|
|
solver BiCGStab;
|
2014-05-28 23:40:07 +00:00
|
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-07;
|
|
|
|
relTol 0.01;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
blockSolver
|
2015-04-23 12:55:27 +00:00
|
|
|
{
|
|
|
|
convergence 1e-6;
|
|
|
|
}
|
2014-05-28 23:40:07 +00:00
|
|
|
|
|
|
|
relaxationFactors
|
|
|
|
{
|
2014-08-01 13:57:24 +00:00
|
|
|
U 0.95;
|
|
|
|
k 0.9;
|
|
|
|
epsilon 0.9;
|
2014-05-28 23:40:07 +00:00
|
|
|
}
|
|
|
|
|
2015-04-23 15:44:55 +00:00
|
|
|
fieldBounds
|
|
|
|
{
|
|
|
|
U 500;
|
|
|
|
p -5e4 5e4;
|
|
|
|
}
|
|
|
|
|
2014-05-28 23:40:07 +00:00
|
|
|
SIMPLE
|
|
|
|
{
|
|
|
|
nNonOrthoCorrectors 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
// SIMPLE
|
|
|
|
// relaxationFactors
|
|
|
|
// {
|
|
|
|
// p 0.3;
|
|
|
|
// U 0.7;
|
|
|
|
// k 0.7;
|
|
|
|
// epsilon 0.7;
|
|
|
|
// }
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2014-05-28 23:40:07 +00:00
|
|
|
// ************************************************************************* //
|