2010-05-12 13:27:55 +00:00
|
|
|
/*--------------------------------*- C++ -*----------------------------------*\
|
|
|
|
| ========= | |
|
2010-11-24 20:48:09 +00:00
|
|
|
| \\ / F ield | OpenFOAM Extend Project: Open Source CFD |
|
2010-10-12 11:42:12 +00:00
|
|
|
| \\ / O peration | Version: 1.6-ext |
|
|
|
|
| \\ / A nd | Web: www.extend-project.de |
|
2010-05-12 13:27:55 +00:00
|
|
|
| \\/ M anipulation | |
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
FoamFile
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
version 2.0;
|
|
|
|
format ascii;
|
|
|
|
class dictionary;
|
|
|
|
object fvSolution;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
|
|
|
|
solvers
|
|
|
|
{
|
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
p
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
solver PCG;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
// preconditioner Cholesky;
|
|
|
|
preconditioner AMG;
|
2010-05-12 13:27:55 +00:00
|
|
|
cycle W-cycle;
|
|
|
|
policy AAMG;
|
|
|
|
nPreSweeps 0;
|
|
|
|
nPostSweeps 2;
|
|
|
|
groupSize 4;
|
|
|
|
minCoarseEqns 20;
|
|
|
|
nMaxLevels 100;
|
|
|
|
scale off;
|
|
|
|
smoother ILU;
|
|
|
|
}
|
|
|
|
|
|
|
|
tolerance 1e-07;
|
2010-10-12 11:42:12 +00:00
|
|
|
relTol 0;
|
2010-05-12 13:27:55 +00:00
|
|
|
minIter 0;
|
|
|
|
maxIter 800;
|
2010-10-12 11:42:12 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
U
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
|
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
preconditioner Cholesky;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
tolerance 1e-6;
|
|
|
|
relTol 0;
|
2010-05-12 13:27:55 +00:00
|
|
|
minIter 0;
|
|
|
|
maxIter 1000;
|
2010-10-12 11:42:12 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-11-24 20:48:09 +00:00
|
|
|
taufirst
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
preconditioner Cholesky;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
tolerance 1e-6;
|
|
|
|
relTol 0;
|
2010-05-12 13:27:55 +00:00
|
|
|
minIter 0;
|
|
|
|
maxIter 1000;
|
2010-10-12 11:42:12 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-11-24 20:48:09 +00:00
|
|
|
tausecond
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
preconditioner Cholesky;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
tolerance 1e-6;
|
|
|
|
relTol 0;
|
2010-05-12 13:27:55 +00:00
|
|
|
minIter 0;
|
|
|
|
maxIter 1000;
|
2010-10-12 11:42:12 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-11-24 20:48:09 +00:00
|
|
|
tauthird
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
preconditioner Cholesky;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
tolerance 1e-6;
|
|
|
|
relTol 0;
|
2010-05-12 13:27:55 +00:00
|
|
|
minIter 0;
|
|
|
|
maxIter 1000;
|
2010-10-12 11:42:12 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-11-24 20:48:09 +00:00
|
|
|
taufourth
|
2010-05-12 13:27:55 +00:00
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
solver BiCGStab;
|
2010-05-12 13:27:55 +00:00
|
|
|
preconditioner
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
preconditioner Cholesky;
|
2010-05-12 13:27:55 +00:00
|
|
|
}
|
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
tolerance 1e-6;
|
|
|
|
relTol 0;
|
2010-05-12 13:27:55 +00:00
|
|
|
minIter 0;
|
|
|
|
maxIter 1000;
|
2010-10-12 11:42:12 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
PISO
|
|
|
|
{
|
|
|
|
nCorrectors 2;
|
2010-10-12 11:42:12 +00:00
|
|
|
nNonOrthogonalCorrectors 0;
|
2010-05-12 13:27:55 +00:00
|
|
|
pRefCell 0;
|
|
|
|
pRefValue 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
relaxationFactors
|
|
|
|
{
|
2010-10-12 11:42:12 +00:00
|
|
|
p 0.3;
|
|
|
|
|
|
|
|
U 0.5;
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
taufirst 0.3;
|
|
|
|
tausecond 0.3;
|
|
|
|
tauthird 0.3;
|
|
|
|
taufourth 0.3;
|
2010-05-12 13:27:55 +00:00
|
|
|
|
2010-10-12 11:42:12 +00:00
|
|
|
}
|
2010-05-12 13:27:55 +00:00
|
|
|
|
|
|
|
// ************************************************************************* //
|