/*--------------------------------*- 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;
    location    "system";
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{

    "(s1|s2|s3|s4|s5)"
{
    solver          PBiCGStab;
    preconditioner  DILU;
    tolerance       1e-08;
    relTol          0;
    minIter	     1;
}
    
    
    
    p
    {
        solver          GAMG;
        tolerance       1e-06;
        relTol          0.01;
        smoother        GaussSeidel;
        maxIter 1000;
    }

    pFinal
    {
        $p;
        tolerance       1e-06;
        relTol          0;
        maxIter 1000;
    }

    "(U|k|omega|R|nuTilda)"
    {
        solver          smoothSolver;
        smoother        GaussSeidel;
        tolerance       1e-6;
        relTol          0;
        maxIter 3000;
    }
    
    "(epsilon)"
    {
        solver          smoothSolver;
        smoother        GaussSeidel;
        tolerance       1e-06;
        relTol          0;
        maxIter 5000;
    }
    
    
    
}

PISO
{
    nCorrectors     4;
    nNonOrthogonalCorrectors 0;
    //check if nNonOrthogonalCorrectors may remain 0;
    pRefCell        0;
    pRefValue       0;
}

relaxationFactors
{
    equations
    {
       U               0.9; // 0.98 is more stable but 0.95 more //convergent
        ".*"           0.9; // 0.98 is more stable but 0.95 more //convergent
  // }
//}


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