13#ifndef DUMUX_FREEFLOW_NAVIERSTOKES_MASS_1P_ADVECTIVE_FLUX_HH
14#define DUMUX_FREEFLOW_NAVIERSTOKES_MASS_1P_ADVECTIVE_FLUX_HH
20struct NavierStokesMassOnePModelTraits;
22template<
class IsothermalTraits>
23struct NavierStokesEnergyModelTraits;
25template<
class ModelTraits,
class T = ModelTraits>
37 template<
class NumEqVector,
class UpwindFunction>
39 const UpwindFunction& upwind)
41 using ModelTraits = T;
44 const auto eqIdx = ModelTraits::Indices::conti0EqIdx;
45 flux[eqIdx] += upwind([](
const auto& volVars) {
return volVars.density(); });
52:
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:34
static void addAdvectiveFlux(NumEqVector &flux, const UpwindFunction &upwind)
Definition: 1p/advectiveflux.hh:38
Specifies a number properties of non-isothermal free-flow flow models based on the specifics of a giv...
Definition: freeflow/navierstokes/energy/model.hh:47
Traits for the single-phase flow Navier-Stokes mass model.
Definition: freeflow/navierstokes/mass/1p/model.hh:62