/*--------------------------------*- 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    stopAtTimeStep(minDeltaT=1e-8)
#includeFunc    residuals
(
    funcName=residuals,
    fields=(p_rgh k.water omega.water),
    writeControl=timeStep,
    writeInterval=100
)

#includeFunc    writeObjects(rho.aggregate)

#includeFunc    graphCell
(
    funcName=sampleLine,
    start=(-0.00001  0.0 1.4),
    end=(0.0125 0.0 1.4),
    axis=x,
    setFormat=csv,
    separator=" ",
    interpolationScheme =cell,
    fields=(alpha.aggregate alpha.particle surfaceLoading.aggregate)
)

#includeFunc graphLayerAverage
(
    patches=(inlet),
    fields=(surfaceLoading.aggregate rho.aggregate alpha.aggregate U.aggregate U.water),
    axis=z,
    setFormat=csv,
    separator=" ",
    name=layerAverage
)

#includeFunc    stopAtFile(file="stop", action=writeNow)

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