2015-05-11 10:41:43 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
2015-05-17 13:55:59 +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 |
|
2015-05-11 10:41:43 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object fvSolution;
|
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
solvers
|
|
|
|
{
|
|
|
|
pcorr
|
|
|
|
{
|
2015-05-12 08:58:04 +00:00
|
|
|
solver CG;
|
|
|
|
preconditioner Cholesky;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2015-05-13 14:50:22 +00:00
|
|
|
minIter 0;
|
2015-05-11 10:41:43 +00:00
|
|
|
maxIter 1000;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0.01;
|
|
|
|
}
|
|
|
|
|
|
|
|
pd
|
|
|
|
{
|
2015-05-12 08:58:04 +00:00
|
|
|
solver CG;
|
|
|
|
preconditioner Cholesky;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2015-05-13 14:50:22 +00:00
|
|
|
minIter 0;
|
2015-05-11 10:41:43 +00:00
|
|
|
maxIter 1000;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0.01;
|
|
|
|
}
|
|
|
|
|
|
|
|
pdFinal
|
|
|
|
{
|
2015-05-12 08:58:04 +00:00
|
|
|
solver CG;
|
|
|
|
preconditioner Cholesky;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2015-05-13 14:50:22 +00:00
|
|
|
minIter 0;
|
2015-05-11 10:41:43 +00:00
|
|
|
maxIter 1000;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0.0;
|
|
|
|
}
|
|
|
|
|
|
|
|
U
|
|
|
|
{
|
2015-05-12 08:58:04 +00:00
|
|
|
solver BiCGStab;
|
|
|
|
preconditioner ILU0;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2015-05-13 14:50:22 +00:00
|
|
|
minIter 0;
|
2015-05-11 10:41:43 +00:00
|
|
|
maxIter 100;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
alpha1
|
|
|
|
{
|
2015-05-12 08:58:04 +00:00
|
|
|
solver BiCGStab;
|
|
|
|
preconditioner ILU0;
|
2015-05-11 10:41:43 +00:00
|
|
|
|
2015-05-13 16:03:37 +00:00
|
|
|
minIter 0;
|
2015-05-11 10:41:43 +00:00
|
|
|
maxIter 100;
|
|
|
|
tolerance 1e-08;
|
|
|
|
relTol 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
PISO
|
|
|
|
{
|
|
|
|
cAlpha 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
PIMPLE
|
|
|
|
{
|
|
|
|
nOuterCorrectors 2;
|
2016-08-01 13:37:52 +00:00
|
|
|
nCorrectors 4;
|
2015-05-11 10:41:43 +00:00
|
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
|
|
|
|
pdRefPoint (-0.9 1.4 0.05);
|
|
|
|
pdRefValue 0;
|
|
|
|
|
|
|
|
pRefPoint (-0.9 1.4 0.05);
|
|
|
|
pRefValue 0;
|
|
|
|
|
2016-08-01 13:37:52 +00:00
|
|
|
limitMagU 20;
|
2015-05-11 10:41:43 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
relaxationFactors
|
|
|
|
{
|
2016-08-01 13:37:52 +00:00
|
|
|
equations
|
|
|
|
{
|
|
|
|
U 0.9;
|
|
|
|
}
|
|
|
|
fields
|
|
|
|
{
|
|
|
|
pd 0.8;
|
|
|
|
}
|
2015-05-11 10:41:43 +00:00
|
|
|
}
|
|
|
|
|
2016-06-21 12:50:08 +00:00
|
|
|
|
2015-05-11 10:41:43 +00:00
|
|
|
// ************************************************************************* //
|