107 lines
2.3 KiB
C++
107 lines
2.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: v2011 |
|
|
| \\ / A nd | Website: www.openfoam.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
solver GAMG;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 200;
|
|
tolerance 1e-12;
|
|
relTol 0.001;
|
|
smoother GaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
nVcycles 1;
|
|
minIter 1;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
k
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
omega
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-7;
|
|
relTol 0.01;
|
|
}
|
|
|
|
e
|
|
{
|
|
solver PBiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-4;
|
|
relTol 0.1;
|
|
}
|
|
|
|
Phi
|
|
{
|
|
$p;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
residualControl
|
|
{
|
|
p 1e-3;
|
|
U 1e-3;
|
|
k 1e-3;
|
|
omega 1e-3;
|
|
e 1e-3;
|
|
}
|
|
|
|
nNonOrthogonalCorrectors 0;
|
|
pMinFactor 0.1;
|
|
pMaxFactor 2;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 0.7;
|
|
rho 0.01;
|
|
}
|
|
equations
|
|
{
|
|
U 0.3;
|
|
e 0.1;
|
|
"(k|omega)" 0.7;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|