mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
* Takes the volume summation error from around 30% -> 1.5-2.0% for Norne and TEST10K_FLT_LGT_NNC for sample spacing approximately the same as grid characteristic size. * The latter part is for #3630 and adds a special case for calculating 2d Maps SUM of riOilVolume since it needs to avoid using the actual riOilVolume 3d result but instead use SOIL to avoid multiplying by cell volume twice.
143 lines
3.6 KiB
C++
143 lines
3.6 KiB
C++
/////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (C) 2011- Statoil ASA
|
|
// Copyright (C) 2013- Ceetron Solutions AS
|
|
// Copyright (C) 2011-2012 Ceetron AS
|
|
//
|
|
// 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
|
|
|
|
#include <QString>
|
|
#include <vector>
|
|
|
|
namespace RiaDefines
|
|
{
|
|
enum ResultCatType
|
|
{
|
|
DYNAMIC_NATIVE,
|
|
STATIC_NATIVE,
|
|
SOURSIMRL,
|
|
GENERATED,
|
|
INPUT_PROPERTY,
|
|
FORMATION_NAMES,
|
|
FLOW_DIAGNOSTICS,
|
|
INJECTION_FLOODING,
|
|
REMOVED,
|
|
|
|
UNDEFINED = 999
|
|
};
|
|
|
|
enum WellPathComponentType {
|
|
// Production Tube
|
|
WELL_PATH,
|
|
// Well path flow completions
|
|
PERFORATION_INTERVAL,
|
|
FISHBONES,
|
|
FRACTURE,
|
|
ICD,
|
|
AICD,
|
|
ICV,
|
|
// Well path construction features
|
|
CASING,
|
|
LINER,
|
|
PACKER
|
|
};
|
|
|
|
bool isPerCellFaceResult(const QString& resultName);
|
|
|
|
QString undefinedResultName();
|
|
QString undefinedGridFaultName();
|
|
QString undefinedGridFaultWithInactiveName();
|
|
QString combinedTransmissibilityResultName();
|
|
QString combinedWaterFluxResultName();
|
|
QString combinedOilFluxResultName();
|
|
QString combinedGasFluxResultName();
|
|
|
|
QString ternarySaturationResultName();
|
|
QString combinedMultResultName();
|
|
|
|
QString riTranXResultName();
|
|
QString riTranYResultName();
|
|
QString riTranZResultName();
|
|
QString combinedRiTranResultName();
|
|
|
|
QString riMultXResultName();
|
|
QString riMultYResultName();
|
|
QString riMultZResultName();
|
|
QString combinedRiMultResultName();
|
|
|
|
QString riAreaNormTranXResultName();
|
|
QString riAreaNormTranYResultName();
|
|
QString riAreaNormTranZResultName();
|
|
QString combinedRiAreaNormTranResultName();
|
|
|
|
QString riCellVolumeResultName();
|
|
QString riOilVolumeResultName();
|
|
QString mobilePoreVolumeName();
|
|
|
|
QString completionTypeResultName();
|
|
|
|
// Mock model text identifiers
|
|
QString mockModelBasic();
|
|
QString mockModelBasicWithResults();
|
|
QString mockModelLargeWithResults();
|
|
QString mockModelCustomized();
|
|
QString mockModelBasicInputCase();
|
|
|
|
QString activeFormationNamesResultName();
|
|
|
|
// 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();
|
|
|
|
//Units and conversions
|
|
enum DepthUnitType
|
|
{
|
|
UNIT_METER,
|
|
UNIT_FEET,
|
|
UNIT_NONE
|
|
};
|
|
|
|
|
|
|
|
// Defines relate to plotting
|
|
enum PlotAxis
|
|
{
|
|
PLOT_AXIS_LEFT,
|
|
PLOT_AXIS_RIGHT,
|
|
PLOT_AXIS_BOTTOM
|
|
};
|
|
|
|
double minimumDefaultValuePlot();
|
|
double maximumDefaultValuePlot();
|
|
|
|
enum PhaseType {
|
|
OIL_PHASE,
|
|
GAS_PHASE,
|
|
WATER_PHASE
|
|
};
|
|
};
|
|
|