|
template<class LhsEval > |
static void | computeStorage (Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) |
|
static void | computeFlux (RateVector &flux, RateVector &darcy, const unsigned globalIndexIn, const unsigned globalIndexEx, const IntensiveQuantities &intQuantsIn, const IntensiveQuantities &intQuantsEx, const ResidualNBInfo &nbInfo, const ModuleParams &moduleParams) |
| This function works like the ElementContext-based version with one main difference: The darcy flux is calculated here, not read from the extensive quantities of the element context.
|
|
static void | computeFlux (RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) |
|
static void | calculateFluxes_ (RateVector &flux, RateVector &darcy, const IntensiveQuantities &intQuantsIn, const IntensiveQuantities &intQuantsEx, const unsigned &globalIndexIn, const unsigned &globalIndexEx, const ResidualNBInfo &nbInfo, const ModuleParams &moduleParams) |
|
template<class BoundaryConditionData > |
static void | computeBoundaryFlux (RateVector &bdyFlux, const Problem &problem, const BoundaryConditionData &bdyInfo, const IntensiveQuantities &insideIntQuants, unsigned globalSpaceIdx) |
|
template<class BoundaryConditionData > |
static void | computeBoundaryFluxRate (RateVector &bdyFlux, const BoundaryConditionData &bdyInfo) |
|
template<class BoundaryConditionData > |
static void | computeBoundaryFluxFree (const Problem &problem, RateVector &bdyFlux, const BoundaryConditionData &bdyInfo, const IntensiveQuantities &insideIntQuants, unsigned globalSpaceIdx) |
|
template<class BoundaryConditionData > |
static void | computeBoundaryThermal (const Problem &problem, RateVector &bdyFlux, const BoundaryConditionData &bdyInfo, const IntensiveQuantities &insideIntQuants, unsigned globalSpaceIdx) |
|
static void | computeSource (RateVector &source, const Problem &problem, unsigned globalSpaceIdex, unsigned timeIdx) |
|
static void | computeSourceDense (RateVector &source, const Problem &problem, unsigned globalSpaceIdex, unsigned timeIdx) |
|
template<class UpEval , class FluidState > |
static void | evalPhaseFluxes_ (RateVector &flux, unsigned phaseIdx, unsigned pvtRegionIdx, const ExtensiveQuantities &extQuants, const FluidState &upFs) |
|
template<class UpEval , class Eval , class FluidState > |
static void | evalPhaseFluxes_ (RateVector &flux, unsigned phaseIdx, unsigned pvtRegionIdx, const Eval &surfaceVolumeFlux, const FluidState &upFs) |
| Helper function to calculate the flux of mass in terms of conservation quantities via specific fluid phase over a face.
|
|
template<class Scalar > |
static void | adaptMassConservationQuantities_ (Dune::FieldVector< Scalar, numEq > &container, unsigned pvtRegionIdx) |
| Helper function to convert the mass-related parts of a Dune::FieldVector that stores conservation quantities in terms of "surface-volume" to the conservation quantities used by the model.
|
|
static FaceDir::DirEnum | faceDirFromDirId (const int dirId) |
|
template<
class TypeTag>
class Opm::BlackOilLocalResidualTPFA< TypeTag >
Calculates the local residual of the black oil model.
Helper function to convert the mass-related parts of a Dune::FieldVector that stores conservation quantities in terms of "surface-volume" to the conservation quantities used by the model.
Depending on the value of the BlackoilConserveSurfaceVolume property, the model either conserves mass by means of "surface volume" of the components or mass directly. In the former case, this method is a no-op; in the latter, the values passed are multiplied by their respective pure component's density at surface conditions.