28#ifndef EWOMS_DISCRETE_FRACTURE_PRIMARY_VARIABLES_HH
29#define EWOMS_DISCRETE_FRACTURE_PRIMARY_VARIABLES_HH
42template <
class TypeTag>
89 template <
class Flu
idState>
91 const MaterialLawParams& matParams)
93 FluidState matrixFluidState;
94 fractureToMatrixFluidState_(matrixFluidState, fractureFluidState,
101 template <
class Flu
idState>
102 void fractureToMatrixFluidState_(FluidState& matrixFluidState,
103 const FluidState& fractureFluidState,
104 const MaterialLawParams& matParams)
const
107 matrixFluidState.assign(fractureFluidState);
114 Scalar saturations[numPhases];
115 MaterialLaw::saturations(saturations, matParams, matrixFluidState);
117 for (
unsigned phaseIdx = 0; phaseIdx < numPhases; ++phaseIdx)
118 matrixFluidState.setSaturation(phaseIdx, saturations[phaseIdx]);
Represents the primary variables used by the discrete fracture multi-phase model.
Definition discretefractureprimaryvariables.hh:45
DiscreteFracturePrimaryVariables()
Default constructor.
Definition discretefractureprimaryvariables.hh:58
DiscreteFracturePrimaryVariables(Scalar value)
Constructor with assignment from scalar.
Definition discretefractureprimaryvariables.hh:66
DiscreteFracturePrimaryVariables(const DiscreteFracturePrimaryVariables &value)=default
Copy constructor.
void assignNaiveFromFracture(const FluidState &fractureFluidState, const MaterialLawParams &matParams)
Directly retrieve the primary variables from an arbitrary fluid state of the fractures.
Definition discretefractureprimaryvariables.hh:90
Represents the primary variables used by the immiscible multi-phase, model.
Definition immiscibleprimaryvariables.hh:55
void assignNaive(const FluidState &fluidState)
Directly retrieve the primary variables from an arbitrary fluid state.
Definition immiscibleprimaryvariables.hh:196
Defines the properties required for the immiscible multi-phase model which considers discrete fractur...
Represents the primary variables used by the immiscible multi-phase, model.
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
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:235
constexpr auto getPropValue()
get the value data member of a property
Definition propertysystem.hh:242