2017-01-02 07:13:34 -06: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 01:10:02 -06:00
|
|
|
|
2017-01-02 07:13:34 -06:00
|
|
|
#include "cvfBase.h"
|
|
|
|
#include "cvfObject.h"
|
|
|
|
#include "cvfMath.h"
|
|
|
|
#include "cvfVector3.h"
|
|
|
|
|
|
|
|
#include <vector>
|
|
|
|
|
2017-01-10 08:29:38 -06:00
|
|
|
class RigFractureData
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RigFractureData();
|
|
|
|
|
2017-01-12 05:19:52 -06:00
|
|
|
size_t reservoirCellIndex;
|
2017-01-10 08:29:38 -06:00
|
|
|
double transmissibility;
|
2017-01-30 07:47:56 -06:00
|
|
|
cvf::Vec3d transmissibilities;
|
2017-01-27 03:46:45 -06:00
|
|
|
|
|
|
|
double totalArea;
|
|
|
|
double fractureLenght;
|
|
|
|
cvf::Vec3d projectedAreas;
|
|
|
|
|
2017-01-30 03:45:18 -06:00
|
|
|
cvf::Vec3d permeabilities;
|
|
|
|
cvf::Vec3d cellSizes;
|
|
|
|
double NTG;
|
|
|
|
double skinFactor;
|
2017-01-31 05:26:30 -06:00
|
|
|
|
|
|
|
bool cellIsActive;
|
2017-01-30 03:45:18 -06:00
|
|
|
|
|
|
|
|
2017-01-10 08:29:38 -06:00
|
|
|
|
|
|
|
};
|
|
|
|
|
2017-01-02 07:13:34 -06:00
|
|
|
//==================================================================================================
|
|
|
|
///
|
|
|
|
//==================================================================================================
|
|
|
|
class RigFracture : public cvf::Object
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
RigFracture();
|
|
|
|
|
2017-02-10 04:32:18 -06:00
|
|
|
void setGeometry(const std::vector<cvf::uint>& triangleIndices, const std::vector<cvf::Vec3f>& nodeCoords);
|
2017-01-04 01:10:02 -06:00
|
|
|
|
2017-01-12 03:24:01 -06:00
|
|
|
const std::vector<cvf::uint>& triangleIndices() const;
|
2017-01-04 01:10:02 -06:00
|
|
|
const std::vector<cvf::Vec3f>& nodeCoords() const;
|
2017-01-02 07:13:34 -06:00
|
|
|
|
2017-01-10 08:29:38 -06:00
|
|
|
void setFractureData(const std::vector<RigFractureData>& data);
|
|
|
|
const std::vector<RigFractureData>& fractureData() const; //Access frac data
|
|
|
|
|
2017-01-02 07:13:34 -06:00
|
|
|
private:
|
2017-01-12 03:24:01 -06:00
|
|
|
std::vector<cvf::uint> m_triangleIndices;
|
2017-01-04 01:10:02 -06:00
|
|
|
std::vector<cvf::Vec3f> m_nodeCoords;
|
2017-01-10 08:29:38 -06:00
|
|
|
std::vector<RigFractureData> m_fractureData;
|
2017-01-02 07:13:34 -06:00
|
|
|
};
|
2017-01-04 01:10:02 -06:00
|
|
|
|