24#ifndef DUMUX_PNM_ONEP_IO_FIELDS_HH
25#define DUMUX_PNM_ONEP_IO_FIELDS_HH
39 template<
class OutputModule>
45 out.addFluxVariable([](
const auto& fluxVars,
const auto& fluxVarsCache)
46 {
return fluxVarsCache.transmissibility(0); },
"transmissibility");
48 auto volumeFlux = [](
const auto& fluxVars,
const auto& fluxVarsCache)
50 auto upwindTerm = [](
const auto& volVars) {
return volVars.mobility(0); };
52 return abs(fluxVars.advectiveFlux(0, upwindTerm));
54 out.addFluxVariable(volumeFlux,
"volumeFlux");
Definition: discretization/porenetwork/fvelementgeometry.hh:34
Adds output fields specific to the PNM 1p model.
Definition: porenetwork/1p/iofields.hh:37
static void initOutputModule(OutputModule &out)
Definition: porenetwork/1p/iofields.hh:40
static void initOutputModule(OutputModule &out)
Definition: porenetwork/common/iofields.hh:40
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/1p/iofields.hh:40
Adds I/O fields specific to the one phase model.