98 lines
2.4 KiB
C++
98 lines
2.4 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | For copyright notice see file Copyright |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver amgSolver;
|
|
cycle V-cycle;
|
|
policy cluster;
|
|
nPreSweeps 1;
|
|
nPostSweeps 3;
|
|
groupSize 4;
|
|
minCoarseEqns 5;
|
|
nMaxLevels 100;
|
|
scale on;
|
|
smoother ILUC0;
|
|
|
|
minIter 0;
|
|
maxIter 100;
|
|
tolerance 1e-7;
|
|
relTol 0.0;
|
|
}
|
|
// p
|
|
// {
|
|
// solver BiCGStab;
|
|
// preconditioner Cholesky;
|
|
|
|
// minIter 1;
|
|
// maxIter 1000;
|
|
// tolerance 1e-7;
|
|
// relTol 0.0; // Tighter tolerance for conservative overset
|
|
// }
|
|
U
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
tolerance 1e-08;
|
|
relTol 0.01;
|
|
minIter 1;
|
|
maxIter 10;
|
|
}
|
|
k
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-08;
|
|
relTol 0.1;
|
|
minIter 1;
|
|
maxIter 10;
|
|
}
|
|
omega
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
|
|
tolerance 1e-08;
|
|
relTol 0.1;
|
|
minIter 1;
|
|
maxIter 10;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
equations
|
|
{
|
|
U 0.7;
|
|
k 0.5;
|
|
epsilon 0.5;
|
|
}
|
|
fields
|
|
{
|
|
p 0.3;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|