mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3377 Fishbones : Missing intersection with main bore cell for fishbone with one sub
This commit is contained in:
@@ -215,13 +215,23 @@ void RicFishbonesTransmissibilityCalculationFeatureImp::findFishboneLateralsWell
|
|||||||
|
|
||||||
for (const auto& fishboneDefinition : wellPath->fishbonesCollection()->activeFishbonesSubs())
|
for (const auto& fishboneDefinition : wellPath->fishbonesCollection()->activeFishbonesSubs())
|
||||||
{
|
{
|
||||||
|
double startMD = fishboneDefinition->startOfSubMD();
|
||||||
|
double endMD = fishboneDefinition->endOfSubMD();
|
||||||
|
|
||||||
|
if (fabs(startMD - endMD) < 1e-3)
|
||||||
|
{
|
||||||
|
// Start and end md are close, adjust to be sure we get an intersection along the well path
|
||||||
|
startMD -= 0.5;
|
||||||
|
endMD += 0.5;
|
||||||
|
}
|
||||||
|
|
||||||
appendMainWellBoreParts(wellBorePartsInCells,
|
appendMainWellBoreParts(wellBorePartsInCells,
|
||||||
wellPath,
|
wellPath,
|
||||||
settings,
|
settings,
|
||||||
skinFactor,
|
skinFactor,
|
||||||
holeRadius,
|
holeRadius,
|
||||||
fishboneDefinition->startOfSubMD(),
|
startMD,
|
||||||
fishboneDefinition->endOfSubMD());
|
endMD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user