BrineCo2Pvt.hpp
Go to the documentation of this file.
110 "The surface density is computed based on CO2-BRINE PVT at standard conditions (STCOND) and DENSITY is ignored " << std::endl;
113 if( eclState.getTableManager().hasTables("PVDO") || !eclState.getTableManager().getPvtoTables().empty()) {
115 "BRINE PVT properties are computed based on the Hu et al. pvt model and PVDO/PVTO input is ignored. " << std::endl;
234 return (1.0 - convertRsToXoG_(Rs,regionIdx)) * density_(regionIdx, temperature, pressure, Rs)/brineReferenceDensity_[regionIdx];
246 return (1.0 - convertRsToXoG_(rsSat,regionIdx)) * density_(regionIdx, temperature, pressure, rsSat)/brineReferenceDensity_[regionIdx];
260 throw std::runtime_error("Requested the saturation pressure for the brine-co2 pvt module. Not yet implemented.");
309 const Evaluation log_D_H20 = -4.1764 + 712.52 / temperature - 2.5907e5 / (temperature*temperature);
311 //Diffusion coefficient of CO2 in the brine phase modified following (Ratcliff and Holdcroft,1963 and Al-Rawajfeh, 2004)
312 const Evaluation& mu_H20 = H2O::liquidViscosity(temperature, pressure, extrapolate); // Water viscosity
static void calculateMoleFractions(const Evaluation &temperature, const Evaluation &pg, Scalar salinity, const int knownPhaseIdx, Evaluation &xlCO2, Evaluation &ygH2O, bool extrapolate=false) Returns the mol (!) fraction of CO2 in the liquid phase and the mol_ (!) fraction of H2O in the gas p... Definition: Brine_CO2.hpp:97 This class represents the Pressure-Volume-Temperature relations of the liquid phase for a CO2-Brine s... Definition: BrineCo2Pvt.hpp:57 Evaluation internalEnergy(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rs) const Returns the specific enthalpy [J/kg] of gas given a set of parameters. Definition: BrineCo2Pvt.hpp:187 BrineCo2Pvt()=default Evaluation saturatedGasDissolutionFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &, const Evaluation &) const Returns the gas dissoluiton factor [m^3/m^3] of the liquid phase. Definition: BrineCo2Pvt.hpp:267 Evaluation inverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &Rs) const Returns the formation volume factor [-] of the fluid phase. Definition: BrineCo2Pvt.hpp:229 BrineCo2Pvt(const std::vector< Scalar > &brineReferenceDensity, const std::vector< Scalar > &co2ReferenceDensity, const std::vector< Scalar > &salinity) Definition: BrineCo2Pvt.hpp:77 bool operator==(const BrineCo2Pvt< Scalar > &data) const Definition: BrineCo2Pvt.hpp:297 const Scalar oilReferenceDensity(unsigned regionIdx) const Definition: BrineCo2Pvt.hpp:288 Evaluation diffusionCoefficient(const Evaluation &temperature, const Evaluation &pressure, unsigned) const Definition: BrineCo2Pvt.hpp:304 const Scalar salinity(unsigned regionIdx) const Definition: BrineCo2Pvt.hpp:294 unsigned numRegions() const Return the number of PVT regions which are considered by this PVT-object. Definition: BrineCo2Pvt.hpp:180 const Scalar gasReferenceDensity(unsigned regionIdx) const Definition: BrineCo2Pvt.hpp:291 Evaluation saturationPressure(unsigned, const Evaluation &, const Evaluation &) const Returns the saturation pressure of the brine phase [Pa] depending on its mass fraction of the gas com... Definition: BrineCo2Pvt.hpp:256 void initEnd() Finish initializing the oil phase PVT properties. Definition: BrineCo2Pvt.hpp:163 BrineCo2Pvt(const std::vector< Scalar > &salinity, Scalar T_ref=288.71, Scalar P_ref=101325) Definition: BrineCo2Pvt.hpp:87 Evaluation saturatedInverseFormationVolumeFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns the formation volume factor [-] of brine saturated with CO2 at a given pressure. Definition: BrineCo2Pvt.hpp:241 void setReferenceDensities(unsigned regionIdx, Scalar rhoRefBrine, Scalar rhoRefCO2, Scalar) Initialize the reference densities of all fluids for a given PVT region. Definition: BrineCo2Pvt.hpp:150 Evaluation viscosity(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure, const Evaluation &) const Returns the dynamic viscosity [Pa s] of the fluid phase given a set of parameters. Definition: BrineCo2Pvt.hpp:205 Evaluation saturatedGasDissolutionFactor(unsigned regionIdx, const Evaluation &temperature, const Evaluation &pressure) const Returns thegas dissoluiton factor [m^3/m^3] of the liquid phase. Definition: BrineCo2Pvt.hpp:281 void setEnableDissolvedGas(bool yesno) Specify whether the PVT model should consider that the CO2 component can dissolve in the brine phase. Definition: BrineCo2Pvt.hpp:174 Evaluation saturatedViscosity(unsigned, const Evaluation &temperature, const Evaluation &pressure) const Returns the dynamic viscosity [Pa s] of oil saturated gas at given pressure. Definition: BrineCo2Pvt.hpp:218 static Scalar molarMass() The molar mass in of the component. Definition: Brine.hpp:80 static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false) The density of the liquid component at a given pressure in and temperature in . Definition: Brine.hpp:262 static Evaluation liquidViscosity(const Evaluation &temperature, const Evaluation &) The dynamic viscosity of pure water. Definition: Brine.hpp:339 static Scalar salinity The mass fraction of salt assumed to be in the brine. Definition: Brine.hpp:49 static Scalar molarMass() The mass in [kg] of one mole of CO2. Definition: CO2.hpp:66 static Evaluation gasEnthalpy(const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false) Specific enthalpy of gaseous CO2 [J/kg]. Definition: CO2.hpp:164 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure, bool extrapolate=false) The density of CO2 at a given pressure and temperature [kg/m^3]. Definition: CO2.hpp:189 A simple version of pure water with density from Hu et al. Definition: SimpleHuDuanH2O.hpp:70 static Evaluation liquidEnthalpy(const Evaluation &temperature, const Evaluation &) Specific enthalpy of liquid water . Definition: SimpleHuDuanH2O.hpp:198 static Evaluation liquidViscosity(const Evaluation &temperature, const Evaluation &pressure, bool extrapolate) The dynamic viscosity of pure water. Definition: SimpleHuDuanH2O.hpp:350 static Evaluation liquidDensity(const Evaluation &temperature, const Evaluation &pressure, bool extrapolate) The density of pure water at a given pressure and temperature . Definition: SimpleHuDuanH2O.hpp:309 static Scalar molarMass() The molar mass in of water. Definition: SimpleHuDuanH2O.hpp:104 bool CheckDefined(const T &value) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 Definition: Air_Mesitylene.hpp:34 ReturnEval_< Evaluation1, Evaluation2 >::type min(const Evaluation1 &arg1, const Evaluation2 &arg2) Definition: MathToolbox.hpp:346 ReturnEval_< Evaluation1, Evaluation2 >::type max(const Evaluation1 &arg1, const Evaluation2 &arg2) Definition: MathToolbox.hpp:341 auto scalarValue(const Evaluation &val) -> decltype(MathToolbox< Evaluation >::scalarValue(val)) Definition: MathToolbox.hpp:335 ReturnEval_< Evaluation1, Evaluation2 >::type pow(const Evaluation1 &base, const Evaluation2 &exp) Definition: MathToolbox.hpp:416 |