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

phases          ( air1 air2 water );

air1
{
    type            pureIsothermalPhaseModel;
    diameterModel
    {
        type            populationBalance;
        populationBalance bubbles;
        nGroups         ${${FOAM_CASE}/constant/sizeGroups.air1!nGroups};
    }
    residualAlpha   1e-06;
}

air2
{
    type            pureIsothermalPhaseModel;
    diameterModel
    {
        type            populationBalance;
        populationBalance bubbles;
        nGroups         ${${FOAM_CASE}/constant/sizeGroups.air2!nGroups};
    }
    residualAlpha   1e-06;
}

water
{
    type            pureIsothermalPhaseModel;
    diameterModel   none;
    residualAlpha   1e-06;
}

bubbles
{
    continuousPhase water;
    sphericalDiameters
    {
        type    uniform;
        min     ${${FOAM_CASE}/constant/sizeGroups.air1!min};
        max     ${${FOAM_CASE}/constant/sizeGroups.air2!max};
    }
    shapeModel      spherical;
    coalescenceModel    none;
    breakupModel        none;
}

blending
{
    default
    {
        type            continuous;
        phase           water;
    }
}

surfaceTension
{
    air1_water
    {
        #includeEtc     "caseDicts/physicalProperties/surfaceTensionAirWaterSATP.cfg"
    }
    air2_water
    {
        #includeEtc     "caseDicts/physicalProperties/surfaceTensionAirWaterSATP.cfg"
    }
}


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