89 lines
2.1 KiB
C++
89 lines
2.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: 1.5 |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
p GAMG
|
|
{
|
|
tolerance 1e-6;
|
|
relTol 0.01;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
pFinal GAMG
|
|
{
|
|
tolerance 1e-6;
|
|
relTol 0.0;
|
|
|
|
smoother GaussSeidel;
|
|
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
U PBiCG
|
|
{
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0.1;
|
|
};
|
|
UFinal PBiCG
|
|
{
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
};
|
|
k PBiCG
|
|
{
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
};
|
|
epsilon PBiCG
|
|
{
|
|
preconditioner DILU;
|
|
tolerance 1e-05;
|
|
relTol 0;
|
|
};
|
|
}
|
|
|
|
PIMPLE
|
|
{
|
|
nOuterCorrectors 2;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
pRefCell 0;
|
|
pRefValue 0;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
//p 0.3;
|
|
U 1.0;
|
|
k 1.0;
|
|
epsilon 1.0;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|