24#ifndef DUMUX_PNM_ONEP_NC_IO_FIELDS_HH
25#define DUMUX_PNM_ONEP_NC_IO_FIELDS_HH
36template<
class Flu
idSystem>
40 template<
class OutputModule>
46 out.addFluxVariable([](
const auto& fluxVars,
const auto& fluxVarsCache)
47 {
return fluxVarsCache.transmissibility(0); },
"transmissibility");
49 auto volumeFlux = [](
const auto& fluxVars,
const auto& fluxVarsCache)
51 auto upwindTerm = [](
const auto& volVars) {
return volVars.mobility(0); };
53 return abs(fluxVars.advectiveFlux(0, upwindTerm));
55 out.addFluxVariable(volumeFlux,
"volumeFlux");
Definition: discretization/porenetwork/fvelementgeometry.hh:34
Adds output fields specific to the PNM 1pnc model.
Definition: porenetwork/1pnc/iofields.hh:38
static void initOutputModule(OutputModule &out)
Definition: porenetwork/1pnc/iofields.hh:41
static void initOutputModule(OutputModule &out)
Definition: porenetwork/common/iofields.hh:40
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/1pnc/iofields.hh:41
Adds I/O fields specific to the OnePNC model.