This template class contains the data which is required to calculate the fluxes of the fluid phases over a face of a finite volume for the black-oil model.
More...
#include <blackoilextensivequantities.hh>
|
| void | update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| | Update the extensive quantities for a given sub-control-volume-face.
|
|
template<class Context, class FluidState> |
| void | updateBoundary (const Context &ctx, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState) |
| void | update (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| | Update the extensive quantities for a given sub-control-volume-face.
|
| template<class Context, class FluidState> |
| void | updateBoundary (const Context &context, unsigned bfIdx, unsigned timeIdx, const FluidState &fluidState) |
| | Update the extensive quantities for a given boundary face.
|
| short | upstreamIndex (unsigned phaseIdx) const |
| | Return the local index of the upstream control volume for a given phase as a function of the normal flux.
|
| short | downstreamIndex (unsigned phaseIdx) const |
| | Return the local index of the downstream control volume for a given phase as a function of the normal flux.
|
| Scalar | upstreamWeight (unsigned) const |
| | Return the weight of the upstream control volume for a given phase as a function of the normal flux.
|
| Scalar | downstreamWeight (unsigned phaseIdx) const |
| | Return the weight of the downstream control volume for a given phase as a function of the normal flux.
|
|
void | updateVolumeFluxPerm (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| | Method which calculates the volume flux of the polymer "phase" using the pressure potential gradient of the gas phase and the intrinsic permeability.
|
|
void | updateVolumeFluxTrans (const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
| | Method which calculates the volume flux of the polymer "phase" using the gas pressure potential difference between cells and transmissibilities.
|
|
unsigned | solventUpstreamIndex () const |
|
unsigned | solventDownstreamIndex () const |
|
const Evaluation & | solventVolumeFlux () const |
|
void | setSolventVolumeFlux (const Evaluation &solventVolumeFlux) |
|
|
Implementation & | asImp_ () |
|
const Implementation & | asImp_ () const |
|
|
static void | registerParameters () |
| | Register all run-time parameters for the extensive quantities.
|
template<class TypeTag>
class Opm::BlackOilExtensiveQuantities< TypeTag >
This template class contains the data which is required to calculate the fluxes of the fluid phases over a face of a finite volume for the black-oil model.
This means pressure and concentration gradients, phase densities at the intergration point, etc.
◆ update()
Update the extensive quantities for a given sub-control-volume-face.
- Parameters
-
| elemCtx | Reference to the current element context. |
| scvfIdx | The local index of the sub-control-volume face for which the extensive quantities should be calculated. |
| timeIdx | The index used by the time discretization. |
The documentation for this class was generated from the following file: