/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      phaseProperties;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

type thermalPhaseChangeMultiphaseSystem;

phases (water air);

phaseChange on;

air
{
    type            purePhaseModel;
    diameterModel   isothermal;
    isothermalCoeffs
    {
        d0               3e-3;
        p0               1e5;
    }
    Sc              0.7;
    residualAlpha   1e-6;
}

water
{
    type            purePhaseModel;
    diameterModel   constant;
    constantCoeffs
    {
        d               20e-6;
    }

    residualAlpha   1e-4;
}

blending

{
    default
    {
        type            none;
        continuousPhase air;
    }
}

surfaceTension
(
    (air and water)
    {
        type            constant;
        sigma           0.07;
    }
);
saturationModel
{
        type constant;

        Tsat 300;
        pSat 1e5;

};

interfaceComposition
();

interfaceCompression
();

aspectRatio
(

    (water in air)
    {
        type            constant;
        E0              1.0;
    }
);

drag
(

    (water in air)
    {
        type            SchillerNaumann;

        residualRe      1e-3;
        swarmCorrection
        {
            type        none;
        }
    }

);

virtualMass
(

    (water in air)
    {
        type            constantCoefficient;
        Cvm             0.5;
    }
);

heatTransfer.air
(

    (water in air)
    {
        type            RanzMarshall;
        residualAlpha   1e-4;
    }
);
heatTransfer.water
(

    (water in air)
    {
        type            RanzMarshall;
        residualAlpha   1e-4;
    }
);

phaseTransfer
();

lift
();

wallLubrication
();

turbulentDispersion
();

// Minimum allowable pressure
pMin            10000;


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