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

type basicMultiphaseSystem;

phases (airC airD waterC);

airC
{
    #includeEtc "caseDicts/multimorph/continuousIsothermalPhase.cfg"
}

airD
{
    type                pureIsothermalPhaseModel;
    diameterModel       constant;
    d                   1e-3;

    residualAlpha       1e-6;
}

waterC
{
    #includeEtc "caseDicts/multimorph/continuousIsothermalPhase.cfg"
}

// Blending between flow morphologies
blending
{
    #includeEtc "caseDicts/multimorph/blending.cfg"
}

// Drag model
drag
{
    airC_waterC
    {
        #includeEtc "caseDicts/multimorph/resolutionAdaptiveInterfaceDrag.cfg"
    }

    airD_dispersedIn_airC
    {
        #includeEtc "caseDicts/multimorph/residualDrag.cfg"
    }

    airD_dispersedIn_waterC
    {
        #includeEtc "caseDicts/baseline/drag.cfg"
    }
}

// Heat transfer
heatTransfer
{}

// Interface compression
// Attention: Turning on interface compression also turns on the surface tension
//            force if a surface tension model is present
interfaceCompression
{
    airC_waterC
    {
        #includeEtc "caseDicts/multimorph/interfaceCompression.cfg"
    }
}

// Method to detect the interface for turbulence damping
interfaceIndicatorMethod
{
    type                gradAlpha;
    delta               cubeRootVol;
}

// Lift model
lift
{
    airD_dispersedIn_waterC
    {
        #includeEtc "caseDicts/baseline/lift.cfg"
    }
}

// Phase transfer
phaseTransfer
{
    airC_dispersedIn_airD
    {
        type            superposition;

        models          (disintegration entrainment);

        disintegration
        {
            type        disintegrationToDisperse;
        }

        entrainment
        {
            type        MaEntrainment;

            threshold   0.1;

            Cent        1;
            phiEnt      1;
        }
    }

    airD_dispersedIn_airC
    {
        type            accumulationToContinuous;
    }
}

// Surface tension coefficient
surfaceTension
{
    airC_waterC
    {
        #includeEtc
            "caseDicts/physicalProperties/surfaceTensionAirWaterSATP.cfg"
    }

    airD_waterC
    {
        #includeEtc
            "caseDicts/physicalProperties/surfaceTensionAirWaterSATP.cfg"
    }
}

// Turbulent dispersion
turbulentDispersion
{
    airD_dispersedIn_waterC
    {
        #includeEtc "caseDicts/baseline/turbulentDispersion.cfg"
    }
}

// Under resolution
underResolution
{
    airC_waterC
    {
        #includeEtc "caseDicts/multimorph/underResolution.cfg"
    }
}

// Virtual mass
virtualMass
{
    airD_dispersedIn_waterC
    {
        #includeEtc "caseDicts/baseline/virtualMass.cfg"
    }
}

// Wall lubrication
wallLubrication
{
    airD_dispersedIn_waterC
    {
        #includeEtc "caseDicts/baseline/wallLubrication.cfg"
    }
}

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