2017-06-12 06:40:49 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Copyright (C) 2017 Statoil ASA
|
2018-08-20 00:58:18 -05:00
|
|
|
//
|
2017-06-12 06:40:49 -05: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 00:58:18 -05:00
|
|
|
//
|
2017-06-12 06:40:49 -05: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 00:58:18 -05:00
|
|
|
//
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
2017-06-12 06:40:49 -05:00
|
|
|
// for more details.
|
|
|
|
//
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2018-01-31 01:41:43 -06:00
|
|
|
#include "cvfBase.h"
|
|
|
|
#include "cvfVector3.h"
|
|
|
|
|
2017-06-13 08:37:06 -05:00
|
|
|
#include <map>
|
2018-01-31 01:41:43 -06:00
|
|
|
#include <set>
|
2018-08-20 00:58:18 -05:00
|
|
|
#include <vector>
|
2017-06-12 06:40:49 -05:00
|
|
|
|
|
|
|
class RigCompletionData;
|
|
|
|
class RimWellPath;
|
2018-10-23 04:13:12 -05:00
|
|
|
class RimFishbonesMultipleSubs;
|
2017-06-12 06:40:49 -05:00
|
|
|
class RicExportCompletionDataSettingsUi;
|
2018-01-31 01:41:43 -06:00
|
|
|
class RigEclipseCaseData;
|
2017-06-12 06:40:49 -05:00
|
|
|
|
2018-01-30 11:41:29 -06:00
|
|
|
struct WellBorePartForTransCalc;
|
2017-06-13 08:37:06 -05:00
|
|
|
|
|
|
|
//==================================================================================================
|
2018-08-20 00:58:18 -05:00
|
|
|
///
|
2017-06-13 08:37:06 -05:00
|
|
|
//==================================================================================================
|
2017-06-12 06:40:49 -05:00
|
|
|
class RicFishbonesTransmissibilityCalculationFeatureImp
|
|
|
|
{
|
|
|
|
public:
|
2018-08-20 00:58:18 -05:00
|
|
|
static std::vector<RigCompletionData>
|
|
|
|
generateFishboneCompdatValuesUsingAdjustedCellVolume(const RimWellPath* wellPath,
|
|
|
|
const RicExportCompletionDataSettingsUi& settings);
|
2017-06-12 06:40:49 -05:00
|
|
|
|
2017-06-13 08:37:06 -05:00
|
|
|
private:
|
2018-08-20 00:58:18 -05:00
|
|
|
static void findFishboneLateralsWellBoreParts(std::map<size_t, std::vector<WellBorePartForTransCalc>>& wellBorePartsInCells,
|
|
|
|
const RimWellPath* wellPath,
|
|
|
|
const RicExportCompletionDataSettingsUi& settings);
|
2018-01-30 11:41:29 -06:00
|
|
|
|
2018-08-20 00:58:18 -05:00
|
|
|
static void
|
|
|
|
findFishboneImportedLateralsWellBoreParts(std::map<size_t, std::vector<WellBorePartForTransCalc>>& wellBorePartsInCells,
|
|
|
|
const RimWellPath* wellPath,
|
|
|
|
const RicExportCompletionDataSettingsUi& settings);
|
2018-01-30 11:41:29 -06:00
|
|
|
|
2018-08-20 06:50:38 -05:00
|
|
|
static void appendMainWellBoreParts(std::map<size_t, std::vector<WellBorePartForTransCalc>>& wellBorePartsInCells,
|
|
|
|
const RimWellPath* wellPath,
|
|
|
|
const RicExportCompletionDataSettingsUi& settings,
|
|
|
|
double skinFactor,
|
|
|
|
double holeRadius,
|
|
|
|
double startMeasuredDepth,
|
2018-10-23 04:13:12 -05:00
|
|
|
double endMeasuredDepth,
|
|
|
|
const RimFishbonesMultipleSubs* fishbonesDefintions);
|
2017-06-12 06:40:49 -05:00
|
|
|
};
|