13#ifndef DUMUX_NONEQUILBRIUM_OUTPUT_FIELDS_HH
14#define DUMUX_NONEQUILBRIUM_OUTPUT_FIELDS_HH
20template<
class ModelTraits,
class EquilibriumIOFields,
bool enableThermalNonEquilibrium>
23template<
class ModelTraits,
class EquilibriumIOFields>
29template<
class ModelTraits,
class EquilibriumIOFields>
33 template <
class OutputModule>
36 using FluidSystem =
typename OutputModule::VolumeVariables::FluidSystem;
38 EquilibriumIOFields::initOutputModule(out);
39 for (
int i = 0; i < ModelTraits::numEnergyEqFluid(); ++i)
41 out.addVolumeVariable([i](
const auto& v){
return v.temperatureFluid(i); },
42 IOName::fluidTemperature<FluidSystem>(i));
45 out.addVolumeVariable([](
const auto& v){
return v.temperatureSolid(); },
48 for (
int i = 0; i < ModelTraits::numFluidPhases(); ++i)
50 out.addVolumeVariable( [i](
const auto& v){
return v.reynoldsNumber(i); },
"reynoldsNumber_" + FluidSystem::phaseName(i) );
51 out.addVolumeVariable( [i](
const auto& v){
return v.nusseltNumber(i); },
"nusseltNumber_" + FluidSystem::phaseName(i) );
52 out.addVolumeVariable( [i](
const auto& v){
return v.prandtlNumber(i); },
"prandtlNumber_" + FluidSystem::phaseName(i) );
57template<
class ModelTraits,
class EquilibriumIOFields>
61 template <
class OutputModule>
64 using FluidSystem =
typename OutputModule::VolumeVariables::FluidSystem;
66 EquilibriumIOFields::initOutputModule(out);
68 for (
int i = 0; i < ModelTraits::numFluidPhases(); ++i)
70 out.addVolumeVariable( [i](
const auto& v){
return v.reynoldsNumber(i); },
"reynoldsNumber_" + FluidSystem::phaseName(i) );
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/nonequilibrium/iofields.hh:62
static void initOutputModule(OutputModule &out)
Definition: porousmediumflow/nonequilibrium/iofields.hh:34
Definition: porousmediumflow/nonequilibrium/iofields.hh:21
A collection of input/output field names for common physical quantities.
std::string solidTemperature() noexcept
I/O name of solid temperature for non-equilibrium models.
Definition: name.hh:48