87 lines
1.9 KiB
C++
87 lines
1.9 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.0 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver CG;
|
|
preconditioner Cholesky;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-07;
|
|
relTol 0.01;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-07;
|
|
relTol 0;
|
|
}
|
|
|
|
epsilon
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-07;
|
|
relTol 0;
|
|
}
|
|
|
|
k
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-07;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 1;
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
|
|
residualControl
|
|
{
|
|
p 1e-5;
|
|
U 1e-5;
|
|
"(k|epsilon)" 1e-5;
|
|
}
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
p 0.3;
|
|
U 0.7;
|
|
k 0.7;
|
|
epsilon 0.7;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|