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() noexcept
I/O name of pressure for singlephase systems.
Definition name.hh:26
std::string density() noexcept
I/O name of density for singlephase systems.
Definition name.hh:57
The infrastructure to retrieve run-time parameters from Dune::ParameterTrees.