50#ifndef DUMUX_FREEFLOW_NC_MODEL_HH
51#define DUMUX_FREEFLOW_NC_MODEL_HH
84template<
int dimension,
int nComp,
bool useM,
int repCompEqIdx = nComp>
89 static constexpr int numEq() {
return dimension+nComp; }
95 static constexpr bool useMoles() {
return useM; }
117namespace Properties {
137template<
class TypeTag>
142 static constexpr int dim = GridView::dimension;
144 static constexpr int numComponents = FluidSystem::numComponents;
145 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
146 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
152template<
class TypeTag>
153struct UseMoles<TypeTag, TTag::NavierStokesNC> {
static constexpr bool value =
false; };
154template<
class TypeTag>
156template<
class TypeTag>
160template<
class TypeTag>
164template<
class TypeTag>
173 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
174 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
175 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
176 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
184template<
class TypeTag>
188template<
class TypeTag>
197template<
class TypeTag>
208template<
class TypeTag>
216template<
class TypeTag>
221 static constexpr int dim = GridView::dimension;
223 static constexpr int numComponents = FluidSystem::numComponents;
224 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
225 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
232template<
class TypeTag>
242template<
class TypeTag>
Fourier's law specialized for different discretization schemes This file contains the data which is r...
Fick's law specilized for different discretization schemes. This file contains the data which is requ...
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
A liquid phase consisting of a single component.
A gaseous phase consisting of a single component.
Calculates the element-wise residual for the staggered FV scheme.
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition: propertysystem.hh:149
Traits class encapsulating model specifications.
Definition: common/properties.hh:65
A class helping models to define input and output fields.
Definition: common/properties.hh:78
Definition: common/properties.hh:91
Property whether to use moles or kg as amount unit for balance equations.
Definition: common/properties.hh:102
The component balance index that should be replaced by the total mass/mole balance.
Definition: common/properties.hh:104
The secondary variables within a sub-control volume.
Definition: common/properties.hh:174
Container storing the different types of flux variables.
Definition: common/properties.hh:180
The type for the calculation of the molecular diffusion fluxes.
Definition: common/properties.hh:212
The type for the calculation of the heat conduction fluxes.
Definition: common/properties.hh:216
The type of the fluid state to use.
Definition: common/properties.hh:225
Returns whether to normalize the pressure term in the momentum balance or not.
Definition: common/properties.hh:346
forward declaration of the method-specific implemetation
Definition: box/fickslaw.hh:38
forward declaration of the method-specific implementation
Definition: fourierslaw.hh:37
Definition: freeflow/compositional/fluxvariables.hh:34
Adds I/O fields specific to the FreeflowNC model.
Definition: dumux/freeflow/compositional/iofields.hh:38
Definition: freeflow/compositional/localresidual.hh:36
Traits for the multi-component free-flow model.
Definition: navierstokesncmodel.hh:86
static constexpr int replaceCompEqIdx()
Index of of a component balance eq. to be replaced by a total mass/mole balance.
Definition: navierstokesncmodel.hh:101
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: navierstokesncmodel.hh:107
static constexpr bool useMoles()
Use moles or not.
Definition: navierstokesncmodel.hh:95
static constexpr bool enableMolecularDiffusion()
The one-phase model has no molecular diffusion.
Definition: navierstokesncmodel.hh:98
static constexpr int numFluidComponents()
The number of components.
Definition: navierstokesncmodel.hh:92
static constexpr bool usesTurbulenceModel()
The model does not include a turbulence model.
Definition: navierstokesncmodel.hh:104
static constexpr int numEq()
Definition: navierstokesncmodel.hh:89
The type tag for the single-phase, multi-component isothermal free-flow model.
Definition: navierstokesncmodel.hh:126
std::tuple< FreeFlow > InheritsFrom
Definition: navierstokesncmodel.hh:126
The type tag for the single-phase, multi-component non-isothermal free-flow model.
Definition: navierstokesncmodel.hh:129
std::tuple< NavierStokesNC > InheritsFrom
Definition: navierstokesncmodel.hh:129
Volume variables for the single-phase, multi-component free-flow model.
Definition: freeflow/compositional/volumevariables.hh:40
The common indices for the isothermal Navier-Stokes model.
Definition: freeflow/navierstokes/indices.hh:37
Traits for the Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:77
Traits class for the volume variables of the Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:125
Adds I/O fields specific to non-isothermal free-flow models.
Definition: dumux/freeflow/nonisothermal/iofields.hh:38
Specifies a number properties of non-isothermal free-flow flow models based on the specifics of a giv...
Definition: freeflow/nonisothermal/model.hh:59
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition: compositional.hh:47
A single-phase, isothermal Navier-Stokes model.
A single-phase, non-isothermal free-flow model.
Element-wise calculation of the local residual for problems using fully implicit tracer model.
Declares all properties used in Dumux.
Adds I/O fields specific to the twop model.
Base class for the model specific class which provides access to all volume averaged quantities.
Base class for the flux variables in porous medium models.