29#ifndef DUMUX_ZEROEQ_NC_MODEL_HH
30#define DUMUX_ZEROEQ_NC_MODEL_HH
65template<
int dimension,
int nComp,
bool useM,
int replaceCompEqIdx>
77template<
class TypeTag>
82 static constexpr int dim = GridView::dimension;
84 static constexpr int numComponents = FluidSystem::numComponents;
85 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
86 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
92template<
class TypeTag>
100 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
101 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
102 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
103 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
107 template<
class BaseTraits,
class DT>
108 struct NCTraits :
public BaseTraits {
using DiffusionType = DT; };
116template<
class TypeTag>
130template<
class TypeTag>
135 static constexpr int dim = GridView::dimension;
137 static constexpr int numComponents = FluidSystem::numComponents;
138 static constexpr bool useMoles = getPropValue<TypeTag, Properties::UseMoles>();
139 static constexpr int replaceCompEqIdx = getPropValue<TypeTag, Properties::ReplaceCompEqIdx>();
146template<
class TypeTag>
154 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
155 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
156 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
157 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
161 template<
class BaseTraits,
class DT>
162 struct NCNITraits :
public BaseTraits {
using DiffusionType = DT; };
169template<
class TypeTag>
A single-phase, multi-component free-flow model.
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition: adapt.hh:29
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:180
Traits class encapsulating model specifications.
Definition: common/properties.hh:51
A class helping models to define input and output fields.
Definition: common/properties.hh:61
The secondary variables within a sub-control volume.
Definition: common/properties.hh:105
Adds I/O fields specific to the FreeflowNC model.
Definition: freeflow/compositional/iofields.hh:38
Traits for the multi-component free-flow model.
Definition: navierstokesncmodel.hh:88
Volume variables for the single-phase, multi-component free-flow model.
Definition: freeflow/compositional/volumevariables.hh:40
The type tags for the single-phase, multi-component isothermal ZeroEq model.
Definition: zeroeqncmodel.hh:53
std::tuple< NavierStokesNC > InheritsFrom
Definition: zeroeqncmodel.hh:53
Traits for the Reynolds-averaged Navier-Stokes 0-Eq. model.
Definition: zeroeqncmodel.hh:67
static constexpr bool usesTurbulenceModel()
The model does include a turbulence model.
Definition: zeroeqncmodel.hh:69
static constexpr auto turbulenceModel()
return the type of turbulence model used
Definition: zeroeqncmodel.hh:72
The type tags for the single-phase, multi-component non-isothermal ZeroEq models.
Definition: zeroeqncmodel.hh:126
std::tuple< ZeroEqNC, NavierStokesNCNI > InheritsFrom
Definition: zeroeqncmodel.hh:126
Traits class for the volume variables of the Navier-Stokes model.
Definition: freeflow/navierstokes/model.hh:123
Adds I/O fields specific to non-isothermal free-flow models.
Definition: 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
Adds I/O fields for the Reynolds-Averaged Navier-Stokes model.
Definition: freeflow/rans/iofields.hh:36
Volume variables for the single-phase 0-Eq. model.
Definition: freeflow/rans/zeroeq/volumevariables.hh:41
Declares all properties used in Dumux.
A single-phase, isothermal Reynolds-Averaged Navier-Stokes 0-Eq. model.
Adds I/O fields specific to the tracer model.
Python wrapper for volume variables (finite volume schemes)