25#ifndef DUMUX_FREEFLOW_NAVIERSTOKES_MASS_1P_ADVECTIVE_FLUX_HH
26#define DUMUX_FREEFLOW_NAVIERSTOKES_MASS_1P_ADVECTIVE_FLUX_HH
32struct NavierStokesMassOnePModelTraits;
34template<
class IsothermalTraits>
35struct NavierStokesEnergyModelTraits;
37template<
class ModelTraits,
class T = ModelTraits>
49 template<
class NumEqVector,
class UpwindFunction>
51 const UpwindFunction& upwind)
53 using ModelTraits = T;
56 const auto eqIdx = ModelTraits::Indices::conti0EqIdx;
57 flux[eqIdx] += upwind([](
const auto& volVars) {
return volVars.density(); });
64:
public AdvectiveFlux<NavierStokesMassOnePModelTraits>
typename NumEqVectorTraits< PrimaryVariables >::type NumEqVector
A vector with the same size as numbers of equations This is the default implementation and has to be ...
Definition: numeqvector.hh:46
Specifies a number properties of non-isothermal free-flow flow models based on the specifics of a giv...
Definition: freeflow/navierstokes/energy/model.hh:59
static void addAdvectiveFlux(NumEqVector &flux, const UpwindFunction &upwind)
Definition: advectiveflux.hh:50
Traits for the single-phase flow Navier-Stokes mass model.
Definition: freeflow/navierstokes/mass/1p/model.hh:74