90#ifndef DUMUX_RICHARDS_MODEL_HH
91#define DUMUX_RICHARDS_MODEL_HH
93#include <dune/common/fvector.hh>
124template<
bool enableDiff>
129 static constexpr int numEq() {
return 1; }
148template<
class PV,
class FSY,
class FST,
class SSY,
class SST,
class PT,
class MT,
class DT,
class EDM>
184template<
class TypeTag>
188template<
class TypeTag>
192 static constexpr bool enableWaterDiffusionInAir
200template<
class TypeTag>
204template<
class TypeTag>
224template<
class TypeTag>
228template<
class TypeTag>
233template<
class TypeTag>
237 using PrimaryVariablesVector = Dune::FieldVector<GetPropType<TypeTag, Properties::Scalar>,
248template<
class TypeTag>
263template<
class TypeTag>
274template<
class TypeTag>
288template<
class TypeTag>
298template<
class TypeTag>
308template<
class TypeTag>
324 template<
class BaseTraits,
class ETCM>
325 struct NITraits :
public BaseTraits {
using EffectiveThermalConductivityModel = ETCM; };
A much simpler (and thus potentially less buggy) version of pure water.
Relation for the saturation-dependent effective thermal conductivity.
Relation for the saturation-dependent effective diffusion coefficient.
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
A compositional two-phase fluid system with water and air as components in both, the liquid and the g...
The base class for spatial parameters of multi-phase problems using a fully implicit discretization m...
A primary variable vector with a state to allow variable switches.
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:48
Type tag for numeric models.
Definition grid.hh:36
A vector of primary variables.
Definition common/properties.hh:60
Traits class encapsulating model specifications.
Definition common/properties.hh:66
A class helping models to define input and output fields.
Definition common/properties.hh:76
Definition common/properties.hh:89
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 much simpler (and thus potentially less buggy) version of pure water.
Definition simpleh2o.hh:51
Relation for the saturation-dependent effective thermal conductivity.
Definition thermalconductivitysomerton.hh:60
Relation for the saturation-dependent effective diffusion coefficient.
Definition diffusivitymillingtonquirk.hh:51
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Definition immiscible.hh:42
Policy for the H2O-air fluid system.
Definition h2oair.hh:52
A compositional two-phase fluid system with water and air as components in both, the liquid and the g...
Definition h2oair.hh:75
A primary variable vector with a state to allow variable switches.
Definition switchableprimaryvariables.hh:38
Adds I/O fields specific to non-isothermal models.
Definition porousmediumflow/nonisothermal/iofields.hh:39
Specifies a number properties of non-isothermal porous medium flow models based on the specifics of a...
Definition porousmediumflow/nonisothermal/model.hh:70
Index names for the Richards model.
Definition porousmediumflow/richards/indices.hh:36
Adds I/O fields specific to the Richards model.
Definition porousmediumflow/richards/iofields.hh:39
Element-wise calculation of the Jacobian matrix for problems using the Richards fully implicit models...
Definition porousmediumflow/richards/localresidual.hh:44
Specifies a number properties of the Richards model.
Definition porousmediumflow/richards/model.hh:126
static constexpr bool enableAdvection()
Definition porousmediumflow/richards/model.hh:133
RichardsIndices Indices
Definition porousmediumflow/richards/model.hh:127
static constexpr int numEq()
Definition porousmediumflow/richards/model.hh:129
static constexpr int numFluidPhases()
Definition porousmediumflow/richards/model.hh:130
static constexpr int numFluidComponents()
Definition porousmediumflow/richards/model.hh:131
static constexpr bool enableEnergyBalance()
Definition porousmediumflow/richards/model.hh:135
static constexpr bool enableMolecularDiffusion()
Definition porousmediumflow/richards/model.hh:134
Traits class for the Richards model.
Definition porousmediumflow/richards/model.hh:150
SSY SolidSystem
Definition porousmediumflow/richards/model.hh:154
PV PrimaryVariables
Definition porousmediumflow/richards/model.hh:151
FST FluidState
Definition porousmediumflow/richards/model.hh:153
MT ModelTraits
Definition porousmediumflow/richards/model.hh:157
PT PermeabilityType
Definition porousmediumflow/richards/model.hh:156
SST SolidState
Definition porousmediumflow/richards/model.hh:155
DT DiffusionType
Definition porousmediumflow/richards/model.hh:158
FSY FluidSystem
Definition porousmediumflow/richards/model.hh:152
EDM EffectiveDiffusivityModel
Definition porousmediumflow/richards/model.hh:159
Definition porousmediumflow/richards/model.hh:175
std::tuple< PorousMediumFlow > InheritsFrom
Definition porousmediumflow/richards/model.hh:175
Definition porousmediumflow/richards/model.hh:176
std::tuple< Richards > InheritsFrom
Definition porousmediumflow/richards/model.hh:176
RichardsLocalResidual< TypeTag > type
Definition porousmediumflow/richards/model.hh:185
RichardsIOFields< enableWaterDiffusionInAir > type
Definition porousmediumflow/richards/model.hh:196
RichardsModelTraits< getPropValue< TypeTag, Properties::EnableWaterDiffusionInAir >()> type
Definition porousmediumflow/richards/model.hh:201
RichardsVolumeVariables< Traits > type
Definition porousmediumflow/richards/model.hh:219
static constexpr bool value
Definition porousmediumflow/richards/model.hh:225
DiffusivityMillingtonQuirk< GetPropType< TypeTag, Properties::Scalar > > type
Definition porousmediumflow/richards/model.hh:230
SwitchablePrimaryVariables< PrimaryVariablesVector, int > type
Definition porousmediumflow/richards/model.hh:240
GetPropType< TypeTag, Properties::Scalar > Scalar
Definition porousmediumflow/richards/model.hh:251
FluidSystems::H2OAir< Scalar, Components::SimpleH2O< Scalar >, FluidSystems::H2OAirDefaultPolicy< true > > type
Definition porousmediumflow/richards/model.hh:252
ImmiscibleFluidState< Scalar, FluidSystem > type
Definition porousmediumflow/richards/model.hh:270
ThermalConductivitySomerton< Scalar > type
Definition porousmediumflow/richards/model.hh:280
PorousMediumFlowNIModelTraits< IsothermalTraits > type
Definition porousmediumflow/richards/model.hh:294
EnergyIOFields< RichardsIOF > type
Definition porousmediumflow/richards/model.hh:304
RichardsIOFields< enableWaterDiffusionInAir > RichardsIOF
Definition porousmediumflow/richards/model.hh:303
static constexpr bool enableWaterDiffusionInAir
Definition porousmediumflow/richards/model.hh:302
RichardsVolumeVariables< NITraits< BaseTraits, ETCM > > type
Definition porousmediumflow/richards/model.hh:328
Volume averaged quantities required by the Richards model.
Definition porousmediumflow/richards/volumevariables.hh:66
Declares all properties used in Dumux.
Defines a type tag and some properties for models using the box scheme.
The implicit non-isothermal model.
Defines the indices used by the non-isothermal two-phase two-component model.
Index names for the Richards model.
Adds I/O fields specific to non-isothermal models.
Adds I/O fields specific to the Richards model.
Element-wise calculation of the residual for problems using the n-phase immiscible fully implicit mod...
Element-wise calculation of the Jacobian matrix for problems using the Richards fully implicit models...
Volume averaged quantities required by the Richards model.