96#ifndef DUMUX_MPNC_MODEL_HH
97#define DUMUX_MPNC_MODEL_HH
135template<
int nPhases,
int nComp, MpNcPressureFormulation formulation,
bool useM,
int repCompEqIdx = nComp>
167template<
class NonEquilTraits>
173 using MpNcIndices =
MPNCIndices< NonEquilTraits::numFluidPhases(),
174 NonEquilTraits::numTransportEq()+NonEquilTraits::numConstraintEq() >;
177 NonEquilTraits::numEnergyEqFluid(),
178 NonEquilTraits::numEnergyEqSolid(),
179 NonEquilTraits::numEq() >;
229template<
class TypeTag>
233template<
class TypeTag>
240 FluidSystem::numComponents,
247template<
class TypeTag>
258template<
class TypeTag>
276template<
class TypeTag>
279template<
class TypeTag>
282template<
class TypeTag>
285template<
class TypeTag>
293template<
class TypeTag>
301template<
class TypeTag>
307 FluidSystem::numComponents,
319template<
class TypeTag>
323template<
class TypeTag>
328template<
class TypeTag>
346template<
class TypeTag>
353 FluidSystem::numComponents,
360template<
class TypeTag>
370template<
class TypeTag>
Relation for the saturation-dependent effective thermal conductivity.
Relation for the saturation-dependent effective diffusion coefficient.
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system witho...
The base class for spatial parameters of multi-phase problems using a fully implicit discretization m...
Enumeration of the formulations accepted by the MpNc model.
MpNcPressureFormulation
Enumerates the formulations which the MpNc model accepts.
Definition pressureformulation.hh:36
MPNCVolumeVariablesImplementation< Traits, Traits::ModelTraits::enableChemicalNonEquilibrium()> MPNCVolumeVariables
Contains the quantities which are constant within a finite volume in the MpNc model.
Definition porousmediumflow/mpnc/volumevariables.hh:50
@ mostWettingFirst
Definition pressureformulation.hh:37
make the local view function available whenever we use the grid geometry
Definition adapt.hh:29
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
NonEquilibriumVolumeVariablesImplementation< Traits, EquilibriumVolumeVariables, Traits::ModelTraits::enableChemicalNonEquilibrium(), Traits::ModelTraits::enableThermalNonEquilibrium(), Traits::ModelTraits::numEnergyEqFluid()> NonEquilibriumVolumeVariables
Definition porousmediumflow/nonequilibrium/volumevariables.hh:52
Definition common/properties.hh:47
Type tag for numeric models.
Definition grid.hh:35
Traits class encapsulating model specifications.
Definition common/properties.hh:65
A class helping models to define input and output fields.
Definition common/properties.hh:78
Definition common/properties.hh:91
Property whether to use moles or kg as amount unit for balance equations.
Definition common/properties.hh:102
The component balance index that should be replaced by the total mass/mole balance.
Definition common/properties.hh:104
The secondary variables within a sub-control volume.
Definition common/properties.hh:174
The type of the fluid state to use.
Definition common/properties.hh:225
The employed model for the computation of the effective diffusivity.
Definition common/properties.hh:231
Model to be used for the calculation of the effective conductivity.
Definition common/properties.hh:233
Definition common/properties.hh:312
the formulation of the pressure e.g most wetting first
Definition common/properties.hh:318
Definition common/properties.hh:320
Definition common/properties.hh:324
Relation for the saturation-dependent effective thermal conductivity.
Definition thermalconductivitysimplefluidlumping.hh:39
Relation for the saturation-dependent effective diffusion coefficient.
Definition diffusivitymillingtonquirk.hh:51
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition compositional.hh:47
The primary variable and equation indices for the MpNc model.
Definition porousmediumflow/mpnc/indices.hh:39
Adds I/O fields specific to the mpnc model.
Definition dumux/porousmediumflow/mpnc/iofields.hh:37
MpNc specific details needed to approximately calculate the local defect in the fully implicit scheme...
Definition porousmediumflow/mpnc/localresidual.hh:46
Specifies a number properties of the m-phase n-component model.
Definition porousmediumflow/mpnc/model.hh:137
static constexpr int numConstraintEq()
Definition porousmediumflow/mpnc/model.hh:142
MPNCIndices< numFluidPhases(), numEq() > Indices
Per default, we use the indices without offset.
Definition porousmediumflow/mpnc/model.hh:155
static constexpr bool enableThermalNonEquilibrium()
Definition porousmediumflow/mpnc/model.hh:149
static constexpr bool useMoles()
Definition porousmediumflow/mpnc/model.hh:145
static constexpr bool enableEnergyBalance()
Definition porousmediumflow/mpnc/model.hh:148
static constexpr bool enableMolecularDiffusion()
Definition porousmediumflow/mpnc/model.hh:147
static constexpr int replaceCompEqIdx()
Definition porousmediumflow/mpnc/model.hh:143
static constexpr int numEq()
Definition porousmediumflow/mpnc/model.hh:138
static constexpr int numFluidPhases()
Definition porousmediumflow/mpnc/model.hh:139
static constexpr int numTransportEq()
Definition porousmediumflow/mpnc/model.hh:141
static constexpr bool enableChemicalNonEquilibrium()
Definition porousmediumflow/mpnc/model.hh:150
static constexpr bool enableAdvection()
Definition porousmediumflow/mpnc/model.hh:146
static constexpr MpNcPressureFormulation pressureFormulation()
Definition porousmediumflow/mpnc/model.hh:152
static constexpr int numFluidComponents()
Definition porousmediumflow/mpnc/model.hh:140
Specifies a number properties of the m-phase n-component model in conjunction with non-equilibrium....
Definition porousmediumflow/mpnc/model.hh:169
NonEquilbriumIndices< MpNcIndices, NonEquilTraits::numEnergyEqFluid(), NonEquilTraits::numEnergyEqSolid(), NonEquilTraits::numEq() > Indices
Definition porousmediumflow/mpnc/model.hh:176
Traits class for the mpnc volume variables.
Definition porousmediumflow/mpnc/model.hh:200
PV PrimaryVariables
Definition porousmediumflow/mpnc/model.hh:201
SSY SolidSystem
Definition porousmediumflow/mpnc/model.hh:204
FST FluidState
Definition porousmediumflow/mpnc/model.hh:203
FSY FluidSystem
Definition porousmediumflow/mpnc/model.hh:202
PT PermeabilityType
Definition porousmediumflow/mpnc/model.hh:206
SST SolidState
Definition porousmediumflow/mpnc/model.hh:205
MT ModelTraits
Definition porousmediumflow/mpnc/model.hh:207
Definition porousmediumflow/mpnc/model.hh:219
std::tuple< PorousMediumFlow > InheritsFrom
Definition porousmediumflow/mpnc/model.hh:219
Definition porousmediumflow/mpnc/model.hh:220
std::tuple< MPNC > InheritsFrom
Definition porousmediumflow/mpnc/model.hh:220
Definition porousmediumflow/mpnc/model.hh:221
std::tuple< NonEquilibrium, MPNC > InheritsFrom
Definition porousmediumflow/mpnc/model.hh:221
MPNCLocalResidual< TypeTag > type
Definition porousmediumflow/mpnc/model.hh:230
MPNCModelTraits< FluidSystem::numPhases, FluidSystem::numComponents, getPropValue< TypeTag, Properties::PressureFormulation >(), getPropValue< TypeTag, Properties::UseMoles >(), getPropValue< TypeTag, Properties::ReplaceCompEqIdx >()> type
Definition porousmediumflow/mpnc/model.hh:239
CompositionalFluidState< Scalar, FluidSystem > type
Definition porousmediumflow/mpnc/model.hh:254
MPNCVolumeVariables< Traits > type
Definition porousmediumflow/mpnc/model.hh:272
static constexpr int value
Definition porousmediumflow/mpnc/model.hh:277
static constexpr bool value
Definition porousmediumflow/mpnc/model.hh:280
DiffusivityMillingtonQuirk< GetPropType< TypeTag, Properties::Scalar > > type
Definition porousmediumflow/mpnc/model.hh:283
static const MpNcPressureFormulation value
Definition porousmediumflow/mpnc/model.hh:289
MPNCIOFields type
Definition porousmediumflow/mpnc/model.hh:294
PorousMediumFlowNIModelTraits< IsothermalTraits > type
Definition porousmediumflow/mpnc/model.hh:312
MPNCLocalResidual< TypeTag > type
Definition porousmediumflow/mpnc/model.hh:320
MPNCIOFields type
Definition porousmediumflow/mpnc/model.hh:324
MPNCNonequilibriumModelTraits< NonEquilTraits > type
Definition porousmediumflow/mpnc/model.hh:342
MPNCModelTraits< FluidSystem::numPhases, FluidSystem::numComponents, getPropValue< TypeTag, Properties::PressureFormulation >(), getPropValue< TypeTag, Properties::UseMoles >(), getPropValue< TypeTag, Properties::ReplaceCompEqIdx >()> type
Definition porousmediumflow/mpnc/model.hh:352
ThermalConductivitySimpleFluidLumping< Scalar, getPropValue< TypeTag, Properties::NumEnergyEqFluid >()> type
Definition porousmediumflow/mpnc/model.hh:366
NonEquilibriumVolumeVariables< Traits, EquilibriumVolVars > type
Definition porousmediumflow/mpnc/model.hh:385
The primary variable and equation indices for the MpNc model.
Definition porousmediumflow/nonequilibrium/indices.hh:36
Specifies a number properties of porous-medium flow non-equilibrium models.
Definition porousmediumflow/nonequilibrium/model.hh:58
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.
This specifies models which are able to capture non-equilibrium mass and / or energy transfer.
The implicit non-isothermal model.
The primary variable and equation indices for the MpNc model.
Defines the indices used by the non-isothermal two-phase two-component model.
Adds I/O fields specific to the mpnc model.
Adds I/O fields specific to non-isothermal models.
Element-wise calculation of the local residual for problems using compositional fully implicit model.
MpNc specific details needed to approximately calculate the local defect in the fully implicit scheme...
Contains the secondary variables (Quantities which are constant within a finite volume) of the MpNc m...
This class contains the volume variables required for the modules which require the specific interfac...