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