blackoillocalresidual.hh
Go to the documentation of this file.
80 static constexpr bool blackoilConserveSurfaceVolume = getPropValue<TypeTag, Properties::BlackoilConserveSurfaceVolume>();
113 unsigned activeCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::solventComponentIndex(phaseIdx));
122 unsigned activeCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::solventComponentIndex(phaseIdx));
254 source[Indices::contiEnergyEqIdx] *= getPropValue<TypeTag, Properties::BlackOilEnergyScalingFactor>();
270 unsigned activeCompIdx = Indices::canonicalToActiveComponentIndex(FluidSystem::solventComponentIndex(phaseIdx));
275 flux[conti0EqIdx + activeCompIdx] += surfaceVolumeFlux*FluidSystem::referenceDensity(phaseIdx, pvtRegionIdx);
286 flux[conti0EqIdx + activeGasCompIdx] += Rs*surfaceVolumeFlux*FluidSystem::referenceDensity(gasPhaseIdx, pvtRegionIdx);
297 flux[conti0EqIdx + activeGasCompIdx] += Rsw*surfaceVolumeFlux*FluidSystem::referenceDensity(gasPhaseIdx, pvtRegionIdx);
309 flux[conti0EqIdx + activeOilCompIdx] += Rv*surfaceVolumeFlux*FluidSystem::referenceDensity(oilPhaseIdx, pvtRegionIdx);
319 flux[conti0EqIdx + activeWaterCompIdx] += Rvw*surfaceVolumeFlux*FluidSystem::referenceDensity(waterPhaseIdx, pvtRegionIdx);
336 static void adaptMassConservationQuantities_(Dune::FieldVector<Scalar, numEq>& container, unsigned pvtRegionIdx)
Contains the classes required to extend the black-oil model by brine. Classes required for molecular diffusion. Contains the classes required to extend the black-oil model by energy. Contains the classes required to extend the black-oil model by solvent component. For details,... Contains the classes required to extend the black-oil model to include the effects of foam. Contains the classes required to extend the black-oil model by MICP. Contains the classes required to extend the black-oil model by polymer. Declares the properties required by the black oil model. Contains the classes required to extend the black-oil model by solvents. Contains the high level supplements required to extend the black oil model by brine. Definition: blackoilbrinemodules.hh:58 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilbrinemodules.hh:260 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilbrinemodules.hh:228 Provides the auxiliary methods required for consideration of the diffusion equation. Definition: blackoildiffusionmodule.hh:48 Contains the high level supplements required to extend the black oil model by energy. Definition: blackoilenergymodules.hh:52 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilenergymodules.hh:168 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilenergymodules.hh:141 Contains the high level supplements required to extend the black oil model. Definition: blackoilextbomodules.hh:69 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilextbomodules.hh:320 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilextbomodules.hh:354 Contains the high level supplements required to extend the black oil model to include the effects of ... Definition: blackoilfoammodules.hh:57 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilfoammodules.hh:246 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilfoammodules.hh:286 Calculates the local residual of the black oil model. Definition: blackoillocalresidual.hh:50 void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) const Evaluates the total mass flux of all conservation quantities over a face of a sub-control volume. Definition: blackoillocalresidual.hh:190 void computeSource(RateVector &source, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) const Calculate the source term of the equation. Definition: blackoillocalresidual.hh:241 static void evalPhaseFluxes_(RateVector &flux, unsigned phaseIdx, unsigned pvtRegionIdx, const ExtensiveQuantities &extQuants, const FluidState &upFs) Helper function to calculate the flux of mass in terms of conservation quantities via specific fluid ... Definition: blackoillocalresidual.hh:262 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 qua... Definition: blackoillocalresidual.hh:336 void computeStorage(Dune::FieldVector< LhsEval, numEq > &storage, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) const Evaluate the amount all conservation quantities (e.g. phase mass) within a finite sub-control volume. Definition: blackoillocalresidual.hh:99 Contains the high level supplements required to extend the black oil model by MICP. Definition: blackoilmicpmodules.hh:56 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilmicpmodules.hh:265 static void addSource(RateVector &source, const ElementContext &elemCtx, unsigned dofIdx, unsigned timeIdx) Definition: blackoilmicpmodules.hh:294 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilmicpmodules.hh:234 Contains the high level supplements required to extend the black oil model by polymer. Definition: blackoilpolymermodules.hh:61 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilpolymermodules.hh:473 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilpolymermodules.hh:512 Contains the high level supplements required to extend the black oil model by solvents. Definition: blackoilsolventmodules.hh:68 static void addStorage(Dune::FieldVector< LhsEval, numEq > &storage, const IntensiveQuantities &intQuants) Definition: blackoilsolventmodules.hh:430 static void computeFlux(RateVector &flux, const ElementContext &elemCtx, unsigned scvfIdx, unsigned timeIdx) Definition: blackoilsolventmodules.hh:462 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:242 |