db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
114 lines
2.7 KiB
C++
114 lines
2.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: http://www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object fvSolution;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
solvers
|
|
{
|
|
pcorr PCG
|
|
{
|
|
preconditioner
|
|
{
|
|
type GAMG;
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nBottomSweeps 2;
|
|
|
|
cacheAgglomeration false;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
tolerance 1e-5;
|
|
relTol 0;
|
|
maxIter 100;
|
|
};
|
|
|
|
pd GAMG
|
|
{
|
|
tolerance 1e-8;
|
|
relTol 0.01;
|
|
|
|
smoother DIC;
|
|
nPreSweeps 0;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
pdFinal PCG
|
|
{
|
|
preconditioner
|
|
{
|
|
type GAMG;
|
|
tolerance 2e-9;
|
|
relTol 0;
|
|
|
|
nVcycles 2;
|
|
|
|
smoother DICGaussSeidel;
|
|
nPreSweeps 2;
|
|
nPostSweeps 2;
|
|
nFinestSweeps 2;
|
|
|
|
cacheAgglomeration true;
|
|
nCellsInCoarsestLevel 10;
|
|
agglomerator faceAreaPair;
|
|
mergeLevels 1;
|
|
};
|
|
|
|
tolerance 2e-9;
|
|
relTol 0;
|
|
maxIter 20;
|
|
};
|
|
|
|
U smoothSolver
|
|
{
|
|
smoother GaussSeidel;
|
|
tolerance 1e-6;
|
|
relTol 0;
|
|
nSweeps 1;
|
|
};
|
|
}
|
|
|
|
PISO
|
|
{
|
|
momentumPredictor no;
|
|
nCorrectors 2;
|
|
nNonOrthogonalCorrectors 0;
|
|
nGammaCorr 1;
|
|
nGammaSubCycles 3;
|
|
cGamma 1.5;
|
|
correctPhi no;
|
|
|
|
pdRefPoint (0 0 0.15);
|
|
pdRefValue 0;
|
|
pRefValue 1e5;
|
|
}
|
|
|
|
relaxationFactors
|
|
{
|
|
U 1.0;
|
|
}
|
|
|
|
// ************************************************************************* //
|