28 #ifndef EWOMS_DISCRETE_FRACTURE_PRIMARY_VARIABLES_HH 29 #define EWOMS_DISCRETE_FRACTURE_PRIMARY_VARIABLES_HH 42 template <
class TypeTag>
48 typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
49 typedef typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw;
50 typedef typename GET_PROP_TYPE(TypeTag, MaterialLawParams) MaterialLawParams;
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]);
Defines the properties required for the immiscible multi-phase model which considers discrete fractur...
DiscreteFracturePrimaryVariables(Scalar value)
Constructor with assignment from scalar.
Definition: discretefractureprimaryvariables.hh:66
void assignNaive(const FluidState &fluidState)
Directly retrieve the primary variables from an arbitrary fluid state.
Definition: immiscibleprimaryvariables.hh:196
Definition: baseauxiliarymodule.hh:37
#define GET_PROP_VALUE(TypeTag, PropTagName)
Access the value attribute of a property for a type tag.
Definition: propertysystem.hh:469
Represents the primary variables used by the discrete fracture multi-phase model. ...
Definition: discretefractureprimaryvariables.hh:43
DiscreteFracturePrimaryVariables()
Default constructor.
Definition: discretefractureprimaryvariables.hh:58
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.
Represents the primary variables used by the immiscible multi-phase, model.
Definition: immiscibleprimaryvariables.hh:54