Collect per-connection static information to enable calculating connection-level or well-level productivity index values when incorporating dynamic phase mobilities.
More...
#include <WellProdIndexCalculator.hpp>
|
| WellProdIndexCalculator (const Well &well) |
| Constructor.
|
|
void | reInit (const Well &well) |
| Reinitialization operation.
|
|
double | connectionProdIndStandard (const std::size_t connIdx, const double connMobility) const |
| Compute connection-level steady-state productivity index value using dynamic phase mobility.
|
|
std::size_t | numConnections () const |
| Number of connections in this well.
|
|
Collect per-connection static information to enable calculating connection-level or well-level productivity index values when incorporating dynamic phase mobilities.
◆ WellProdIndexCalculator()
Opm::WellProdIndexCalculator::WellProdIndexCalculator |
( |
const Well & |
well | ) |
|
|
explicit |
Constructor.
- Parameters
-
[in] | well | Individual well for which to collect per-connection static data. |
◆ connectionProdIndStandard()
double Opm::WellProdIndexCalculator::connectionProdIndStandard |
( |
const std::size_t |
connIdx, |
|
|
const double |
connMobility |
|
) |
| const |
Compute connection-level steady-state productivity index value using dynamic phase mobility.
- Parameters
-
[in] | connIdx | Linear connection index. Must be in the range 0..numConnections() - 1. |
[in] | connMobility | Phase mobility at connection connIdx . Typically derived from dynamic flow state conditions in cell intersected by well's connection connIdx . |
- Returns
- Connection-level steady-state productivity index.
◆ numConnections()
std::size_t Opm::WellProdIndexCalculator::numConnections |
( |
| ) |
const |
|
inline |
Number of connections in this well.
Used primarily for consistency checks.
◆ reInit()
void Opm::WellProdIndexCalculator::reInit |
( |
const Well & |
well | ) |
|
Reinitialization operation.
Needed to repopulate the internal data members in case of changes to the Well's properties, e.g., as a result of the Well's CTFs being rescaled due to WELPI.
- Parameters
-
[in] | well | Individual well for which to collect per-connection static data. |
The documentation for this class was generated from the following files: