mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5657 Add combined Production and Injection visualization for Well Disks.
This commit is contained in:
committed by
Magne Sjaastad
parent
0f470aad97
commit
08f560a058
@@ -688,11 +688,11 @@ double RimSimWellInView::calculateInjectionProductionFractions( const RimWellDis
|
||||
}
|
||||
else
|
||||
{
|
||||
m_isInjector = RimSimWellInViewTools::gridSummaryCaseForWell( this );
|
||||
m_isInjector = RimSimWellInViewTools::isInjector( this );
|
||||
|
||||
double oil = RimSimWellInViewTools::extractValueForTimeStep( summaryReader,
|
||||
name(),
|
||||
wellDiskConfig.getOilProperty(),
|
||||
wellDiskConfig.getOilProperty( m_isInjector ),
|
||||
currentDate,
|
||||
isOk );
|
||||
if ( !( *isOk ) )
|
||||
@@ -703,7 +703,7 @@ double RimSimWellInView::calculateInjectionProductionFractions( const RimWellDis
|
||||
|
||||
double gas = RimSimWellInViewTools::extractValueForTimeStep( summaryReader,
|
||||
name(),
|
||||
wellDiskConfig.getGasProperty(),
|
||||
wellDiskConfig.getGasProperty( m_isInjector ),
|
||||
currentDate,
|
||||
isOk ) /
|
||||
1000.0;
|
||||
@@ -715,7 +715,7 @@ double RimSimWellInView::calculateInjectionProductionFractions( const RimWellDis
|
||||
|
||||
double water = RimSimWellInViewTools::extractValueForTimeStep( summaryReader,
|
||||
name(),
|
||||
wellDiskConfig.getWaterProperty(),
|
||||
wellDiskConfig.getWaterProperty( m_isInjector ),
|
||||
currentDate,
|
||||
isOk );
|
||||
if ( !( *isOk ) )
|
||||
|
||||
Reference in New Issue
Block a user