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; }
137template<
class TypeTag>
142 static constexpr int dim = GridView::dimension;
144 static constexpr int numComponents = FluidSystem::numComponents;
152template<
class TypeTag>
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;
232template<
class TypeTag>
242template<
class TypeTag>
Calculates the element-wise residual for the staggered FV scheme.
Fick's law specilized for different discretization schemes. This file contains the data which is requ...
Fourier's law specialized for different discretization schemes This file contains the data which is r...
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
A gaseous phase consisting of a single component.
A liquid phase consisting of a single component.
@ none
Definition turbulencemodel.hh:38
FreeflowNCResidualImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > FreeflowNCResidual
The local residual class for the multi-component free-flow model (balance equations)....
Definition freeflow/compositional/localresidual.hh:46
FreeflowNCFluxVariablesImpl< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > FreeflowNCFluxVariables
The flux variables class for the multi-component free-flow model. This is a convenience alias for tha...
Definition freeflow/compositional/fluxvariables.hh:44
FouriersLawImplementation< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod > FouriersLaw
Evaluates the heat conduction flux according to Fouriers's law.
Definition fourierslaw.hh:44
FicksLawImplementation< TypeTag, GetPropType< TypeTag, Properties::GridGeometry >::discMethod, referenceSystem > FicksLaw
Evaluates the diffusive mass flux according to Fick's law.
Definition fickslaw.hh:44
make the local view function available whenever we use the grid geometry
Definition adapt.hh:29
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:153
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
Definition common/properties.hh:47
Type tag for numeric models.
Definition grid.hh:35
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
Adds I/O fields specific to the FreeflowNC model.
Definition dumux/freeflow/compositional/iofields.hh:38
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
NavierStokesIndices< dimension > Indices
the indices
Definition navierstokesncmodel.hh:111
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
NavierStokesNCModelTraits< dim, numComponents, useMoles, replaceCompEqIdx > type
Definition navierstokesncmodel.hh:149
static constexpr bool value
Definition navierstokesncmodel.hh:153
static constexpr int value
Definition navierstokesncmodel.hh:155
static constexpr bool value
Definition navierstokesncmodel.hh:157
FreeflowNCResidual< TypeTag > type
Definition navierstokesncmodel.hh:161
FreeflowNCVolumeVariables< Traits > type
Definition navierstokesncmodel.hh:180
FreeflowNCFluxVariables< TypeTag > type
Definition navierstokesncmodel.hh:185
FreeflowNCIOFields< NavierStokesIOFields > type
Definition navierstokesncmodel.hh:189
CompositionalFluidState< Scalar, FluidSystem > type
Definition navierstokesncmodel.hh:204
FicksLaw< TypeTag > type
Definition navierstokesncmodel.hh:209
FreeflowNIModelTraits< IsothermalModelTraits > type
Definition navierstokesncmodel.hh:228
FreeflowNonIsothermalIOFields< IsothermalIOFields > type
Definition navierstokesncmodel.hh:238
FouriersLaw< TypeTag > type
Definition navierstokesncmodel.hh:243
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
Declares all properties used in Dumux.
A single-phase, isothermal Navier-Stokes model.
A single-phase, non-isothermal free-flow model.
The flux variables class for the multi-component free-flow model. This is a convenience alias for tha...
Indices for the non-isothermal Navier-Stokes model.
Adds I/O fields specific to the FreeflowNC model.
Adds I/O fields specific to non-isothermal free-flow models.
The local residual class for the multi-component free-flow model (balance equations)....
Volume variables for the single-phase, multi-component free-flow model.