55#ifndef DUMUX_RICHARDSNC_MODEL_HH
56#define DUMUX_RICHARDSNC_MODEL_HH
87template<
int nComp,
bool useMol,
int repCompEqIdx = nComp>
92 static constexpr int numEq() {
return nComp; }
103 static constexpr bool useMoles() {
return useMol; }
118template<
class PV,
class FSY,
class FST,
class SSY,
class SST,
class PT,
class MT,
class DT,
class EDM>
132namespace Properties {
152template<
class TypeTag>
153struct BaseModelTraits<TypeTag, TTag::RichardsNC>
160template<
class TypeTag>
164template<
class TypeTag>
165struct UseMoles<TypeTag, TTag::RichardsNC> {
static constexpr bool value =
true; };
168template<
class TypeTag>
173template<
class TypeTag>
174struct ReplaceCompEqIdx<TypeTag, TTag::RichardsNC> {
static constexpr int value = 0; };
177template<
class TypeTag>
178struct VolumeVariables<TypeTag, TTag::RichardsNC>
188 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
189 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
190 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
191 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
205template<
class TypeTag>
206struct FluidSystem<TypeTag, TTag::RichardsNC>
218template<
class TypeTag>
219struct FluidState<TypeTag, TTag::RichardsNC>
227template<
class TypeTag>
231template<
class TypeTag>
235template<
class TypeTag>
243template<
class TypeTag>
244struct ModelTraits<TypeTag, TTag::RichardsNCNI>
253template<
class TypeTag>
254struct VolumeVariables<TypeTag, TTag::RichardsNCNI>
269 template<
class BaseTraits,
class ETCM>
270 struct NCNITraits :
public BaseTraits {
using EffectiveThermalConductivityModel = ETCM; };
A component which returns run time specified values for all fluid properties.
Definition: constant.hh:49
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition: compositional.hh:35
Element-wise calculation of the local residual for problems using compositional fully implicit model.
Definition: porousmediumflow/compositional/localresidual.hh:33
Relation for the saturation-dependent effective diffusion coefficient.
Definition: diffusivitymillingtonquirk.hh:40
A liquid phase consisting of a two components, a main component and a conservative tracer component.
Definition: liquidphase2c.hh:34
Adds I/O fields specific to the Richards model.
Definition: porousmediumflow/richardsnc/iofields.hh:26
Contains the quantities which are constant within a finite volume in the Richards,...
Definition: porousmediumflow/richardsnc/volumevariables.hh:35
Relation for a simple effective thermal conductivity.
Definition: thermalconductivityaverage.hh:25
Defines all properties used in Dumux.
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Setting constant fluid properties via the input file.
Relation for the saturation-dependent effective diffusion coefficient.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:267
Element-wise calculation of the local residual for problems using compositional fully implicit model.
Defines the indices used by the non-isothermal two-phase two-component model.
Adds I/O fields specific to non-isothermal models.
The implicit non-isothermal model.
Defines a type tag and some properties for models using the box scheme.
This model implements a variant of the Richards' equation for quasi-twophase flow.
Defines the primary variable and equation indices used by the isothermal tracer model.
Adds I/O fields specific to the tracer model.
Python wrapper for volume variables (finite volume schemes)
A simple implementation of pure water.
Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a...
Definition: porousmediumflow/nonisothermal/model.hh:58
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition: porousmediumflow/richardsnc/model.hh:221
GetPropType< TypeTag, Properties::FluidSystem > FluidSystem
Definition: porousmediumflow/richardsnc/model.hh:222
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition: porousmediumflow/richardsnc/model.hh:208
GetPropType< TypeTag, Properties::BaseModelTraits > type
Definition: porousmediumflow/richardsnc/model.hh:161
Definition: porousmediumflow/richardsnc/model.hh:141
std::tuple< PorousMediumFlow > InheritsFrom
Definition: porousmediumflow/richardsnc/model.hh:141
Definition: porousmediumflow/richardsnc/model.hh:142
std::tuple< RichardsNC > InheritsFrom
Definition: porousmediumflow/richardsnc/model.hh:142
The indices for the isothermal Richards, n-component model.
Definition: porousmediumflow/richardsnc/indices.hh:24
Specifies a number properties of the Richards n-components model.
Definition: porousmediumflow/richardsnc/model.hh:89
static constexpr bool enableThermalDispersion()
Definition: porousmediumflow/richardsnc/model.hh:101
static constexpr int numEq()
Definition: porousmediumflow/richardsnc/model.hh:92
static constexpr int numFluidPhases()
Definition: porousmediumflow/richardsnc/model.hh:93
static constexpr bool enableCompositionalDispersion()
Definition: porousmediumflow/richardsnc/model.hh:100
static constexpr bool enableMolecularDiffusion()
Definition: porousmediumflow/richardsnc/model.hh:98
static constexpr bool enableEnergyBalance()
Definition: porousmediumflow/richardsnc/model.hh:99
static constexpr bool useMoles()
Definition: porousmediumflow/richardsnc/model.hh:103
static constexpr bool enableAdvection()
Definition: porousmediumflow/richardsnc/model.hh:97
static constexpr int numFluidComponents()
Definition: porousmediumflow/richardsnc/model.hh:94
static constexpr int replaceCompEqIdx()
Definition: porousmediumflow/richardsnc/model.hh:95
Traits class for the Richards n-components model.
Definition: porousmediumflow/richardsnc/model.hh:120
MT ModelTraits
Definition: porousmediumflow/richardsnc/model.hh:127
PT PermeabilityType
Definition: porousmediumflow/richardsnc/model.hh:126
PV PrimaryVariables
Definition: porousmediumflow/richardsnc/model.hh:121
FST FluidState
Definition: porousmediumflow/richardsnc/model.hh:123
SSY SolidSystem
Definition: porousmediumflow/richardsnc/model.hh:124
SST SolidState
Definition: porousmediumflow/richardsnc/model.hh:125
EDM EffectiveDiffusivityModel
Definition: porousmediumflow/richardsnc/model.hh:129
FSY FluidSystem
Definition: porousmediumflow/richardsnc/model.hh:122
DT DiffusionType
Definition: porousmediumflow/richardsnc/model.hh:128
Reation for a simple effective thermal conductivity.