2012-05-18 09:45:23 +02:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
2014-09-23 15:04:57 +02:00
|
|
|
// Copyright (C) 2011- Statoil ASA
|
|
|
|
|
// Copyright (C) 2013- Ceetron Solutions AS
|
|
|
|
|
// Copyright (C) 2011-2012 Ceetron AS
|
2012-05-18 09:45:23 +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.
|
|
|
|
|
//
|
|
|
|
|
// 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.
|
|
|
|
|
//
|
|
|
|
|
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
|
|
|
|
|
// for more details.
|
|
|
|
|
//
|
|
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
2012-06-26 16:10:41 +02:00
|
|
|
#include <QString>
|
2018-07-02 09:47:34 +02:00
|
|
|
#include <vector>
|
2012-05-18 09:45:23 +02:00
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
namespace RiaDefines
|
2012-05-18 09:45:23 +02:00
|
|
|
{
|
|
|
|
|
enum ResultCatType
|
|
|
|
|
{
|
|
|
|
|
DYNAMIC_NATIVE,
|
|
|
|
|
STATIC_NATIVE,
|
2017-08-14 10:47:44 +02:00
|
|
|
SOURSIMRL,
|
2012-06-26 16:10:41 +02:00
|
|
|
GENERATED,
|
|
|
|
|
INPUT_PROPERTY,
|
2016-09-06 10:27:30 +02:00
|
|
|
FORMATION_NAMES,
|
2016-12-14 09:50:30 +01:00
|
|
|
FLOW_DIAGNOSTICS,
|
2017-08-31 16:22:50 +02:00
|
|
|
INJECTION_FLOODING,
|
2018-10-03 15:44:38 +02:00
|
|
|
REMOVED,
|
|
|
|
|
|
|
|
|
|
UNDEFINED = 999
|
2012-05-18 09:45:23 +02:00
|
|
|
};
|
|
|
|
|
|
2018-10-09 13:42:03 +02:00
|
|
|
enum WellPathComponentType {
|
2018-10-10 10:06:52 +02:00
|
|
|
// Production Tube
|
2017-05-31 16:16:28 +02:00
|
|
|
WELL_PATH,
|
2018-10-09 11:06:10 +02:00
|
|
|
// Well path flow completions
|
2017-05-31 16:16:28 +02:00
|
|
|
PERFORATION_INTERVAL,
|
2017-06-16 09:44:39 +02:00
|
|
|
FISHBONES,
|
|
|
|
|
FRACTURE,
|
2018-10-09 11:06:10 +02:00
|
|
|
ICD,
|
|
|
|
|
AICD,
|
2018-10-10 10:06:52 +02:00
|
|
|
ICV,
|
|
|
|
|
// Well path construction features
|
|
|
|
|
CASING,
|
|
|
|
|
LINER,
|
|
|
|
|
PACKER
|
2017-05-31 16:16:28 +02:00
|
|
|
};
|
|
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
bool isPerCellFaceResult(const QString& resultName);
|
2014-08-19 13:56:17 +02:00
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
QString undefinedResultName();
|
|
|
|
|
QString undefinedGridFaultName();
|
|
|
|
|
QString undefinedGridFaultWithInactiveName();
|
|
|
|
|
QString combinedTransmissibilityResultName();
|
2017-08-14 10:47:44 +02:00
|
|
|
QString combinedWaterFluxResultName();
|
|
|
|
|
QString combinedOilFluxResultName();
|
|
|
|
|
QString combinedGasFluxResultName();
|
|
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
QString ternarySaturationResultName();
|
|
|
|
|
QString combinedMultResultName();
|
2014-08-27 11:41:08 +02:00
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
QString riTranXResultName();
|
|
|
|
|
QString riTranYResultName();
|
|
|
|
|
QString riTranZResultName();
|
|
|
|
|
QString combinedRiTranResultName();
|
2014-08-27 11:41:08 +02:00
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
QString riMultXResultName();
|
|
|
|
|
QString riMultYResultName();
|
|
|
|
|
QString riMultZResultName();
|
|
|
|
|
QString combinedRiMultResultName();
|
2013-10-28 07:30:00 +01:00
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
QString riAreaNormTranXResultName();
|
|
|
|
|
QString riAreaNormTranYResultName();
|
|
|
|
|
QString riAreaNormTranZResultName();
|
|
|
|
|
QString combinedRiAreaNormTranResultName();
|
2014-08-27 11:41:08 +02:00
|
|
|
|
2017-11-15 16:20:30 +01:00
|
|
|
QString mobilePoreVolumeName();
|
|
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
QString completionTypeResultName();
|
2017-05-31 16:16:28 +02:00
|
|
|
|
2013-10-28 07:30:00 +01:00
|
|
|
// Mock model text identifiers
|
2017-08-11 14:05:59 +02:00
|
|
|
QString mockModelBasic();
|
|
|
|
|
QString mockModelBasicWithResults();
|
|
|
|
|
QString mockModelLargeWithResults();
|
|
|
|
|
QString mockModelCustomized();
|
|
|
|
|
QString mockModelBasicInputCase();
|
2013-10-28 07:30:00 +01:00
|
|
|
|
2017-10-25 14:41:54 +02:00
|
|
|
QString activeFormationNamesResultName();
|
2017-02-16 15:18:26 +01:00
|
|
|
|
2018-07-02 09:47:34 +02:00
|
|
|
// Well path derived results
|
|
|
|
|
QString wellPathAzimuthResultName();
|
|
|
|
|
QString wellPathInclinationResultName();
|
|
|
|
|
QString wellPathPPResultName();
|
|
|
|
|
QString wellPathSHResultName();
|
|
|
|
|
QString wellPathOBGResultName();
|
|
|
|
|
QString wellPathFGResultName();
|
|
|
|
|
QString wellPathSFGResultName();
|
|
|
|
|
|
|
|
|
|
// List of well path derived results
|
|
|
|
|
std::vector<QString> wellPathAngleResultNames();
|
|
|
|
|
std::vector<QString> wellPathStabilityResultNames();
|
|
|
|
|
|
2017-02-16 15:18:26 +01:00
|
|
|
//Units and conversions
|
2015-12-02 12:19:35 +01:00
|
|
|
enum DepthUnitType
|
|
|
|
|
{
|
|
|
|
|
UNIT_METER,
|
2017-02-09 13:30:36 +01:00
|
|
|
UNIT_FEET,
|
|
|
|
|
UNIT_NONE
|
2015-12-02 12:19:35 +01:00
|
|
|
};
|
|
|
|
|
|
2017-02-16 15:18:26 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// Defines relate to plotting
|
2016-10-10 11:05:45 +02:00
|
|
|
enum PlotAxis
|
|
|
|
|
{
|
|
|
|
|
PLOT_AXIS_LEFT,
|
2017-11-14 13:54:19 +01:00
|
|
|
PLOT_AXIS_RIGHT,
|
|
|
|
|
PLOT_AXIS_BOTTOM
|
2016-10-10 11:05:45 +02:00
|
|
|
};
|
|
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
double minimumDefaultValuePlot();
|
|
|
|
|
double maximumDefaultValuePlot();
|
2017-11-10 09:43:51 +01:00
|
|
|
|
|
|
|
|
enum PhaseType {
|
|
|
|
|
OIL_PHASE,
|
|
|
|
|
GAS_PHASE,
|
|
|
|
|
WATER_PHASE
|
|
|
|
|
};
|
2012-05-18 09:45:23 +02:00
|
|
|
};
|
2012-06-26 16:10:41 +02:00
|
|
|
|