25#ifndef DUMUX_NONEQUILBRIUM_OUTPUT_FIELDS_HH
26#define DUMUX_NONEQUILBRIUM_OUTPUT_FIELDS_HH
32template<
class ModelTraits,
class EquilibriumIOFields,
bool enableThermalNonEquilibrium>
35template<
class ModelTraits,
class EquilibriumIOFields>
41template<
class ModelTraits,
class EquilibriumIOFields>
45 template <
class OutputModule>
48 using FluidSystem =
typename OutputModule::VolumeVariables::FluidSystem;
50 EquilibriumIOFields::initOutputModule(out);
51 for (
int i = 0; i < ModelTraits::numEnergyEqFluid(); ++i)
53 out.addVolumeVariable([i](
const auto& v){
return v.temperatureFluid(i); },
54 IOName::fluidTemperature<FluidSystem>(i));
57 out.addVolumeVariable([](
const auto& v){
return v.temperatureSolid(); },
60 for (
int i = 0; i < ModelTraits::numFluidPhases(); ++i)
62 out.addVolumeVariable( [i](
const auto& v){
return v.reynoldsNumber(i); },
"reynoldsNumber_" + FluidSystem::phaseName(i) );
63 out.addVolumeVariable( [i](
const auto& v){
return v.nusseltNumber(i); },
"nusseltNumber_" + FluidSystem::phaseName(i) );
64 out.addVolumeVariable( [i](
const auto& v){
return v.prandtlNumber(i); },
"prandtlNumber_" + FluidSystem::phaseName(i) );
69template<
class ModelTraits,
class EquilibriumIOFields>
73 template <
class OutputModule>
76 using FluidSystem =
typename OutputModule::VolumeVariables::FluidSystem;
78 EquilibriumIOFields::initOutputModule(out);
80 for (
int i = 0; i < ModelTraits::numFluidPhases(); ++i)
82 out.addVolumeVariable( [i](
const auto& v){
return v.reynoldsNumber(i); },
"reynoldsNumber_" + FluidSystem::phaseName(i) );
A collection of input/output field names for common physical quantities.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
std::string solidTemperature() noexcept
I/O name of solid temperature for non-equilibrium models.
Definition: name.hh:60
Definition: dumux/porousmediumflow/nonequilibrium/iofields.hh:33
static void initOutputModule(OutputModule &out)
Definition: dumux/porousmediumflow/nonequilibrium/iofields.hh:46
static void initOutputModule(OutputModule &out)
Definition: dumux/porousmediumflow/nonequilibrium/iofields.hh:74