richardsmodel.hh
Go to the documentation of this file.
72struct GasPhaseIndex<TypeTag, TTag::Richards> { static constexpr int value = 1 - getPropValue<TypeTag, Properties::LiquidPhaseIndex>(); };
84struct LiquidComponentIndex<TypeTag, TTag::Richards> { static constexpr int value = getPropValue<TypeTag, Properties::LiquidPhaseIndex>(); };
88struct GasComponentIndex<TypeTag, TTag::Richards> { static constexpr int value = 1 - getPropValue<TypeTag, Properties::LiquidComponentIndex>(); };
92struct LocalResidual<TypeTag, TTag::Richards> { using type = Opm::RichardsLocalResidual<TypeTag>; };
104struct BoundaryRateVector<TypeTag, TTag::Richards> { using type = Opm::RichardsBoundaryRateVector<TypeTag>; };
108struct PrimaryVariables<TypeTag, TTag::Richards> { using type = Opm::RichardsPrimaryVariables<TypeTag>; };
112struct IntensiveQuantities<TypeTag, TTag::Richards> { using type = Opm::RichardsIntensiveQuantities<TypeTag>; };
116struct ExtensiveQuantities<TypeTag, TTag::Richards> { using type = Opm::RichardsExtensiveQuantities<TypeTag>; };
120struct NewtonMethod<TypeTag, TTag::Richards> { using type = Opm::RichardsNewtonMethod<TypeTag>; };
265 static const unsigned liquidCompIdx = getPropValue<TypeTag, Properties::LiquidComponentIndex>();
A base class for fully-implicit multi-phase porous-media flow models which assume multiple fluid phas... Definition: multiphasebasemodel.hh:153 static void registerParameters() Register all run-time parameters for the immiscible model. Definition: multiphasebasemodel.hh:179 void registerOutputModules_() Definition: multiphasebasemodel.hh:254 Implements a boundary vector for the fully implicit Richards model. Definition: richardsboundaryratevector.hh:45 Calculates and stores the data which is required to calculate the flux of fluid over a face of a fini... Definition: richardsextensivequantities.hh:47 Intensive quantities required by the Richards model. Definition: richardsintensivequantities.hh:50 Element-wise calculation of the residual for the Richards model. Definition: richardslocalresidual.hh:43 This model implements a variant of the Richards equation for quasi-twophase flow. Definition: richardsmodel.hh:250 void updateBegin() Called by the update() method before it tries to apply the newton method. This is primary a hook whic... Definition: richardsmodel.hh:357 bool phaseIsConsidered(unsigned phaseIdx) const Definition: richardsmodel.hh:376 Scalar eqWeight(unsigned, unsigned eqIdx) const Returns the relative weight of an equation. Definition: richardsmodel.hh:346 std::string eqName(unsigned eqIdx) const Given an equation index, return a human readable name. Definition: richardsmodel.hh:320 RichardsModel(Simulator &simulator) Definition: richardsmodel.hh:280 std::string primaryVarName(unsigned pvIdx) const Given an primary variable index, return a human readable name. Definition: richardsmodel.hh:306 static void registerParameters() Register all run-time parameters for the model. Definition: richardsmodel.hh:292 void registerOutputModules_() Definition: richardsmodel.hh:379 Scalar primaryVarWeight(unsigned, unsigned pvIdx) const Returns the relative weight of a primary variable for calculating relative errors. Definition: richardsmodel.hh:334 A Richards model specific Newton method. Definition: richardsnewtonmethod.hh:46 Represents the primary variables used in the Richards model. Definition: richardsprimaryvariables.hh:53 Implements a vector representing mass, molar or volumetric rates. Definition: richardsratevector.hh:52 Definition: blackoilmodel.hh:72 Definition: blackoilboundaryratevector.hh:37 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:235 Contains the property declarations for the Richards model. Type of object for specifying boundary conditions. Definition: fvbaseproperties.hh:119 Data required to calculate a flux over a face. Definition: fvbaseproperties.hh:149 Opm::TwoPhaseImmiscibleFluidSystem< Scalar, WettingFluid, NonWettingFluid > type Definition: richardsmodel.hh:182 The fluid systems including the information about the phases. Definition: multiphasebaseproperties.hh:69 Index of the component which constitutes the gas. Definition: richardsproperties.hh:61 Index of the fluid which represents the non-wetting phase. Definition: richardsproperties.hh:53 The secondary variables within a sub-control volume. Definition: fvbaseproperties.hh:133 Index of the component which constitutes the liquid. Definition: richardsproperties.hh:57 Index of the fluid which represents the wetting phase. Definition: richardsproperties.hh:49 The type of the local residual function. Definition: fvbaseproperties.hh:94 Specifies the type of the actual Newton method. Definition: newtonmethodproperties.hh:32 Opm::GasPhase< Scalar, Opm::NullComponent< Scalar > > type Definition: richardsmodel.hh:161 Definition: richardsproperties.hh:45 A vector of primary variables within a sub-control volume. Definition: fvbaseproperties.hh:130 Vector containing volumetric or areal rates of quantities. Definition: fvbaseproperties.hh:116 The type tag for problems discretized using the Richards model. Definition: richardsmodel.hh:63 std::tuple< MultiPhaseBaseModel > InheritsFrom Definition: richardsmodel.hh:63 Opm::LiquidPhase< Scalar, Opm::NullComponent< Scalar > > type Definition: richardsmodel.hh:143 Definition: richardsproperties.hh:40 Indices for the primary variables/conservation equations of the Richards model. Definition: richardsindices.hh:39 |