88 lines
2.1 KiB
C++
88 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | foam-extend: Open Source CFD |
|
|
| \\ / O peration | Version: 4.1 |
|
|
| \\ / A nd | Web: http://www.foam-extend.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format binary;
|
|
class dictionary;
|
|
location "system";
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p
|
|
{
|
|
// solver GAMG;
|
|
solver PCG;
|
|
tolerance 1e-08;
|
|
relTol 0.05;
|
|
smoother GaussSeidel;
|
|
cacheAgglomeration off;
|
|
nCellsInCoarsestLevel 20;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
preconditioner DIC;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-06;
|
|
relTol 0.1;
|
|
}
|
|
|
|
h
|
|
{
|
|
solver BiCGStab;
|
|
preconditioner DILU;
|
|
tolerance 1e-06;
|
|
relTol 0.1;
|
|
}
|
|
|
|
k
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-07;
|
|
relTol 0.1;
|
|
}
|
|
|
|
epsilon
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-07;
|
|
relTol 0.1;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nUCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
pMin pMin [ 1 -1 -2 0 0 0 0 ] 100;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
p 0.3;
|
|
rho 0.05;
|
|
U 0.7;
|
|
k 0.9;
|
|
epsilon 0.9;
|
|
h 0.9;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|