38#ifndef DUMUX_TWOP_MODEL_HH
39#define DUMUX_TWOP_MODEL_HH
64template<TwoPFormulation formulation>
70 {
return formulation; }
72 static constexpr int numEq() {
return 2; }
95template<
class PV,
class FSY,
class FST,
class SSY,
class SST,
class PT,
class MT,
class SR>
114namespace Properties {
133template<
class TypeTag>
134struct Formulation<TypeTag, TTag::TwoP>
137template<
class TypeTag>
141template<
class TypeTag>
143template<
class TypeTag>
147template<
class TypeTag>
151template<
class TypeTag>
152struct VolumeVariables<TypeTag, TTag::TwoP>
163 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
173template<
class TypeTag>
174struct FluidState<TypeTag, TTag::TwoP>
188template<
class TypeTag>
192template<
class TypeTag>
193struct VolumeVariables<TypeTag, TTag::TwoPNI>
204 static constexpr bool enableIS = getPropValue<TypeTag, Properties::EnableBoxInterfaceSolver>();
211 template<
class BaseTraits,
class ETCM>
212 struct NITraits :
public BaseTraits {
using EffectiveThermalConductivityModel = ETCM; };
219template<
class TypeTag>
223template<
class TypeTag>
224struct ThermalConductivityModel<TypeTag, TTag::TwoPNI>
Adds I/O fields specific to non-isothermal models.
Definition: porousmediumflow/nonisothermal/iofields.hh:27
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Definition: immiscible.hh:30
Element-wise calculation of the residual for problems using the n-phase immiscible fully implicit mod...
Definition: porousmediumflow/immiscible/localresidual.hh:28
Relation for the saturation-dependent effective thermal conductivity.
Definition: somerton.hh:48
Adds I/O fields specific to the two-phase model.
Definition: porousmediumflow/2p/iofields.hh:27
Class that computes the nonwetting saturation in an scv from the saturation at the global degree of f...
Definition: saturationreconstruction.hh:31
Contains the quantities which are are constant within a finite volume in the two-phase model.
Definition: porousmediumflow/2p/volumevariables.hh:33
Defines all properties used in Dumux.
typename GetProp< TypeTag, Property >::type GetPropType
get the type alias defined in the property
Definition: propertysystem.hh:267
TwoPFormulation
Enumerates the formulations which the two-phase model accepts.
Definition: formulation.hh:23
@ p0s1
first phase pressure and second phase saturation as primary variables
Represents all relevant thermodynamic quantities of a multi-phase fluid system assuming immiscibility...
Element-wise calculation of the residual for problems using the n-phase immiscible fully implicit mod...
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.
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)
Relation for the saturation-dependent effective thermal conductivity.
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::BaseModelTraits > type
Definition: porousmediumflow/2p/model.hh:144
The type tag for the isothermal two-phase model.
Definition: porousmediumflow/2p/model.hh:123
std::tuple< PorousMediumFlow > InheritsFrom
Definition: porousmediumflow/2p/model.hh:123
The type tag for the non-isothermal two-phase model.
Definition: porousmediumflow/2p/model.hh:126
std::tuple< TwoP > InheritsFrom
Definition: porousmediumflow/2p/model.hh:126
Defines the indices required for the two-phase fully implicit model.
Definition: porousmediumflow/2p/indices.hh:25
Specifies a number properties of two-phase models.
Definition: porousmediumflow/2p/model.hh:66
static constexpr TwoPFormulation priVarFormulation()
Definition: porousmediumflow/2p/model.hh:69
static constexpr bool enableMolecularDiffusion()
Definition: porousmediumflow/2p/model.hh:77
static constexpr bool enableEnergyBalance()
Definition: porousmediumflow/2p/model.hh:78
static constexpr int numEq()
Definition: porousmediumflow/2p/model.hh:72
static constexpr int numFluidComponents()
Definition: porousmediumflow/2p/model.hh:74
static constexpr bool enableAdvection()
Definition: porousmediumflow/2p/model.hh:76
static constexpr int numFluidPhases()
Definition: porousmediumflow/2p/model.hh:73
Traits class for the two-phase model.
Definition: porousmediumflow/2p/model.hh:97
SR SaturationReconstruction
Definition: porousmediumflow/2p/model.hh:105
FST FluidState
Definition: porousmediumflow/2p/model.hh:100
FSY FluidSystem
Definition: porousmediumflow/2p/model.hh:99
SSY SolidSystem
Definition: porousmediumflow/2p/model.hh:101
SST SolidState
Definition: porousmediumflow/2p/model.hh:102
MT ModelTraits
Definition: porousmediumflow/2p/model.hh:104
PV PrimaryVariables
Definition: porousmediumflow/2p/model.hh:98
PT PermeabilityType
Definition: porousmediumflow/2p/model.hh:103