2017-01-02 14:13:34 +01:00
|
|
|
/////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
//
|
|
|
|
|
// Copyright (C) 2017 Statoil ASA
|
|
|
|
|
//
|
|
|
|
|
// 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
|
|
|
|
|
|
2017-01-04 08:10:02 +01:00
|
|
|
|
2017-01-02 14:13:34 +01:00
|
|
|
#include "cvfBase.h"
|
|
|
|
|
#include "cvfObject.h"
|
|
|
|
|
#include "cvfMath.h"
|
|
|
|
|
#include "cvfVector3.h"
|
|
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
|
2017-05-16 10:55:31 +02:00
|
|
|
class RigFracturedEclipseCellExportData
|
2017-01-10 15:29:38 +01:00
|
|
|
{
|
|
|
|
|
public:
|
2017-05-16 10:55:31 +02:00
|
|
|
RigFracturedEclipseCellExportData();
|
2017-01-10 15:29:38 +01:00
|
|
|
|
2017-05-16 10:55:31 +02:00
|
|
|
// Compdat export data
|
|
|
|
|
size_t reservoirCellIndex;
|
|
|
|
|
double transmissibility; // Total cell to well transmissibility finally used in COMPDAT keyword
|
|
|
|
|
bool cellIsActive;
|
|
|
|
|
|
|
|
|
|
// General intermediate results
|
|
|
|
|
double NTG;
|
|
|
|
|
cvf::Vec3d permeabilities;
|
|
|
|
|
double skinFactor;
|
2017-01-27 10:46:45 +01:00
|
|
|
|
2017-05-16 10:55:31 +02:00
|
|
|
// Elipse fracture related values
|
|
|
|
|
cvf::Vec3d transmissibilities; //matrixToFractureTransmissibilitiesXYZ
|
|
|
|
|
double totalArea; // Elipse cell overlap area
|
2017-01-27 10:46:45 +01:00
|
|
|
double fractureLenght;
|
|
|
|
|
cvf::Vec3d projectedAreas;
|
|
|
|
|
|
2017-01-30 10:45:18 +01:00
|
|
|
cvf::Vec3d cellSizes;
|
|
|
|
|
|
2017-03-20 10:38:58 +01:00
|
|
|
//TODO: Used for upscaling - should be moved?
|
2017-03-31 10:25:24 +02:00
|
|
|
double upscaledStimPlanValueHA;
|
|
|
|
|
double upscaledStimPlanValueAH;
|
2017-04-06 09:34:38 +02:00
|
|
|
};
|
|
|
|
|
|
2017-01-02 14:13:34 +01:00
|
|
|
//==================================================================================================
|
|
|
|
|
///
|
|
|
|
|
//==================================================================================================
|
|
|
|
|
class RigFracture : public cvf::Object
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
RigFracture();
|
|
|
|
|
|
2017-02-10 11:32:18 +01:00
|
|
|
void setGeometry(const std::vector<cvf::uint>& triangleIndices, const std::vector<cvf::Vec3f>& nodeCoords);
|
2017-01-04 08:10:02 +01:00
|
|
|
|
2017-01-12 10:24:01 +01:00
|
|
|
const std::vector<cvf::uint>& triangleIndices() const;
|
2017-01-04 08:10:02 +01:00
|
|
|
const std::vector<cvf::Vec3f>& nodeCoords() const;
|
2017-05-16 17:26:40 +02:00
|
|
|
|
2017-01-02 14:13:34 +01:00
|
|
|
private:
|
2017-01-12 10:24:01 +01:00
|
|
|
std::vector<cvf::uint> m_triangleIndices;
|
2017-01-04 08:10:02 +01:00
|
|
|
std::vector<cvf::Vec3f> m_nodeCoords;
|
2017-01-02 14:13:34 +01:00
|
|
|
};
|
2017-01-04 08:10:02 +01:00
|
|
|
|