102 lines
2.2 KiB
C++
102 lines
2.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.2 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-06;
|
|
relTol 0.01;
|
|
}
|
|
U
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
k
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
epsilon
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
R
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
nuTilda
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 0;
|
|
|
|
residualControl
|
|
{
|
|
p 1e-4;
|
|
U 1e-4;
|
|
"(k|epsilon)" 1e-4;
|
|
}
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 0.3;
|
|
}
|
|
|
|
equations
|
|
{
|
|
U 0.7;
|
|
k 0.7;
|
|
epsilon 0.7;
|
|
R 0.7;
|
|
nuTilda 0.7;
|
|
}
|
|
}
|
|
|
|
cache
|
|
{
|
|
grad(U);
|
|
grad(p);
|
|
grad(k);
|
|
grad(omega);
|
|
grad(epsilon);
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|