/*--------------------------------*- 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;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

// Gas injection
injector1
{
    type            massSource;

    phase           airD;

    #include "${FOAM_CASE}/constant/caseSettings"

    cellZone
    {
        type            containsPoints;
        points          $injector1/points;
    }

    massFlowRate    $injector1/massFlowRate;
}

injector2
{
    type            massSource;

    phase           airD;

    #include "${FOAM_CASE}/constant/caseSettings"

    cellZone
    {
        type            containsPoints;
        points          $injector2/points;
    }

    massFlowRate    $injector2/massFlowRate;
}

// Turbulence damping
#includeModel addonInterfaceTurbulenceDamping(phase=airC)

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

#includeModel addonPhaseTurbulenceStabilisation(phase=water)
#includeModel addonPhaseTurbulenceStabilisation(phase=airC)

accumulationToContinuous
{
    type            morphologyTransfer;
    libs            ("libaddonMultiphaseEulerFvModels.so");

    // Note: Order is important. The transfer is from the first to the
    // second phase.
    phases          (airD airC);

    energySemiImplicit no;

    model           accumulationToContinuous;
}

disintegrationToDisperse
{
    type            morphologyTransfer;
    libs            ("libaddonMultiphaseEulerFvModels.so");

    // Note: Order is important. The transfer is from the first to the
    // second phase.
    phases          (airC airD);

    energySemiImplicit no;

    model           disintegrationToDisperse;
}

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