12#ifndef DUMUX_KEPSILON_IO_FIELDS_HH
13#define DUMUX_KEPSILON_IO_FIELDS_HH
26 template <
class OutputModule>
31 out.addVolumeVariable([](
const auto& v){
return v.turbulentKineticEnergy(); },
"k");
32 out.addVolumeVariable([](
const auto& v){
return v.dissipation(); },
"epsilon");
33 out.addVolumeVariable([](
const auto& v){
return v.yPlusNominal(); },
"y^+_nom");
34 out.addVolumeVariable([](
const auto& v){
return v.uPlusNominal(); },
"u^+_nom");
35 out.addVolumeVariable([](
const auto& v){
return v.inNearWallRegion(); },
"inNearWallRegion");
36 out.addVolumeVariable([](
const auto& v){
return v.isMatchingPoint(); },
"isMatchingPoint");
40 template <
class ModelTraits,
class Flu
idSystem>
43 if (pvIdx < ModelTraits::dim() + ModelTraits::numFluidComponents())
44 return RANSIOFields::template primaryVariableName<ModelTraits, FluidSystem>(pvIdx, state);
45 else if (pvIdx == ModelTraits::dim() + ModelTraits::numFluidComponents())
Adds I/O fields for the k-epsilon turbulence model.
Definition: freeflow/rans/twoeq/kepsilon/iofields.hh:24
static std::string primaryVariableName(int pvIdx=0, int state=0)
return the names of the primary variables
Definition: freeflow/rans/twoeq/kepsilon/iofields.hh:41
static void initOutputModule(OutputModule &out)
Initialize the KEpsilon specific output fields.
Definition: freeflow/rans/twoeq/kepsilon/iofields.hh:27
static void initOutputModule(OutputModule &out)
Initialize the RANS specific output fields.
Definition: freeflow/rans/iofields.hh:27