78 lines
1.9 KiB
C++
78 lines
1.9 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 GAMG;
|
|
tolerance 1e-8;
|
|
relTol 0.05;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 20;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
}
|
|
|
|
U
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
|
|
k
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
|
|
epsilon
|
|
{
|
|
solver smoothSolver;
|
|
smoother GaussSeidel;
|
|
nSweeps 2;
|
|
tolerance 1e-7;
|
|
relTol 0.1;
|
|
}
|
|
}
|
|
|
|
SIMPLE
|
|
{
|
|
nNonOrthogonalCorrectors 0;
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
p 0.3;
|
|
U 0.5;
|
|
k 0.5;
|
|
epsilon 0.5;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|