97 lines
2.3 KiB
C++
97 lines
2.3 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 BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-8;
|
|
relTol 0.001;
|
|
}
|
|
U
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-8;
|
|
relTol 0.01;
|
|
}
|
|
i
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-8;
|
|
relTol 0.01;
|
|
}
|
|
k
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-8;
|
|
relTol 0.0;
|
|
}
|
|
epsilon
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
|
|
minIter 0;
|
|
maxIter 1000;
|
|
tolerance 1e-8;
|
|
relTol 0.0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 1;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
// Note: under-relaxation factors used in wave-transmissive schemes
|
|
U 0.5;
|
|
p 0.3;
|
|
i 0.5;
|
|
|
|
k 0.5;
|
|
epsilon 0.5;
|
|
}
|
|
|
|
fieldBounds
|
|
{
|
|
// With bounding
|
|
p 2e4 1e6;
|
|
T 200 500;
|
|
U 500;
|
|
}
|
|
|
|
// ************************************************************************* //
|