50#ifndef DUMUX_TWOP_MODEL_HH
51#define DUMUX_TWOP_MODEL_HH
76template<TwoPFormulation formulation>
82 {
return formulation; }
84 static constexpr int numEq() {
return 2; }
107template<
class PV,
class FSY,
class FST,
class SSY,
class SST,
class PT,
class MT,
class SR>
145template<
class TypeTag>
149template<
class TypeTag>
153template<
class TypeTag>
155template<
class TypeTag>
159template<
class TypeTag>
163template<
class TypeTag>
185template<
class TypeTag>
200template<
class TypeTag>
204template<
class TypeTag>
223 template<
class BaseTraits,
class ETCM>
224 struct NITraits :
public BaseTraits {
using EffectiveThermalConductivityModel = ETCM; };
231template<
class TypeTag>
235template<
class TypeTag>
Relation for the saturation-dependent effective thermal conductivity.
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Defines an enumeration for the formulations accepted by the two-phase model.
Class that computes the nonwetting saturation in an scv from the saturation at the global degree of f...
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
@ SST
Definition turbulencemodel.hh:75
Adaption of the non-isothermal two-phase two-component flow model to problems with CO2.
Definition adapt.hh:29
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:188
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:180
Definition common/properties.hh:37
Type tag for numeric models.
Definition grid.hh:36
Traits class encapsulating model specifications.
Definition common/properties.hh:51
Model traits to be used as a base for nonisothermal, mineralization ... models.
Definition common/properties.hh:53
A class helping models to define input and output fields.
Definition common/properties.hh:61
Definition common/properties.hh:72
The secondary variables within a sub-control volume.
Definition common/properties.hh:105
The type of the fluid state to use.
Definition common/properties.hh:162
Model to be used for the calculation of the effective conductivity.
Definition common/properties.hh:170
The formulation of the model.
Definition common/properties.hh:174
Relation for the saturation-dependent effective thermal conductivity.
Definition somerton.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:78
static constexpr TwoPFormulation priVarFormulation()
Definition porousmediumflow/2p/model.hh:81
static constexpr bool enableMolecularDiffusion()
Definition porousmediumflow/2p/model.hh:89
static constexpr bool enableEnergyBalance()
Definition porousmediumflow/2p/model.hh:90
TwoPIndices Indices
Definition porousmediumflow/2p/model.hh:79
static constexpr int numEq()
Definition porousmediumflow/2p/model.hh:84
static constexpr int numFluidComponents()
Definition porousmediumflow/2p/model.hh:86
static constexpr bool enableAdvection()
Definition porousmediumflow/2p/model.hh:88
static constexpr int numFluidPhases()
Definition porousmediumflow/2p/model.hh:85
Traits class for the two-phase model.
Definition porousmediumflow/2p/model.hh:109
SR SaturationReconstruction
Definition porousmediumflow/2p/model.hh:117
FST FluidState
Definition porousmediumflow/2p/model.hh:112
FSY FluidSystem
Definition porousmediumflow/2p/model.hh:111
SSY SolidSystem
Definition porousmediumflow/2p/model.hh:113
SST SolidState
Definition porousmediumflow/2p/model.hh:114
MT ModelTraits
Definition porousmediumflow/2p/model.hh:116
PV PrimaryVariables
Definition porousmediumflow/2p/model.hh:110
PT PermeabilityType
Definition porousmediumflow/2p/model.hh:115
The type tag for the isothermal two-phase model.
Definition porousmediumflow/2p/model.hh:135
std::tuple< PorousMediumFlow > InheritsFrom
Definition porousmediumflow/2p/model.hh:135
The type tag for the non-isothermal two-phase model.
Definition porousmediumflow/2p/model.hh:138
std::tuple< TwoP > InheritsFrom
Definition porousmediumflow/2p/model.hh:138
static constexpr auto value
Definition porousmediumflow/2p/model.hh:147
ImmiscibleLocalResidual< TypeTag > type
Definition porousmediumflow/2p/model.hh:150
TwoPModelTraits< getPropValue< TypeTag, Properties::Formulation >()> type
Definition porousmediumflow/2p/model.hh:154
GetPropType< TypeTag, Properties::BaseModelTraits > type
Definition porousmediumflow/2p/model.hh:156
TwoPIOFields type
Definition porousmediumflow/2p/model.hh:160
TwoPVolumeVariables< Traits > type
Definition porousmediumflow/2p/model.hh:181
ImmiscibleFluidState< Scalar, FluidSystem > type
Definition porousmediumflow/2p/model.hh:192
PorousMediumFlowNIModelTraits< GetPropType< TypeTag, Properties::BaseModelTraits > > type
Definition porousmediumflow/2p/model.hh:201
TwoPVolumeVariables< NITraits< BaseTraits, ETCM > > type
Definition porousmediumflow/2p/model.hh:227
EnergyIOFields< TwoPIOFields > type
Definition porousmediumflow/2p/model.hh:232
ThermalConductivitySomerton< Scalar > type
Definition porousmediumflow/2p/model.hh:241
Class that computes the nonwetting saturation in an scv from the saturation at the global degree of f...
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:40
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.
The implicit non-isothermal model.
Adds I/O fields specific to the two-phase model.
Adds I/O fields specific to non-isothermal models.
Defines the indices required for the two-phase fully implicit model.
Defines the indices used by the non-isothermal two-phase two-component model.
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.