openfoam/tutorials/lagrangian/LTSReactingParcelFoam/counterFlowFlame2D/system/fvSolution
2011-05-12 12:17:39 +01:00

102 lines
2.3 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;
location "system";
object fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
solvers
{
rho
{
solver PCG;
preconditioner DIC;
tolerance 0;
relTol 0.1;
}
rhoFinal
{
solver PCG;
preconditioner DIC;
tolerance 1e-4;
relTol 0;
}
p
{
solver GAMG;
tolerance 0;
relTol 0.05;
smoother DICGaussSeidel;
nPreSweeps 0;
nPostSweeps 2;
cacheAgglomeration true;
nCellsInCoarsestLevel 10;
agglomerator faceAreaPair;
mergeLevels 1;
maxIter 50;
};
pFinal
{
$p;
tolerance 1e-4;
relTol 0;
};
"(U|Yi|hs|k|epsilon)"
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 0;
relTol 0.1;
}
"(U|Yi|hs|k|epsilon)Final"
{
solver smoothSolver;
smoother GaussSeidel;
tolerance 1e-4;
relTol 0;
}
}
PIMPLE
{
nCorrectors 2;
nNonOrthogonalCorrectors 0;
momentumPredictor yes;
rhoMin rhoMin [1 -3 0 0 0] 0.1;
rhoMax rhoMax [1 -3 0 0 0] 1.5;
maxCo 0.5;
rDeltaTSmoothingCoeff 0.1;
maxDeltaT 1;
alphaTemp 0.005;
}
additional
{
pressureWork true;
pressureWorkTimeDerivative true;
solveSpecies true;
}
// ************************************************************************* //