28 #ifndef OPM_BLACK_OIL_SOLVENT_PARAMS_HPP 29 #define OPM_BLACK_OIL_SOLVENT_PARAMS_HPP 31 #include <opm/material/fluidsystems/blackoilpvt/SolventPvt.hpp> 32 #include <opm/material/fluidsystems/blackoilpvt/Co2GasPvt.hpp> 33 #include <opm/material/fluidsystems/blackoilpvt/H2GasPvt.hpp> 34 #include <opm/material/fluidsystems/blackoilpvt/BrineCo2Pvt.hpp> 35 #include <opm/material/fluidsystems/blackoilpvt/BrineH2Pvt.hpp> 37 #include <opm/material/common/Tabulated1DFunction.hpp> 45 template<
class Scalar>
48 using BrineCo2Pvt = ::Opm::BrineCo2Pvt<Scalar>;
49 using BrineH2Pvt = ::Opm::BrineH2Pvt<Scalar>;
50 using Co2GasPvt = ::Opm::Co2GasPvt<Scalar>;
51 using H2GasPvt = ::Opm::H2GasPvt<Scalar>;
52 using SolventPvt = ::Opm::SolventPvt<Scalar>;
53 using TabulatedFunction = Tabulated1DFunction<Scalar>;
55 template<
bool enableSolvent>
56 void initFromState(
const EclipseState& eclState,
const Schedule& schedule);
58 BrineCo2Pvt brineCo2Pvt_{};
59 BrineH2Pvt brineH2Pvt_{};
60 Co2GasPvt co2GasPvt_{};
62 SolventPvt solventPvt_{};
64 std::vector<TabulatedFunction> ssfnKrg_{};
65 std::vector<TabulatedFunction> ssfnKrs_{};
66 std::vector<TabulatedFunction> sof2Krn_{};
67 std::vector<TabulatedFunction> misc_{};
68 std::vector<TabulatedFunction> pmisc_{};
69 std::vector<TabulatedFunction> msfnKrsg_{};
70 std::vector<TabulatedFunction> msfnKro_{};
71 std::vector<TabulatedFunction> sorwmis_{};
72 std::vector<TabulatedFunction> sgcwmis_{};
74 std::vector<Scalar> tlMixParamViscosity_{};
75 std::vector<Scalar> tlMixParamDensity_{};
76 std::vector<TabulatedFunction> tlPMixTable_{};
78 bool isMiscible_ =
false;
79 bool rsSolw_active_ =
false;
95 void setMsfn(
unsigned satRegionIdx,
96 const TabulatedFunction& msfnKrsg,
97 const TabulatedFunction& msfnKro);
102 #endif // OPM_BLACK_OIL_SOLVENT_PARAMS_HPP void setMsfn(unsigned satRegionIdx, const TabulatedFunction &msfnKrsg, const TabulatedFunction &msfnKro)
Specify miscible relative permeability multipliers of a single region.
Definition: blackoilsolventparams.cpp:311
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition: blackoilbioeffectsmodules.hh:45
void setNumSatRegions(unsigned numRegions)
Specify the number of satuation regions.
Definition: blackoilsolventparams.cpp:303
Struct holding the parameters for the BlackOilSolventModule class.
Definition: blackoilsolventparams.hpp:46