57#ifndef DUMUX_TWOP_MODEL_HH
58#define DUMUX_TWOP_MODEL_HH
85template<TwoPFormulation formulation>
91 {
return formulation; }
93 static constexpr int numEq() {
return 2; }
116template<
class PV,
class FSY,
class FST,
class SSY,
class SST,
class PT,
class MT,
class SR>
154template<
class TypeTag>
158template<
class TypeTag>
162template<
class TypeTag>
164template<
class TypeTag>
168template<
class TypeTag>
172template<
class TypeTag>
195template<
class TypeTag>
210template<
class TypeTag>
214template<
class TypeTag>
233 template<
class BaseTraits,
class ETCM>
234 struct NITraits :
public BaseTraits {
using EffectiveThermalConductivityModel = ETCM; };
241template<
class TypeTag>
245template<
class TypeTag>
Relation for the saturation-dependent effective thermal conductivity.
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
The base class for spatial parameters of multi-phase problems using a fully implicit discretization m...
Defines an enumeration for the formulations accepted by the two-phase model.
Class that computes the non-wetting saturation in an scv from the saturation at the global degree of ...
TwoPFormulation
Enumerates the formulations which the two-phase model accepts.
Definition formulation.hh:35
@ p0s1
first phase pressure and second phase saturation as primary variables
Definition formulation.hh:36
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
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
The secondary variables within a sub-control volume.
Definition common/properties.hh:118
The type of the fluid state to use.
Definition common/properties.hh:169
Model to be used for the calculation of the effective conductivity.
Definition common/properties.hh:177
The formulation of the model.
Definition common/properties.hh:181
Relation for the saturation-dependent effective thermal conductivity.
Definition thermalconductivitysomerton.hh:60
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Definition immiscible.hh:42
Defines the indices required for the two-phase fully implicit model.
Definition porousmediumflow/2p/indices.hh:37
Adds I/O fields specific to the two-phase model.
Definition porousmediumflow/2p/iofields.hh:39
Specifies a number properties of two-phase models.
Definition porousmediumflow/2p/model.hh:87
static constexpr TwoPFormulation priVarFormulation()
Definition porousmediumflow/2p/model.hh:90
static constexpr bool enableMolecularDiffusion()
Definition porousmediumflow/2p/model.hh:98
static constexpr bool enableEnergyBalance()
Definition porousmediumflow/2p/model.hh:99
TwoPIndices Indices
Definition porousmediumflow/2p/model.hh:88
static constexpr int numEq()
Definition porousmediumflow/2p/model.hh:93
static constexpr int numFluidComponents()
Definition porousmediumflow/2p/model.hh:95
static constexpr bool enableAdvection()
Definition porousmediumflow/2p/model.hh:97
static constexpr int numFluidPhases()
Definition porousmediumflow/2p/model.hh:94
Traits class for the two-phase model.
Definition porousmediumflow/2p/model.hh:118
SR SaturationReconstruction
Definition porousmediumflow/2p/model.hh:126
FST FluidState
Definition porousmediumflow/2p/model.hh:121
FSY FluidSystem
Definition porousmediumflow/2p/model.hh:120
SSY SolidSystem
Definition porousmediumflow/2p/model.hh:122
SST SolidState
Definition porousmediumflow/2p/model.hh:123
MT ModelTraits
Definition porousmediumflow/2p/model.hh:125
PV PrimaryVariables
Definition porousmediumflow/2p/model.hh:119
PT PermeabilityType
Definition porousmediumflow/2p/model.hh:124
The type tag for the isothermal two-phase model.
Definition porousmediumflow/2p/model.hh:144
std::tuple< PorousMediumFlow > InheritsFrom
Definition porousmediumflow/2p/model.hh:144
The type tag for the non-isothermal two-phase model.
Definition porousmediumflow/2p/model.hh:147
std::tuple< TwoP > InheritsFrom
Definition porousmediumflow/2p/model.hh:147
static constexpr auto value
Definition porousmediumflow/2p/model.hh:156
ImmiscibleLocalResidual< TypeTag > type
Definition porousmediumflow/2p/model.hh:159
TwoPModelTraits< getPropValue< TypeTag, Properties::Formulation >()> type
Definition porousmediumflow/2p/model.hh:163
GetPropType< TypeTag, Properties::BaseModelTraits > type
Definition porousmediumflow/2p/model.hh:165
TwoPIOFields type
Definition porousmediumflow/2p/model.hh:169
TwoPVolumeVariables< Traits > type
Definition porousmediumflow/2p/model.hh:191
ImmiscibleFluidState< Scalar, FluidSystem > type
Definition porousmediumflow/2p/model.hh:202
PorousMediumFlowNIModelTraits< GetPropType< TypeTag, Properties::BaseModelTraits > > type
Definition porousmediumflow/2p/model.hh:211
TwoPVolumeVariables< NITraits< BaseTraits, ETCM > > type
Definition porousmediumflow/2p/model.hh:237
EnergyIOFields< TwoPIOFields > type
Definition porousmediumflow/2p/model.hh:242
ThermalConductivitySomerton< Scalar > type
Definition porousmediumflow/2p/model.hh:251
Class that computes the non-wetting saturation in an scv from the saturation at the global degree of ...
Definition saturationreconstruction.hh:43
Contains the quantities which are are constant within a finite volume in the two-phase model.
Definition porousmediumflow/2p/volumevariables.hh:45
Element-wise calculation of the residual for problems using the n-phase immiscible fully implicit mod...
Definition porousmediumflow/immiscible/localresidual.hh:39
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
Declares all properties used in Dumux.
Defines a type tag and some properties for models using the box scheme.
A single-phase, isothermal flow model using the fully implicit scheme.
The implicit non-isothermal model.
Defines the indices required for the two-phase fully implicit model.
Defines the indices used by the non-isothermal two-phase two-component model.
Adds I/O fields specific to the two-phase model.
Adds I/O fields specific to non-isothermal models.
Element-wise calculation of the residual for problems using the n-phase immiscible fully implicit mod...
Contains the quantities which are constant within a finite volume in the two-phase model.