Provides the ECL flux module.
More...
#include <NewTranFluxModule.hpp>
|
| OPM_HOST_DEVICE const DimMatrix & | intrinsicPermeability () const |
| | Return the intrinsic permeability tensor at a face [m^2]. More...
|
| |
| OPM_HOST_DEVICE const EvalDimVector & | potentialGrad (unsigned) const |
| | Return the pressure potential gradient of a fluid phase at the face's integration point [Pa/m]. More...
|
| |
| OPM_HOST_DEVICE const Evaluation & | pressureDifference (unsigned phaseIdx) const |
| | Return the gravity corrected pressure difference between the interior and the exterior of a face. More...
|
| |
| OPM_HOST_DEVICE const EvalDimVector & | filterVelocity (unsigned) const |
| | Return the filter velocity of a fluid phase at the face's integration point [m/s]. More...
|
| |
| OPM_HOST_DEVICE const Evaluation & | volumeFlux (unsigned phaseIdx) const |
| | Return the volume flux of a fluid phase at the face's integration point . More...
|
| |
|
| static OPM_HOST_DEVICE void | volumeAndPhasePressureDifferences (std::array< short, numPhases > &upIdx, std::array< short, numPhases > &dnIdx, Evaluation(&volumeFlux)[numPhases], Evaluation(&pressureDifferences)[numPhases], const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| |
| template<class EvalType > |
| static OPM_HOST_DEVICE void | calculatePhasePressureDiff_ (short &upIdx, short &dnIdx, EvalType &pressureDifference, const IntensiveQuantities &intQuantsIn, const IntensiveQuantities &intQuantsEx, const unsigned phaseIdx, const unsigned interiorDofIdx, const unsigned exteriorDofIdx, const Scalar Vin, const Scalar Vex, const unsigned globalIndexIn, const unsigned globalIndexEx, const Scalar distZg, const Scalar thpres, const ModuleParams &moduleParams) |
| |
| template<class Problem , class FluidState , class EvaluationContainer > |
| static OPM_HOST_DEVICE void | calculateBoundaryGradients_ (const Problem &problem, const unsigned globalSpaceIdx, const IntensiveQuantities &intQuantsIn, const unsigned bfIdx, const double faceArea, const double zEx, const FluidState &exFluidState, std::array< short, numPhases > &upIdx, std::array< short, numPhases > &dnIdx, EvaluationContainer &volumeFlux, EvaluationContainer &pressureDifference) |
| | Update the required gradients for boundary faces. More...
|
| |
|
| OPM_HOST_DEVICE unsigned | upstreamIndex_ (unsigned phaseIdx) const |
| | Returns the local index of the degree of freedom in which is in upstream direction. More...
|
| |
| OPM_HOST_DEVICE unsigned | downstreamIndex_ (unsigned phaseIdx) const |
| | Returns the local index of the degree of freedom in which is in downstream direction. More...
|
| |
| OPM_HOST_DEVICE void | updateSolvent (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| |
| OPM_HOST_DEVICE void | updatePolymer (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| |
| OPM_HOST_DEVICE void | calculateGradients_ (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| | Update the required gradients for interior faces. More...
|
| |
| template<class FluidState > |
| OPM_HOST_DEVICE void | calculateBoundaryGradients_ (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx, const FluidState &exFluidState) |
| | Update the required gradients for boundary faces. More...
|
| |
| OPM_HOST_DEVICE void | calculateFluxes_ (const ElementContext &, unsigned, unsigned) |
| | Update the volumetric fluxes for all fluid phases on the interior faces of the context. More...
|
| |
| OPM_HOST_DEVICE void | calculateBoundaryFluxes_ (const ElementContext &, unsigned, unsigned) |
| |
template<class TypeTag>
class Opm::NewTranExtensiveQuantities< TypeTag > Provides the ECL flux module.
◆ calculateBoundaryFluxes_()
◆ calculateBoundaryGradients_() [1/2]
template<class TypeTag >
template<class FluidState >
| OPM_HOST_DEVICE void Opm::NewTranExtensiveQuantities< TypeTag >::calculateBoundaryGradients_ |
( |
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
timeIdx, |
|
|
const FluidState & |
exFluidState |
|
) |
| |
|
inlineprotected |
◆ calculateBoundaryGradients_() [2/2]
template<class TypeTag >
template<class Problem , class FluidState , class EvaluationContainer >
| static OPM_HOST_DEVICE void Opm::NewTranExtensiveQuantities< TypeTag >::calculateBoundaryGradients_ |
( |
const Problem & |
problem, |
|
|
const unsigned |
globalSpaceIdx, |
|
|
const IntensiveQuantities & |
intQuantsIn, |
|
|
const unsigned |
bfIdx, |
|
|
const double |
faceArea, |
|
|
const double |
zEx, |
|
|
const FluidState & |
exFluidState, |
|
|
std::array< short, numPhases > & |
upIdx, |
|
|
std::array< short, numPhases > & |
dnIdx, |
|
|
EvaluationContainer & |
volumeFlux, |
|
|
EvaluationContainer & |
pressureDifference |
|
) |
| |
|
inlinestatic |
◆ calculateFluxes_()
Update the volumetric fluxes for all fluid phases on the interior faces of the context.
◆ calculateGradients_()
template<class TypeTag >
| OPM_HOST_DEVICE void Opm::NewTranExtensiveQuantities< TypeTag >::calculateGradients_ |
( |
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
timeIdx |
|
) |
| |
|
inlineprotected |
◆ calculatePhasePressureDiff_()
template<class TypeTag >
template<class EvalType >
| static OPM_HOST_DEVICE void Opm::NewTranExtensiveQuantities< TypeTag >::calculatePhasePressureDiff_ |
( |
short & |
upIdx, |
|
|
short & |
dnIdx, |
|
|
EvalType & |
pressureDifference, |
|
|
const IntensiveQuantities & |
intQuantsIn, |
|
|
const IntensiveQuantities & |
intQuantsEx, |
|
|
const unsigned |
phaseIdx, |
|
|
const unsigned |
interiorDofIdx, |
|
|
const unsigned |
exteriorDofIdx, |
|
|
const Scalar |
Vin, |
|
|
const Scalar |
Vex, |
|
|
const unsigned |
globalIndexIn, |
|
|
const unsigned |
globalIndexEx, |
|
|
const Scalar |
distZg, |
|
|
const Scalar |
thpres, |
|
|
const ModuleParams & |
moduleParams |
|
) |
| |
|
inlinestatic |
◆ downstreamIndex_()
Returns the local index of the degree of freedom in which is in downstream direction.
i.e., the DOF which exhibits a lower effective pressure for the given phase.
◆ filterVelocity()
Return the filter velocity of a fluid phase at the face's integration point [m/s].
- Parameters
-
| phaseIdx | The index of the fluid phase |
◆ intrinsicPermeability()
Return the intrinsic permeability tensor at a face [m^2].
◆ potentialGrad()
Return the pressure potential gradient of a fluid phase at the face's integration point [Pa/m].
- Parameters
-
| phaseIdx | The index of the fluid phase |
◆ pressureDifference()
◆ updatePolymer()
◆ updateSolvent()
◆ upstreamIndex_()
Returns the local index of the degree of freedom in which is in upstream direction.
i.e., the DOF which exhibits a higher effective pressure for the given phase.
◆ volumeAndPhasePressureDifferences()
template<class TypeTag >
| static OPM_HOST_DEVICE void Opm::NewTranExtensiveQuantities< TypeTag >::volumeAndPhasePressureDifferences |
( |
std::array< short, numPhases > & |
upIdx, |
|
|
std::array< short, numPhases > & |
dnIdx, |
|
|
Evaluation(&) |
volumeFlux[numPhases], |
|
|
Evaluation(&) |
pressureDifferences[numPhases], |
|
|
const ElementContext & |
elemCtx, |
|
|
unsigned |
scvfIdx, |
|
|
unsigned |
timeIdx |
|
) |
| |
|
inlinestatic |
◆ volumeFlux()
The documentation for this class was generated from the following file:
|