/*--------------------------------*- C++ -*----------------------------------*\
  ==  == ====== ====   ====    |
                    \\     ||  | Multiphase Cases Repository by HZDR
  ======   //   ||  || ===//   | Website: https://doi.org/10.14278/rodare.811
  ||  ||  //    ||  // || \\   | License: Creative Commons Attribution 4.0
  ==  == ====== ====   ==  ==  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "system";
    object      fvSolution;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

solvers
{
    p
    {
        solver                  GAMG;
        tolerance               1e-6;
        relTol                  0.01;
        smoother                DICGaussSeidel;
        cacheAgglomeration      true;
        nCellsInCoarsestLevel   10;
        agglomerator            faceAreaPair;
        mergeLevels             1;
    }
    pFinal
    {
        $p;
        relTol                  0;
    }

    "(U|R|epsilon)"
    {
        solver                  smoothSolver;
        smoother                symGaussSeidel;
        tolerance               1e-5;
        relTol                  0.1;
    }
    "(U|R|epsilon)Final"
    {
        $U;
        relTol                  0;
    }

    alphaRelax
    {
        solver                  PCG;
        preconditioner          DIC;
        tolerance               1e-5;
        relTol                  0;
    }
    alphaRelaxFinal
    {
        $alphaRelax;
    }
}

PIMPLE
{
    nOuterCorrectors            1;
    nCorrectors                 2;
    nNonOrthogonalCorrectors    0;

    pRefCell                    0;
    pRefValue                   0;
}

relaxationFactors
{
    fields
    {
        p                       0.2;
    }

    equations
    {
        ".*"                    1;
        "U.*"                   0.5;
        "epsilon.*"             0.25;
        "R.*"                   0.25;
    }
}

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