12#ifndef DUMUX_NAVIERSTOKES_MASS_1P_IO_FIELDS_HH
13#define DUMUX_NAVIERSTOKES_MASS_1P_IO_FIELDS_HH
28 template <
class OutputModule>
31 out.addVolumeVariable([](
const auto& v){
return v.pressure(); },
IOName::pressure());
32 out.addVolumeVariable([](
const auto& v){
return v.density(); },
IOName::density());
36 template <
class ModelTraits,
class Flu
idSystem =
void>
Adds I/O fields for the Navier-Stokes model.
Definition: freeflow/navierstokes/mass/1p/iofields.hh:25
static std::string primaryVariableName(int pvIdx=0, int state=0)
return the names of the primary variables
Definition: freeflow/navierstokes/mass/1p/iofields.hh:37
static void initOutputModule(OutputModule &out)
Initialize the Navier-Stokes specific output fields.
Definition: freeflow/navierstokes/mass/1p/iofields.hh:29
A collection of input/output field names for common physical quantities.
std::string pressure(int phaseIdx) noexcept
I/O name of pressure for multiphase systems.
Definition: name.hh:22
std::string density(int phaseIdx) noexcept
I/O name of density for multiphase systems.
Definition: name.hh:53
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.