mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7335 Dual poro models : Hide rel perm plots when fracture result is active
This commit is contained in:
parent
7aa3a47b36
commit
f14386314e
@ -145,6 +145,15 @@ bool RiuRelativePermeabilityPlotUpdater::queryDataAndUpdatePlot( const RimEclips
|
||||
|
||||
if ( !eclipseResDef ) return false;
|
||||
|
||||
if ( eclipseResDef->porosityModel() == RiaDefines::PorosityModelType::FRACTURE_MODEL )
|
||||
{
|
||||
// Fracture model is currently not supported. If a dual porosity model is present, the PORV values
|
||||
// for the matrix model is used. It will require some changes in the flow diagnostics module to be
|
||||
// able support fracture model plotting.
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
RimEclipseResultCase* eclipseResultCase = dynamic_cast<RimEclipseResultCase*>( eclipseResDef->eclipseCase() );
|
||||
RigEclipseCaseData* eclipseCaseData = eclipseResultCase ? eclipseResultCase->eclipseCaseData() : nullptr;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user