2017-06-12 13:40:49 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 2017 Statoil ASA
|
2018-08-20 07:58:18 +02:00
|
|
|
//
|
2017-06-12 13:40:49 +02:00
|
|
|
// ResInsight is free software: you can redistribute it and/or modify
|
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
// (at your option) any later version.
|
2018-08-20 07:58:18 +02:00
|
|
|
//
|
2017-06-12 13:40:49 +02:00
|
|
|
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
|
|
|
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
|
// FITNESS FOR A PARTICULAR PURPOSE.
|
2018-08-20 07:58:18 +02:00
|
|
|
//
|
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2017-06-12 13:40:49 +02:00
|
|
|
// for more details.
|
|
|
|
|
//
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2018-01-31 08:41:43 +01:00
|
|
|
#include "cvfVector3.h"
|
|
|
|
|
|
2017-06-13 15:37:06 +02:00
|
|
|
#include <map>
|
2018-01-31 08:41:43 +01:00
|
|
|
#include <set>
|
2018-08-20 07:58:18 +02:00
|
|
|
#include <vector>
|
2017-06-12 13:40:49 +02:00
|
|
|
|
|
|
|
|
class RigCompletionData;
|
|
|
|
|
class RimWellPath;
|
2021-02-26 14:27:59 +01:00
|
|
|
class RimFishbones;
|
2017-06-12 13:40:49 +02:00
|
|
|
class RicExportCompletionDataSettingsUi;
|
2018-01-31 08:41:43 +01:00
|
|
|
class RigEclipseCaseData;
|
2017-06-12 13:40:49 +02:00
|
|
|
|
2018-01-30 18:41:29 +01:00
|
|
|
struct WellBorePartForTransCalc;
|
2017-06-13 15:37:06 +02:00
|
|
|
|
|
|
|
|
//==================================================================================================
|
2018-08-20 07:58:18 +02:00
|
|
|
///
|
2017-06-13 15:37:06 +02:00
|
|
|
//==================================================================================================
|
2017-06-12 13:40:49 +02:00
|
|
|
class RicFishbonesTransmissibilityCalculationFeatureImp
|
|
|
|
|
{
|
|
|
|
|
public:
|
2018-08-20 07:58:18 +02:00
|
|
|
static std::vector<RigCompletionData>
|
2019-09-06 10:40:57 +02:00
|
|
|
generateFishboneCompdatValuesUsingAdjustedCellVolume( const RimWellPath* wellPath,
|
|
|
|
|
const RicExportCompletionDataSettingsUi& settings );
|
2017-06-12 13:40:49 +02:00
|
|
|
|
2017-06-13 15:37:06 +02:00
|
|
|
private:
|
2018-08-20 07:58:18 +02:00
|
|
|
static void
|
2019-09-06 10:40:57 +02:00
|
|
|
findFishboneLateralsWellBoreParts( std::map<size_t, std::vector<WellBorePartForTransCalc>>& wellBorePartsInCells,
|
|
|
|
|
const RimWellPath* wellPath,
|
|
|
|
|
const RicExportCompletionDataSettingsUi& settings );
|
|
|
|
|
|
|
|
|
|
static void appendMainWellBoreParts( std::map<size_t, std::vector<WellBorePartForTransCalc>>& wellBorePartsInCells,
|
|
|
|
|
const RimWellPath* wellPath,
|
|
|
|
|
const RicExportCompletionDataSettingsUi& settings,
|
|
|
|
|
double skinFactor,
|
|
|
|
|
double holeRadius,
|
|
|
|
|
double startMeasuredDepth,
|
|
|
|
|
double endMeasuredDepth,
|
2021-02-26 14:27:59 +01:00
|
|
|
const RimFishbones* fishbonesDefinitions );
|
2017-06-12 13:40:49 +02:00
|
|
|
};
|