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-12-05 09:11:24 +01:00
|
|
|
// WARNING: DO NOT CHANGE THE ORDER WITHOUT KNOWING WHAT YOU ARE DOING!
|
|
|
|
|
// You may well change the behaviour of property filters.
|
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,
|
2018-12-13 19:49:37 +01:00
|
|
|
PACKER,
|
|
|
|
|
UNDEFINED_COMPONENT
|
2017-05-31 16:16:28 +02:00
|
|
|
};
|
2019-03-28 10:17:34 +01:00
|
|
|
|
2019-04-10 12:49:20 +02:00
|
|
|
enum MeshModeType
|
|
|
|
|
{
|
|
|
|
|
FULL_MESH,
|
|
|
|
|
FAULTS_MESH,
|
|
|
|
|
NO_MESH
|
|
|
|
|
};
|
|
|
|
|
|
2017-08-11 14:05:59 +02:00
|
|
|
bool isPerCellFaceResult(const QString& resultName);
|
2019-02-08 13:59:10 +01:00
|
|
|
bool isNativeCategoryResult(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
|
|
|
|
2019-03-29 15:15:15 +01:00
|
|
|
QString eqlnumResultName();
|
|
|
|
|
|
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
|
|
|
|
2018-11-06 12:47:54 +01:00
|
|
|
QString riCellVolumeResultName();
|
2018-11-06 13:23:24 +01:00
|
|
|
QString riOilVolumeResultName();
|
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();
|
2019-03-13 10:16:46 +01:00
|
|
|
double minimumDefaultLogValuePlot();
|
2017-08-11 14:05:59 +02:00
|
|
|
double maximumDefaultValuePlot();
|
2017-11-10 09:43:51 +01:00
|
|
|
|
|
|
|
|
enum PhaseType {
|
|
|
|
|
OIL_PHASE,
|
|
|
|
|
GAS_PHASE,
|
|
|
|
|
WATER_PHASE
|
|
|
|
|
};
|
2019-03-28 10:17:34 +01:00
|
|
|
|
|
|
|
|
enum ImportFileType
|
|
|
|
|
{
|
|
|
|
|
NOT_A_VALID_IMPORT_FILE = 0x00,
|
|
|
|
|
ECLIPSE_GRID_FILE = 0x01,
|
|
|
|
|
ECLIPSE_EGRID_FILE = 0x02,
|
|
|
|
|
ECLIPSE_INPUT_FILE = 0x04,
|
|
|
|
|
ECLIPSE_SUMMARY_FILE = 0x08,
|
|
|
|
|
GEOMECH_ODB_FILE = 0x10,
|
|
|
|
|
RESINSIGHT_PROJECT_FILE = 0x20,
|
|
|
|
|
ECLIPSE_RESULT_GRID = ECLIPSE_GRID_FILE | ECLIPSE_EGRID_FILE,
|
|
|
|
|
ANY_ECLIPSE_FILE = ECLIPSE_RESULT_GRID | ECLIPSE_INPUT_FILE | ECLIPSE_SUMMARY_FILE,
|
|
|
|
|
ANY_IMPORT_FILE = 0xFF
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
ImportFileType obtainFileTypeFromFileName(const QString& fileName);
|
|
|
|
|
QString defaultDirectoryLabel(ImportFileType fileTypes);
|
2019-04-10 12:49:20 +02:00
|
|
|
|
2019-05-20 13:21:02 +02:00
|
|
|
enum CaseType
|
|
|
|
|
{
|
|
|
|
|
ECLIPSE_RESULT_CASE = 1,
|
|
|
|
|
ECLIPSE_INPUT_CASE = 2,
|
|
|
|
|
ECLIPSE_STAT_CASE = 3,
|
|
|
|
|
ECLIPSE_SOURCE_CASE = 4,
|
|
|
|
|
GEOMECH_ODB_CASE = 5
|
|
|
|
|
};
|
|
|
|
|
|
2019-04-10 16:13:40 +02:00
|
|
|
enum FontSettingType
|
|
|
|
|
{
|
|
|
|
|
SCENE_FONT,
|
|
|
|
|
ANNOTATION_FONT,
|
|
|
|
|
WELL_LABEL_FONT,
|
|
|
|
|
PLOT_FONT
|
|
|
|
|
};
|
|
|
|
|
|
2012-05-18 09:45:23 +02:00
|
|
|
};
|
2012-06-26 16:10:41 +02:00
|
|
|
|