/*--------------------------------*- C++ -*----------------------------------*\
  ==  == ====== ====   ====    |
                    \\     ||  | Multiphase Code Repository by HZDR
  ======   //   ||  || ===//   | Website: https://doi.org/10.14278/rodare.767
  ||  ||  //    ||  // || \\   | License: GPL-3.0-or-later
  ==  == ====== ====   ==  ==  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "system";
    object      functions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

#includeFunc cellMaxMag
(
    name=fieldMax,
    executeAtStart=no,
    p,
    U.gas,
    U.liquid,
    log=yes
)

#includeFunc cellMinMag
(
    name=fieldMin,
    executeAtStart=no,
    p,
    U.gas,
    U.liquid,
    log=yes
)

#includeFunc yPlus(name=yPlus, phase=gas, executeAtStart=no, log=yes)

#includeFunc patchFlowRate
(
    name=inflow,
    patch=inlet,
    alphaRhoPhi.gas,
    alphaRhoPhi.liquid,
    log=yes
)

#includeFunc patchFlowRate
(
    name=outflow,
    patch=outlet,
    alphaRhoPhi.gas,
    alphaRhoPhi.liquid,
    log=yes
)

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