20 #ifndef OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED
21 #define OPM_RELPERMDIAGNOSTICS_HEADER_INCLUDED
30 #include <opm/material/fluidmatrixinteractions/EclEpsScalingPoints.hpp>
53 template <
class CartesianIndexMapper>
54 void diagnosis(
const EclipseState& eclState,
55 const CartesianIndexMapper& cartesianIndexMapper);
66 FluidSystem fluidSystem_;
68 enum SaturationFunctionFamily {
74 SaturationFunctionFamily satFamily_;
76 std::vector<EclEpsScalingPointsInfo<double> > unscaledEpsInfo_;
77 std::vector<EclEpsScalingPointsInfo<double> > scaledEpsInfo_;
82 bool phaseCheck_(
const EclipseState& es);
85 void satFamilyCheck_(
const EclipseState& eclState);
88 void tableCheck_(
const EclipseState& eclState);
91 void unscaledEndPointsCheck_(
const EclipseState& eclState);
93 template <
class CartesianIndexMapper>
94 void scaledEndPointsCheck_(
const EclipseState& eclState,
95 const CartesianIndexMapper& cartesianIndexMapper);
98 void swofTableCheck_(
const SwofTable& swofTables,
100 void sgofTableCheck_(
const SgofTable& sgofTables,
101 const int satnumIdx);
102 void slgofTableCheck_(
const SlgofTable& slgofTables,
103 const int satnumIdx);
104 void swfnTableCheck_(
const SwfnTable& swfnTables,
105 const int satnumIdx);
106 void sgfnTableCheck_(
const SgfnTable& sgfnTables,
107 const int satnumIdx);
108 void sof3TableCheck_(
const Sof3Table& sof3Tables,
109 const int satnumIdx);
110 void sof2TableCheck_(
const Sof2Table& sof2Tables,
111 const int satnumIdx);
112 void sgwfnTableCheck_(
const SgwfnTable& sgwfnTables,
113 const int satnumIdx);
115 void sgcwmisTableCheck_(
const SgcwmisTable& sgcwmisTables,
116 const int satnumIdx);
117 void sorwmisTableCheck_(
const SorwmisTable& sorwmisTables,
118 const int satnumIdx);
119 void ssfnTableCheck_(
const SsfnTable& ssfnTables,
120 const int satnumIdx);
121 void miscTableCheck_(
const MiscTable& miscTables,
122 const int miscnumIdx);
123 void msfnTableCheck_(
const MsfnTable& msfnTables,
124 const int satnumIdx);
This class is intend to be a relperm diagnostics, to detect wrong input of relperm table and endpoint...
Definition: RelpermDiagnostics.hpp:46
void diagnosis(const EclipseState &eclState, const CartesianIndexMapper &cartesianIndexMapper)
This function is used to diagnosis relperm in eclipse data file.
Definition: RelpermDiagnostics.cpp:733
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: BlackoilPhases.hpp:27