72#ifndef DUMUX_2P2C_MODEL_HH
73#define DUMUX_2P2C_MODEL_HH
111template<
class TypeTag>
116 static_assert(FluidSystem::numComponents == 2,
"Only fluid systems with 2 components are supported by the 2p-2c model!");
117 static_assert(FluidSystem::numPhases == 2,
"Only fluid systems with 2 phases are supported by the 2p-2c model!");
126template<
class TypeTag>
130template<
class TypeTag>
143 static_assert(FSY::numComponents == 2,
"Only fluid systems with 2 components are supported by the 2p2c model!");
144 static_assert(FSY::numPhases == 2,
"Only fluid systems with 2 phases are supported by the 2p2c model!");
151 template<
class BaseTraits,
class DT,
class EDM>
152 struct NCTraits :
public BaseTraits
154 using DiffusionType = DT;
163template<
class TypeTag>
171template<
class TypeTag>
181template<
class TypeTag>
202 template<
class BaseTraits,
class DT,
class EDM,
class ETCM>
203 struct NCNITraits :
public BaseTraits
205 using DiffusionType = DT;
207 using EffectiveThermalConductivityModel = ETCM;
215template<
class TypeTag>
219template<
class TypeTag>
224template<
class TwoPTwoCModelTraits>
230namespace Properties {
242template<
class TypeTag>
246template<
class TypeTag>
249template<
class TypeTag>
267template<
class TypeTag>
279template<
class TypeTag>
284template<
class TypeTag>
303 template<
class BaseTraits,
class DT,
class EDM>
304 struct NCTraits :
public BaseTraits
306 using DiffusionType = DT;
325template<
class TypeTag>
344template<
class TypeTag>
350 using type = NonisothermalIOFields;
354template<
class TypeTag>
375 template<
class BaseTraits,
class DT,
class EDM,
class ETCM>
376 struct NCNITraits :
public BaseTraits
378 using DiffusionType = DT;
380 using EffectiveThermalConductivityModel = ETCM;
389template<
class TypeTag>
Defines an enumeration for the formulations accepted by the two-phase model.
Relation for the saturation-dependent effective thermal conductivity.
Relation for the saturation-dependent effective thermal conductivity.
TwoPTwoCVolumeVariablesImplementation< Traits, Traits::ModelTraits::enableChemicalNonEquilibrium(), useConstraintSolver > TwoPTwoCVolumeVariables
Contains the quantities which are constant within a finite volume in the two-phase two-component mode...
Definition porousmediumflow/2p2c/volumevariables.hh:53
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:154
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property
Definition propertysystem.hh:150
NonEquilibriumVolumeVariablesImplementation< Traits, EquilibriumVolumeVariables, Traits::ModelTraits::enableChemicalNonEquilibrium(), Traits::ModelTraits::enableThermalNonEquilibrium(), Traits::ModelTraits::numEnergyEqFluid()> NonEquilibriumVolumeVariables
Definition porousmediumflow/nonequilibrium/volumevariables.hh:52
Definition common/properties.hh:37
Type tag for numeric models.
Definition grid.hh:36
Traits class encapsulating model specifications.
Definition common/properties.hh:53
Model traits to be used as a base for nonisothermal, mineralization ... models.
Definition common/properties.hh:55
A class helping models to define input and output fields.
Definition common/properties.hh:63
The secondary variables within a sub-control volume.
Definition common/properties.hh:107
The employed model for the computation of the effective diffusivity.
Definition common/properties.hh:170
Model to be used for the calculation of the effective conductivity.
Definition common/properties.hh:172
Whether to use a contraint solver for computing the secondary variables.
Definition common/properties.hh:179
the formulation of the pressure e.g most wetting first
Definition common/properties.hh:257
Definition common/properties.hh:259
Definition common/properties.hh:263
Relation for the saturation-dependent effective thermal conductivity.
Definition simplefluidlumping.hh:38
Relation for the saturation-dependent effective thermal conductivity.
Definition somerton.hh:60
Traits class for the two-phase model.
Definition porousmediumflow/2p/model.hh:112
Class that computes the nonwetting saturation in an scv from the saturation at the global degree of f...
Definition saturationreconstruction.hh:43
Definition porousmediumflow/2p2c/model.hh:100
std::tuple< TwoPNC > InheritsFrom
Definition porousmediumflow/2p2c/model.hh:100
Definition porousmediumflow/2p2c/model.hh:101
std::tuple< TwoPTwoC > InheritsFrom
Definition porousmediumflow/2p2c/model.hh:101
TwoPNCModelTraits< FluidSystem::numComponents, getPropValue< TypeTag, Properties::UseMoles >(), true, getPropValue< TypeTag, Properties::Formulation >(), getPropValue< TypeTag, Properties::ReplaceCompEqIdx >()> type
Definition porousmediumflow/2p2c/model.hh:120
GetPropType< TypeTag, Properties::BaseModelTraits > type
Definition porousmediumflow/2p2c/model.hh:127
TwoPTwoCVolumeVariables< NCTraits< BaseTraits, DT, EDM >, useConstraintSolver > type
Definition porousmediumflow/2p2c/model.hh:159
static constexpr bool value
Definition porousmediumflow/2p2c/model.hh:164
PorousMediumFlowNIModelTraits< IsothermalTraits > type
Definition porousmediumflow/2p2c/model.hh:177
TwoPTwoCVolumeVariables< NCNITraits< BaseTraits, DT, EDM, ETCM > > type
Definition porousmediumflow/2p2c/model.hh:210
EnergyIOFields< TwoPNCIOFields > type
Definition porousmediumflow/2p2c/model.hh:216
ThermalConductivitySomerton< GetPropType< TypeTag, Properties::Scalar > > type
Definition porousmediumflow/2p2c/model.hh:220
Definition porousmediumflow/2p2c/model.hh:226
static constexpr int numConstraintEq()
Definition porousmediumflow/2p2c/model.hh:227
Definition porousmediumflow/2p2c/model.hh:235
std::tuple< NonEquilibrium, TwoPTwoC > InheritsFrom
Definition porousmediumflow/2p2c/model.hh:235
CompositionalLocalResidual< TypeTag > type
Definition porousmediumflow/2p2c/model.hh:243
TwoPNCIOFields type
Definition porousmediumflow/2p2c/model.hh:247
NonEquilTraits type
Definition porousmediumflow/2p2c/model.hh:263
TwoPTwoCUnconstrainedModelTraits< EquilibriumTraits > type
Definition porousmediumflow/2p2c/model.hh:274
ThermalConductivitySimpleFluidLumping< GetPropType< TypeTag, Properties::Scalar > > type
Definition porousmediumflow/2p2c/model.hh:281
NonEquilibriumVolumeVariables< NCTraits< BaseTraits, DT, EDM >, EquilibriumVolVars > type
Definition porousmediumflow/2p2c/model.hh:313
Definition porousmediumflow/2p2c/model.hh:321
std::tuple< TwoPTwoCNonEquil > InheritsFrom
Definition porousmediumflow/2p2c/model.hh:321
PorousMediumFlowNIModelTraits< IsothermalTraits > type
Definition porousmediumflow/2p2c/model.hh:340
NonisothermalIOFields type
Definition porousmediumflow/2p2c/model.hh:350
NonEquilibriumVolumeVariables< NCNITraits< BaseTraits, DT, EDM, ETCM >, EquilibriumVolVars > type
Definition porousmediumflow/2p2c/model.hh:385
ThermalConductivitySomerton< GetPropType< TypeTag, Properties::Scalar > > type
Definition porousmediumflow/2p2c/model.hh:391
Adds I/O fields specific to the TwoPNC model.
Definition porousmediumflow/2pnc/iofields.hh:39
Specifies a number properties of two-phase n-component models.
Definition porousmediumflow/2pnc/model.hh:115
Element-wise calculation of the local residual for problems using compositional fully implicit model.
Definition porousmediumflow/compositional/localresidual.hh:46
Specifies a number properties of porous-medium flow non-equilibrium models.
Definition porousmediumflow/nonequilibrium/model.hh:57
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
Adaption of the fully implicit scheme to the two-phase n-component fully implicit model.
This specifies models which are able to capture non-equilibrium mass and / or energy transfer.
The implicit non-isothermal model.
Declares all properties used in Dumux.
Adds I/O fields specific to non-isothermal models.
Contains the quantities which are constant within a finite volume in the two-phase two-component mode...
This class contains the volume variables required for the modules which require the specific interfac...