/*--------------------------------*- 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    "constant";
    object      fvModels;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#includeModel degassingPhases(degassingPhases=(air1), patches=(outlet))

disturbance
{
    type            accelerationSource;

    cellZone        disturbance;

    U               U.water;

    velocity
    {
        type        scale;
        scale       reverseRamp;
        ramp        linearRamp;
        duration    1;
        value       (1 0 0);
    }
}

injectorG1.air1
{
    type            massSource;

    phase           air1;

    cellZone
    {
        type        containsPoints;
        points
        (
            (0.0171875 0.0328125 0.0001)
            (0.0484375 0.0328125 0.0001)
            (0.0640625 0.0171875 0.0001)
            (0.0953125 0.0171875 0.0001)
        );
    }

    massFlowRate    ${${FOAM_CASE}/caseParameterDict!mdot1};
}

injectorG2.air1
{
    type            massSource;

    phase           air1;

    cellZone
    {
        type        containsPoints;
        points
        (
            (0.0329375 0.0171875 0.0001)
            (0.0765625 0.0329375 0.0001)
        );
    }

    massFlowRate    ${${FOAM_CASE}/caseParameterDict!mdot2};
}

#includeModel baselineInducedTurbulence
(
    phase=water,
    dispersedPhases=(air1)
)

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