101 lines
2.2 KiB
C++
101 lines
2.2 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
alpha1
|
|
{
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 3;
|
|
}
|
|
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-08;
|
|
relTol 0.05;
|
|
smoother GaussSeidel;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 20;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
$p;
|
|
tolerance 1e-08;
|
|
relTol 0;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-07;
|
|
relTol 0.1;
|
|
}
|
|
|
|
UFinal
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-07;
|
|
relTol 0;
|
|
}
|
|
|
|
"(k|epsilon|Theta|T).*"
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 1;
|
|
nCorrectors 3;
|
|
nNonOrthogonalCorrectors 0;
|
|
correctAlpha yes;
|
|
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
fields
|
|
{
|
|
p 1;
|
|
}
|
|
equations
|
|
{
|
|
"U.*" 1;
|
|
"alpha.*" 1;
|
|
"Theta.*" 1;
|
|
"k.*" 1;
|
|
"epsilon.*" 1;
|
|
"T.*" 1;
|
|
}
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|