113 lines
2.6 KiB
C++
113 lines
2.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
alpha1
|
|
{
|
|
maxUnboundedness 1e-5;
|
|
CoCoeff 2;
|
|
maxIter 5;
|
|
nLimiterIter 2;
|
|
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-12;
|
|
relTol 0.1;
|
|
};
|
|
|
|
U
|
|
{
|
|
solver PBiCG;
|
|
preconditioner DILU;
|
|
tolerance 1e-06;
|
|
relTol 0;
|
|
};
|
|
|
|
p_rgh
|
|
{
|
|
solver GAMG;
|
|
tolerance 1e-8;
|
|
relTol 0.1;
|
|
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
|
|
cacheAgglomeration true;
|
|
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
|
|
maxIter 50;
|
|
};
|
|
|
|
pcorr
|
|
{
|
|
$p_rgh;
|
|
relTol 0;
|
|
};
|
|
|
|
p_rghFinal
|
|
{
|
|
solver PCG;
|
|
preconditioner
|
|
{
|
|
preconditioner GAMG;
|
|
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
|
|
nVcycles 2;
|
|
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
|
|
cacheAgglomeration false;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
tolerance 1e-7;
|
|
relTol 0;
|
|
maxIter 50;
|
|
};
|
|
}
|
|
|
|
PISO
|
|
{
|
|
momentumPredictor no;
|
|
nOuterCorrectors 1;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 1;
|
|
|
|
cAlpha 0;
|
|
nAlphaCorr 1;
|
|
nAlphaSubCycles 1;
|
|
}
|
|
|
|
|
|
relaxationFactors
|
|
{
|
|
U 1;
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|