/*--------------------------------*- 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    fieldAverage
(
    U.air,
    U.water,
    k.water,
    omega.water,
    alpha.air,
    startTime=50,
    prime2Mean=yes,
    name=fieldAverage
)

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

#includeFunc    graphCell
(
    name=sampleLine,
    start=(0    0.075 0.25),
    end=  (0.15 0.075 0.25),
    axis=x,
    setFormat=csv,
    separator=" ",
    fields=
    (
        UMean.air
        UMean.water
        kMean.water
        omegaMean.water
        alphaMean.air
    )
)

#includeFunc    cutPlaneSurface
(
    name=cutPlaneSurface,
    point=(0 0.075 0),
    normal=(0 1 0),
    surfaceFormat=raw,
    fields=
    (
        U.water
        UMean.water
    )
)

#includeFunc    faceZoneFlowRate
(
    name=superficialVelocity.air,
    faceZone=referencePlane,
    fields=
    (
        alphaPhi.air
    )
)

#includeFunc    probes
(
    name=probes,
    points=
    (
        (0.035 0.075 0.25)
        (0.115 0.075 0.25)
    ),
    fields=
    (
        U.water
        alpha.air
        UMean.water
        alphaMean.air
    )
)

#includeFunc    time

#includeFunc    stopAtFile(action=writeNow)

#includeFunc    writeAtFile

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