120 lines
2.7 KiB
C++
120 lines
2.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 3.1 |
|
|
| \\ / A nd | Web: http://www.extend-project.de |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
rho
|
|
{
|
|
solver PCG;
|
|
preconditioner DIC;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-5;
|
|
relTol 0.1;
|
|
}
|
|
|
|
UFinal
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
|
|
p
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-6;
|
|
relTol 0.05;
|
|
smoother GaussSeidel;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 20;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
pFinal
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
smoother GaussSeidel;
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 20;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
h
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-5;
|
|
relTol 0.1;
|
|
}
|
|
|
|
hFinal
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
|
|
k
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
|
|
epsilon
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
}
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 1;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
momentumPredictor yes;
|
|
pMin pMin [ 1 -1 -2 0 0 0 0 ] 1000;
|
|
pRefCell 0;
|
|
pRefValue 1e5;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
U 1;
|
|
h 1;
|
|
k 1;
|
|
epsilon 1;
|
|
}
|
|
|
|
// ************************************************************************* //
|