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

#includeFunc    residuals(name=residuals, p_rgh, k.water, omega.water)

#includeFunc    graphCell
(
    name=sampleLine,
    start=(0      0 0.05),
    end=  (0.0265 0 0.05),
    axis=x,
    setFormat=csv,
    separator=" ",
    fields=( alpha.air U.water )
)

#includeFunc    graphLayerAverage
(
    patches=(inlet),
    fields=( alpha.air U.air ),
    axis=z,
    setFormat=csv,
    separator=" ",
    name=layerAverageFromInlet
)

#includeFunc    graphLayerAverage
(
    patches=(outlet),
    fields=( alpha.air U.air ),
    axis=z,
    setFormat=csv,
    separator=" ",
    name=layerAverageFromOutlet
)

#includeFunc    patchFlowRate(patch=inlet, name=flowRateInlet)

#includeFunc    patchFlowRate(patch=outlet, name=flowRateOutlet)

#includeFunc    yPlus(phase=water)

#includeFunc    addonPopulationBalanceSizeDistribution
(
    populationBalance=bubble,
    select=cellZone,
    cellZone=F2,
    functionType=volumeDensity,
    coordinateType=diameter,
    normalise=no,
    setFormat=csv,
    separator=" ",
    name=sizeDistributionF2
)

#includeFunc    stopAtFile(action=writeNow)

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