/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  9
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    p
    {
         solver          GAMG;
        smoother        GaussSeidel;
        tolerance       1e-08;
        relTol          0.1;  //0.0
      //  smoother        GaussSeidel;
  	 nPreSweeps	0;
      nPostSweeps	2;
       nCellsInCoarsestLevel 1000;
      cacheAgglomeration on;
      mergeLevels  	1;
    }
   /* pFinal
    {
        $p;
        tolerance       1e-06;
        relTol          0.1;
    }*/

    U
    {
         solver          GAMG;
        smoother        GaussSeidel;           
        tolerance       1e-08;
        relTol          0.0;  //0.0
    }

    e
    {
        solver          smoothSolver;
        smoother        GaussSeidel;//symGaussSeidel;
        tolerance       1e-08;
        relTol          0.1;
    }

    "(k|epsilon|h)"
    {
        $U;
        tolerance       1e-09;
        relTol          0.1;
    }
}

SIMPLE
{
    residualControl
    {
        p               1e-4;
        U               1e-3;
         e               1e-4;
        "(k|epsilon|omega)" 1e-4;
    }

   nNonOrthogonalCorrectors 2; //1
    nCorrectors    2;  //1
    nOuterCorrectors    1;
    consistent      yes;
    transonic       yes;
}

relaxationFactors
{
    fields
    {
      p              0.35;  //0.1
     rho             0.05;  //0.01
    }
    equations
    {
       p            	0.5;  //0.1
        U               0.1;
        e               0.01;
        "(k|epsilon)"   0.05;           
    }
}

// ************************************************************************* //
