mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-09 23:53:04 -06:00
#2683 Well CF Visualization: Show connection factors on closed connections
This commit is contained in:
parent
7676ba4f20
commit
c16c10e774
@ -308,7 +308,7 @@ void RivSimWellPipesPartMgr::buildWellPipeParts(const caf::DisplayCoordTransform
|
|||||||
cvf::Vec3d anchor = displayXf->transformToDisplayCoord(defaultLocationInDomainCoord);;
|
cvf::Vec3d anchor = displayXf->transformToDisplayCoord(defaultLocationInDomainCoord);;
|
||||||
|
|
||||||
const RigWellResultPoint* wResCell = wResFrame.findResultCell(wellResultPoint.m_gridIndex, wellResultPoint.m_gridCellIndex);
|
const RigWellResultPoint* wResCell = wResFrame.findResultCell(wellResultPoint.m_gridIndex, wellResultPoint.m_gridCellIndex);
|
||||||
if (wResCell && wResCell->m_isOpen)
|
if (wResCell->isValid())
|
||||||
{
|
{
|
||||||
CompletionVizData data(anchor, defaultWellPathDirection, wResCell->connectionFactor(), globalCellIndex);
|
CompletionVizData data(anchor, defaultWellPathDirection, wResCell->connectionFactor(), globalCellIndex);
|
||||||
|
|
||||||
|
@ -408,7 +408,7 @@ const RigVirtualPerforationTransmissibilities* RimEclipseCase::computeAndGetVirt
|
|||||||
{
|
{
|
||||||
for (const auto& r : wellResultBranch.m_branchResultPoints)
|
for (const auto& r : wellResultBranch.m_branchResultPoints)
|
||||||
{
|
{
|
||||||
if (r.isValid() && r.m_isOpen)
|
if (r.isValid())
|
||||||
{
|
{
|
||||||
RigCompletionData compData(wellRes->m_wellName, RigCompletionDataGridCell(r.m_gridCellIndex, rigEclipseCase->mainGrid()), 0);
|
RigCompletionData compData(wellRes->m_wellName, RigCompletionDataGridCell(r.m_gridCellIndex, rigEclipseCase->mainGrid()), 0);
|
||||||
compData.setTransmissibility(r.connectionFactor());
|
compData.setTransmissibility(r.connectionFactor());
|
||||||
|
Loading…
Reference in New Issue
Block a user