24#ifndef DUMUX_2P2CPROPERTIES_HH
25#define DUMUX_2P2CPROPERTIES_HH
37template<
class TypeTag>
40template<
class TypeTag>
43template <
class TypeTag>
44struct SequentialTwoPTwoCIndices;
81template<
class TypeTag>
86 using FluidSystem =
typename GET_PROP_TYPE(TypeTag, FluidSystem);
89 static const int value = FluidSystem::numPhases;
90 static_assert(value == 2,
91 "Only fluid systems with 2 phases are supported by the 2p2c model!");
94template<
class TypeTag>
98 using FluidSystem =
typename GET_PROP_TYPE(TypeTag, FluidSystem);
101 static const int value = FluidSystem::numComponents;
102 static_assert(value == 2,
103 "Only fluid systems with 2 components are supported by the 2p2c model!");
119template<
class TypeTag>
124 using type = Dune::BlockVector<Dune::BlockVector<Dune::FieldVector<Scalar,1> > >;
132template<
class TypeTag>
155template <
class TypeTag>
159 using FluidSystem =
typename GET_PROP_TYPE(TypeTag, FluidSystem);
#define GET_PROP_TYPE(TypeTag, PropTagName)
Definition: propertysystemmacros.hh:283
#define NEW_TYPE_TAG(...)
Definition: propertysystemmacros.hh:130
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
The base class for spatial parameters of problems using the fv method.
Base file for properties related to sequential IMPET algorithms.
Specifies the properties for immiscible 2p transport.
#define NEW_PROP_TAG(PTagName)
Define a property tag.
Definition: propertysystemmacros.hh:159
make the local view function available whenever we use the grid geometry
Definition: adapt.hh:29
Property tag TransportSolutionType
Definition: transportproperties.hh:49
Property tag EnableCapillarity
Returns whether capillarity is regarded.
Definition: porousmediumflow/2p2c/sequential/properties.hh:60
Property tag BoundaryMobility
Definition: porousmediumflow/2p2c/sequential/properties.hh:61
Property tag Variables
The type of the container of global variables.
Definition: porousmediumflow/sequential/properties.hh:71
Property tag VisitFacesOnlyOnce
Type of solution vector or pressure system.
Definition: sequential/pressureproperties.hh:62
SET_INT_PROP(SequentialOneP, NumEq, 1)
Set number of equations to 1 for isothermal one-phase models.
Property tag CellData
Defines data object to be stored.
Definition: porousmediumflow/sequential/properties.hh:72
SET_TYPE_PROP(FVPressureOneP, Velocity, FVVelocity1P< TypeTag >)
Set velocity reconstruction implementation standard cell centered finite volume schemes as default.
Property tag EnableCompressibility
Returns whether compressibility is allowed.
Definition: porousmediumflow/2p/sequential/properties.hh:55
Property tag SaturationFormulation
The formulation of the saturation model.
Definition: porousmediumflow/2p/sequential/properties.hh:53
Type tag FVPressureOneP INHERITS_FROM(PressureOneP))
The type tag for the one-phase problems using a standard finite volume model.
Property tag NumComponents
Number of components in the system.
Definition: porousmediumflow/sequential/properties.hh:70
Property tag Indices
Definition: porousmediumflow/sequential/properties.hh:59
Property tag NumEq
Number of equations in the system of PDEs.
Definition: porousmediumflow/sequential/properties.hh:68
Property tag RegulateBoundaryPermeability
A minimum permeability can be assigned via the runtime-Parameter SpatialParams.minBoundaryPermeabilit...
Definition: porousmediumflow/2p2c/sequential/properties.hh:63
Property tag NumPhases
Number of phases in the system.
Definition: porousmediumflow/sequential/properties.hh:69
Property tag VelocityFormulation
The type of velocity reconstructed for the transport model.
Definition: porousmediumflow/2p/sequential/properties.hh:54
SET_BOOL_PROP(FVPressureOneP, VisitFacesOnlyOnce, true)
Allow assembling algorithm for the pressure matrix to assemble only from one side of a cell-cell inte...
Property to specify the type of scalar values.
Definition: common/properties.hh:53
The type of the spatial parameters object.
Definition: common/properties.hh:221
The type of the fluid system to use.
Definition: common/properties.hh:223
The type of the fluid state to use.
Definition: common/properties.hh:225
Definition: common/properties.hh:312
Represents all relevant thermodynamic quantities of a multi-phase, multi-component fluid system assum...
Definition: compositional.hh:47
The base class for spatial parameters of a multi-phase problem using the fv method.
Definition: sequentialfv.hh:43
The common indices for the isothermal two-phase model.
Definition: porousmediumflow/2p/sequential/indices.hh:33
Storage container for discretized data of the constitutive relations for one element.
Definition: 2p2c/sequential/celldata.hh:44
Base class holding the variables and discretized data for sequential models.
Definition: variableclass.hh:49
The common indices for the 2p2c model.
Definition: porousmediumflow/2p2c/sequential/properties.hh:157
static const int wCompIdx
Component index equals phase index.
Definition: porousmediumflow/2p2c/sequential/properties.hh:167
static const int contiWEqIdx
Index of the wetting component transport equation.
Definition: porousmediumflow/2p2c/sequential/properties.hh:177
static const int wPhaseIdx
Definition: porousmediumflow/2p2c/sequential/properties.hh:163
static const int nPhaseIdx
Definition: porousmediumflow/2p2c/sequential/properties.hh:164
static const int contiNEqIdx
Index of the nonwetting component transport equation.
Definition: porousmediumflow/2p2c/sequential/properties.hh:178
static const int satDependent
Definition: porousmediumflow/2p2c/sequential/properties.hh:189
static const int pressureN
Definition: porousmediumflow/2p2c/sequential/properties.hh:172
static const int pressureW
Definition: porousmediumflow/2p2c/sequential/properties.hh:171
static const int pressureEqIdx
Definition: porousmediumflow/2p2c/sequential/properties.hh:175
static const int transportEqOffset
Offset to access transport (mass conservation -) equations.
Definition: porousmediumflow/2p2c/sequential/properties.hh:176
static const int permDependent
Definition: porousmediumflow/2p2c/sequential/properties.hh:190
BoundaryFormulation
Type of value on the Boundary.
Definition: porousmediumflow/2p2c/sequential/properties.hh:182
@ concentration
Definition: porousmediumflow/2p2c/sequential/properties.hh:184
@ saturation
Definition: porousmediumflow/2p2c/sequential/properties.hh:183
static const int nCompIdx
Component index equals phase index.
Definition: porousmediumflow/2p2c/sequential/properties.hh:168
typename GET_PROP_TYPE(TypeTag, Scalar) Scalar
Definition: porousmediumflow/2p2c/sequential/properties.hh:122
Dune::BlockVector< Dune::BlockVector< Dune::FieldVector< Scalar, 1 > > > type
type for vector of vector (of scalars)
Definition: porousmediumflow/2p2c/sequential/properties.hh:124
IMplicit Pressure Explicit Transport (IMPET) scheme for the solution of weakly coupled diffusion-tran...
Definition: impet.hh:49
Defines the properties required for (immiscible) two-phase sequential models.
Defines the indices required for the two-phase sequential model.
Storage container for discretized data of the constitutive relations for one element.
Base file for properties related to sequential IMPET algorithms.