24#ifndef DUMUX_KOMEGA_IO_FIELDS_HH
25#define DUMUX_KOMEGA_IO_FIELDS_HH
38 template <
class OutputModule>
43 out.addVolumeVariable([](
const auto& v){
return v.turbulentKineticEnergy(); },
"k");
44 out.addVolumeVariable([](
const auto& v){
return v.dissipation(); },
"omega");
48 template <
class ModelTraits,
class Flu
idSystem>
51 if (pvIdx < ModelTraits::dim() + ModelTraits::numFluidComponents())
52 return RANSIOFields::template primaryVariableName<ModelTraits, FluidSystem>(pvIdx, state);
53 else if (pvIdx == ModelTraits::dim() + ModelTraits::numFluidComponents())
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
static void initOutputModule(OutputModule &out)
Initialize the RANS specific output fields.
Definition: dumux/freeflow/rans/iofields.hh:39
Adds I/O fields for the Reynolds-Averaged Navier-Stokes model.
Definition: dumux/freeflow/rans/twoeq/komega/iofields.hh:36
static void initOutputModule(OutputModule &out)
Initialize the KOmegaModel specific output fields.
Definition: dumux/freeflow/rans/twoeq/komega/iofields.hh:39
static std::string primaryVariableName(int pvIdx=0, int state=0)
return the names of the primary variables
Definition: dumux/freeflow/rans/twoeq/komega/iofields.hh:49