57#ifndef DUMUX_1PNC_MODEL_HH
58#define DUMUX_1PNC_MODEL_HH
88template<
int nComp,
bool useM,
int repCompEqIdx = nComp>
93 static constexpr int numEq() {
return nComp; }
98 static constexpr bool useMoles() {
return useM; }
114template<
class PV,
class FSY,
class FST,
class SSY,
class SST,
class PT,
class MT>
126namespace Properties {
144template<
class TypeTag>
148template<
class TypeTag>
156template<
class TypeTag>
166template<
class TypeTag>
178template<
class TypeTag>
183template<
class TypeTag>
184struct UseMoles<TypeTag, TTag::OnePNC> {
static constexpr bool value =
true; };
187template<
class TypeTag>
191template<
class TypeTag>
202 static_assert(FSY::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid system");
203 static_assert(FST::numComponents == MT::numFluidComponents(),
"Number of components mismatch between model and fluid state");
204 static_assert(FSY::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid system");
205 static_assert(FST::numPhases == MT::numFluidPhases(),
"Number of phases mismatch between model and fluid state");
213template<
class TypeTag>
221template<
class TypeTag>
225template<
class TypeTag>
230template<
class TypeTag>
241template<
class OnePNCModelTraits>
247namespace Properties {
260template<
class TypeTag>
264template<
class TypeTag>
267template<
class TypeTag>
272 static constexpr bool enableTNE = getPropValue<TypeTag, Properties::EnableThermalNonEquilibrium>();
273 static constexpr bool enableCNE = getPropValue<TypeTag, Properties::EnableChemicalNonEquilibrium>();
274 static constexpr int numEF = getPropValue<TypeTag, Properties::NumEnergyEqFluid>();
275 static constexpr int numES = getPropValue<TypeTag, Properties::NumEnergyEqSolid>();
276 static constexpr auto nf = getPropValue<TypeTag, Properties::NusseltFormulation>();
277 static constexpr auto ns = getPropValue<TypeTag, Properties::SherwoodFormulation>();
285template<
class TypeTag>
289template<
class TypeTag>
300template<
class TypeTag>
310template<
class TypeTag>
Reation for a simple 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...
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
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
Traits class encapsulating model specifications.
Definition: common/properties.hh:65
Model traits to be used as a base for nonisothermal, mineralization ... models.
Definition: common/properties.hh:67
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
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
Definition: common/properties.hh:330
Relation for a simple effective thermal conductivity.
Definition: thermalconductivityaverage.hh:37
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 indices for the isothermal one-phase n-component model.
Definition: porousmediumflow/1pnc/indices.hh:38
Adds I/O fields specific to the OnePNC model.
Definition: dumux/porousmediumflow/1pnc/iofields.hh:38
Specifies a number properties of models that consider a single-phase with multiple components.
Definition: porousmediumflow/1pnc/model.hh:90
static constexpr bool enableEnergyBalance()
Definition: porousmediumflow/1pnc/model.hh:101
static constexpr bool useMoles()
Definition: porousmediumflow/1pnc/model.hh:98
static constexpr int numFluidPhases()
Definition: porousmediumflow/1pnc/model.hh:94
static constexpr bool enableMolecularDiffusion()
Definition: porousmediumflow/1pnc/model.hh:100
static constexpr int numFluidComponents()
Definition: porousmediumflow/1pnc/model.hh:95
static constexpr bool enableAdvection()
Definition: porousmediumflow/1pnc/model.hh:99
static constexpr int numEq()
Definition: porousmediumflow/1pnc/model.hh:93
static constexpr int replaceCompEqIdx()
Definition: porousmediumflow/1pnc/model.hh:96
Traits class for the volume variables of the single-phase model.
Definition: porousmediumflow/1pnc/model.hh:116
SST SolidState
Definition: porousmediumflow/1pnc/model.hh:121
FST FluidState
Definition: porousmediumflow/1pnc/model.hh:119
FSY FluidSystem
Definition: porousmediumflow/1pnc/model.hh:118
SSY SolidSystem
Definition: porousmediumflow/1pnc/model.hh:120
PT PermeabilityType
Definition: porousmediumflow/1pnc/model.hh:122
PV PrimaryVariables
Definition: porousmediumflow/1pnc/model.hh:117
MT ModelTraits
Definition: porousmediumflow/1pnc/model.hh:123
Definition: porousmediumflow/1pnc/model.hh:135
std::tuple< PorousMediumFlow > InheritsFrom
Definition: porousmediumflow/1pnc/model.hh:135
Definition: porousmediumflow/1pnc/model.hh:136
std::tuple< OnePNC > InheritsFrom
Definition: porousmediumflow/1pnc/model.hh:136
GetPropType< TypeTag, Properties::BaseModelTraits > type
Definition: porousmediumflow/1pnc/model.hh:157
Definition: porousmediumflow/1pnc/model.hh:243
static constexpr int numConstraintEq()
Definition: porousmediumflow/1pnc/model.hh:244
Definition: porousmediumflow/1pnc/model.hh:252
std::tuple< NonEquilibrium, OnePNC > InheritsFrom
Definition: porousmediumflow/1pnc/model.hh:252
Contains the quantities which are are constant within a finite volume in the one-phase,...
Definition: porousmediumflow/1pnc/volumevariables.hh:50
Element-wise calculation of the local residual for problems using compositional fully implicit model.
Definition: porousmediumflow/compositional/localresidual.hh:43
Specifies a number properties of porous-medium flow non-equilibrium models.
Definition: porousmediumflow/nonequilibrium/model.hh:58
This class contains the volume variables required for the modules which require the specific interfac...
Definition: porousmediumflow/nonequilibrium/volumevariables.hh:49
Adds I/O fields specific to non-isothermal models.
Definition: dumux/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.
This specifies models which are able to capture non-equilibrium mass and / or energy transfer.
The implicit non-isothermal model.
Adds I/O fields specific to non-isothermal models.
Adds I/O fields specific to the twop model.
Element-wise calculation of the local residual for problems using compositional fully implicit model.
Base class for the model specific class which provides access to all volume averaged quantities.
This class contains the volume variables required for the modules which require the specific interfac...
Defines the indices used by the non-isothermal two-phase two-component model.
Defines the primary variable and equation indices used by the isothermal tracer model.