Opm::RateConverter::SurfaceToReservoirVoidage< Property, Region > Class Template Reference
Inheritance diagram for Opm::RateConverter::SurfaceToReservoirVoidage< Property, Region >:
Detailed Descriptiontemplate<class Property, class Region>
|
Property | Fluid property object. Expected to feature the formation volume factor functions of the BlackoilPropsAdInterface. |
Region | Type of a forward region mapping. Expected to provide indexed access through operator[]()
value_type , size_type , and const_iterator . Typicallystd::vector<int>
|
typedef RegionMapping<Region>::RegionId Opm::RateConverter::SurfaceToReservoirVoidage< Property, Region >::RegionId |
Region identifier.
Integral type.
|
inline |
Constructor.
[in] | props | Fluid property object. |
[in] | region | Forward region mapping. Often corresponds to the "FIPNUM" mapping of an ECLIPSE input deck. |
|
inline |
Compute coefficients for surface-to-reservoir voidage conversion.
Input | Type representing contiguous collection of component rates at surface conditions. Must support direct indexing through operator[]()
|
Coeff | Type representing contiguous collection of surface-to-reservoir conversion coefficients. Must support direct indexing through operator[]()
|
[in] | in | Single tuple of active component rates at surface conditions. |
[in] | r | Fluid-in-place region to which the component rates correspond. |
[out] | coeff | Surface-to-reservoir conversion coefficients for all active phases, corresponding to input rates in in region r . |
|
inline |
Compute average hydrocarbon pressure and maximum dissolution and evaporation at average hydrocarbon pressure in all regions in field.
Fluid properties are evaluated at average hydrocarbon pressure for purpose of conversion from surface rate to reservoir voidage rate.
[in] | state | Dynamic reservoir state. |