67#ifndef DUMUX_RICHARDSNC_MODEL_HH
68#define DUMUX_RICHARDSNC_MODEL_HH
100template<
int nComp,
bool useMol,
int repCompEqIdx = nComp>
105 static constexpr int numEq() {
return nComp; }
114 static constexpr bool useMoles() {
return useMol; }
117namespace Properties {
137template<
class TypeTag>
145template<
class TypeTag>
149template<
class TypeTag>
153template<
class TypeTag>
158template<
class TypeTag>
162template<
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");
187template<
class TypeTag>
195template<
class TypeTag>
208template<
class TypeTag>
217template<
class TypeTag>
221template<
class TypeTag>
225template<
class TypeTag>
233template<
class TypeTag>
243template<
class TypeTag>
259 template<
class BaseTraits,
class ETCM>
260 struct NCNITraits :
public BaseTraits {
using EffectiveThermalConductivityModel = ETCM; };
Setting constant fluid properties via the input file.
A much simpler (and thus potentially less buggy) version of pure water.
Reation for a simple effective thermal conductivity.
Relation for the saturation-dependent effective diffusion coefficient.
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
A liquid phase consisting of a two components, a main component and a conservative tracer component.
The base class for spatial parameters of one-phase problems using a fully implicit discretization met...
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
Type tag for numeric models.
Definition grid.hh:36
Traits class encapsulating model specifications.
Definition common/properties.hh:66
Model traits to be used as a base for nonisothermal, mineralization ... models.
Definition common/properties.hh:68
A class helping models to define input and output fields.
Definition common/properties.hh:76
Definition common/properties.hh:89
Property whether to use moles or kg as amount unit for balance equations.
Definition common/properties.hh:100
The component balance index that should be replaced by the total mass/mole balance.
Definition common/properties.hh:102
The secondary variables within a sub-control volume.
Definition common/properties.hh:118
The type of the fluid system to use.
Definition common/properties.hh:167
The type of the fluid state to use.
Definition common/properties.hh:169
The employed model for the computation of the effective diffusivity.
Definition common/properties.hh:175
Model to be used for the calculation of the effective conductivity.
Definition common/properties.hh:177
Property for turning Richards into extended Richards.
Definition common/properties.hh:202
A component which returns run time specified values for all fluid properties.
Definition constant.hh:58
Relation for a simple effective thermal conductivity.
Definition thermalconductivityaverage.hh:37
Relation for the saturation-dependent effective diffusion coefficient.
Definition diffusivitymillingtonquirk.hh:51
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition compositional.hh:47
A liquid phase consisting of a two components, a main component and a conservative tracer component.
Definition liquidphase2c.hh:46
Element-wise calculation of the local residual for problems using compositional fully implicit model.
Definition porousmediumflow/compositional/localresidual.hh:43
Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a...
Definition porousmediumflow/nonisothermal/model.hh:70
Traits class for the Richards model.
Definition porousmediumflow/richards/model.hh:150
The indices for the isothermal Richards, n-component model.
Definition porousmediumflow/richardsnc/indices.hh:36
Adds I/O fields specific to the Richards model.
Definition porousmediumflow/richardsnc/iofields.hh:38
Specifies a number properties of the Richards n-components model.
Definition porousmediumflow/richardsnc/model.hh:102
static constexpr int numEq()
Definition porousmediumflow/richardsnc/model.hh:105
static constexpr int numFluidPhases()
Definition porousmediumflow/richardsnc/model.hh:106
static constexpr bool enableMolecularDiffusion()
Definition porousmediumflow/richardsnc/model.hh:111
RichardsNCIndices Indices
Definition porousmediumflow/richardsnc/model.hh:103
static constexpr bool enableEnergyBalance()
Definition porousmediumflow/richardsnc/model.hh:112
static constexpr bool useMoles()
Definition porousmediumflow/richardsnc/model.hh:114
static constexpr bool enableAdvection()
Definition porousmediumflow/richardsnc/model.hh:110
static constexpr int numFluidComponents()
Definition porousmediumflow/richardsnc/model.hh:107
static constexpr int replaceCompEqIdx()
Definition porousmediumflow/richardsnc/model.hh:108
Definition porousmediumflow/richardsnc/model.hh:126
std::tuple< PorousMediumFlow > InheritsFrom
Definition porousmediumflow/richardsnc/model.hh:126
Definition porousmediumflow/richardsnc/model.hh:127
std::tuple< RichardsNC > InheritsFrom
Definition porousmediumflow/richardsnc/model.hh:127
RichardsNCModelTraits< FluidSystem::numComponents, getPropValue< TypeTag, Properties::UseMoles >(), getPropValue< TypeTag, Properties::ReplaceCompEqIdx >()> type
Definition porousmediumflow/richardsnc/model.hh:143
GetPropType< TypeTag, Properties::BaseModelTraits > type
Definition porousmediumflow/richardsnc/model.hh:146
static constexpr bool value
Definition porousmediumflow/richardsnc/model.hh:150
CompositionalLocalResidual< TypeTag > type
Definition porousmediumflow/richardsnc/model.hh:154
static constexpr int value
Definition porousmediumflow/richardsnc/model.hh:159
RichardsNCVolumeVariables< NCTraits > type
Definition porousmediumflow/richardsnc/model.hh:182
static constexpr bool value
Definition porousmediumflow/richardsnc/model.hh:188
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition porousmediumflow/richardsnc/model.hh:198
FluidSystems::LiquidPhaseTwoC< Scalar, Components::SimpleH2O< Scalar >, Components::Constant< 1, Scalar > > type
Definition porousmediumflow/richardsnc/model.hh:199
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition porousmediumflow/richardsnc/model.hh:211
GetPropType< TypeTag, Properties::FluidSystem > FluidSystem
Definition porousmediumflow/richardsnc/model.hh:212
CompositionalFluidState< Scalar, FluidSystem > type
Definition porousmediumflow/richardsnc/model.hh:213
RichardsNCIOFields type
Definition porousmediumflow/richardsnc/model.hh:218
DiffusivityMillingtonQuirk< GetPropType< TypeTag, Properties::Scalar > > type
Definition porousmediumflow/richardsnc/model.hh:222
ThermalConductivityAverage< GetPropType< TypeTag, Properties::Scalar > > type
Definition porousmediumflow/richardsnc/model.hh:226
PorousMediumFlowNIModelTraits< IsothermalTraits > type
Definition porousmediumflow/richardsnc/model.hh:239
RichardsNCVolumeVariables< NCNITraits< BaseTraits, ETCM > > type
Definition porousmediumflow/richardsnc/model.hh:262
Contains the quantities which are constant within a finite volume in the Richards,...
Definition porousmediumflow/richardsnc/volumevariables.hh:47
Declares all properties used in Dumux.
Defines a type tag and some properties for models using the box scheme.
The implicit non-isothermal model.
This model implements a variant of the Richards' equation for quasi-twophase flow.
Defines the indices used by the non-isothermal two-phase two-component model.
Defines the primary variable and equation indices used by the richardsnc model.
Adds I/O fields specific to non-isothermal models.
Adds I/O fields specific to the Richards model.
Element-wise calculation of the local residual for problems using compositional fully implicit model.
Contains the quantities which are constant within a finite volume in the Richards,...