Brine_CO2.hpp
Go to the documentation of this file.
75 static Evaluation liquidDiffCoeff(const Evaluation& /*temperature*/, const Evaluation& /*pressure*/)
116 Evaluation gammaStar = activityCoefficient_(temperature, pg, molalityNaCl);// activity coefficient of CO2 in brine
123 // and the virtual equilibrium mole fraction of water in the non-existing gas phase can be estimated
129 // and the virtual equilibrium mole fraction of CO2 in the non-existing liquid phase can be estimated
159 Evaluation V = 1 / (CO2::gasDensity(temperature, pg) / CO2::molarMass()) * 1.e6; // molar volume in cm^3/mol
161 Evaluation a_CO2 = (7.54e7 - 4.13e4 * temperature); // mixture parameter of Redlich-Kwong equation
195 const Evaluation& V = 1 / (CO2::gasDensity(temperature, pg) / CO2::molarMass()) * 1.e6; // molar volume in cm^3/mol
197 const Evaluation& a_CO2 = (7.54e7 - 4.13e4 * temperature);// mixture parameter of Redlich-Kwong equation
252 const Evaluation& A = computeA_(temperature, pg); // according to Spycher, Pruess and Ennis-King (2003)
253 const Evaluation& B = computeB_(temperature, pg); // according to Spycher, Pruess and Ennis-King (2003)
254 const Evaluation& yH2OinGas = (1 - B) / (1. / A - B); // equilibrium mol fraction of H2O in the gas phase
255 const Evaluation& xCO2inWater = B * (1 - yH2OinGas); // equilibrium mol fraction of CO2 in the water phase
298 const Evaluation& k0_H2O = equilibriumConstantH2O_(temperature); // equilibrium constant for H2O at 1 bar
299 const Evaluation& phi_H2O = fugacityCoefficientH2O(temperature, pg); // fugacity coefficient of H2O for the water-CO2 system
320 const Evaluation& k0_CO2 = equilibriumConstantCO2_(temperature); // equilibrium constant for CO2 at 1 bar
321 const Evaluation& phi_CO2 = fugacityCoefficientCO2(temperature, pg); // fugacity coefficient of CO2 for the water-CO2 system
static Evaluation liquidDiffCoeff(const Evaluation &, const Evaluation &) Binary diffusion coefficent [m^2/s] of CO2 in the brine phase. Definition: Brine_CO2.hpp:75 bool CheckDefined(const T &value OPM_UNUSED) Make valgrind complain if any of the memory occupied by an object is undefined. Definition: Valgrind.hpp:74 static Evaluation gasViscosity(Evaluation temperature, const Evaluation &pressure) The dynamic viscosity [Pa s] of CO2. Definition: CO2.hpp:202 Definition: MathToolbox.hpp:39 Definition: Air_Mesitylene.hpp:31 static Evaluation fugacityCoefficientH2O(const Evaluation &temperature, const Evaluation &pg) Returns the fugacity coefficient of the H2O component in a water-CO2 mixture. Definition: Brine_CO2.hpp:191 static Evaluation gasDensity(const Evaluation &temperature, const Evaluation &pressure) The density of CO2 at a given pressure and temperature [kg/m^3]. Definition: CO2.hpp:190 A class for the CO2 fluid properties. static void calculateMoleFractions(const Evaluation &temperature, const Evaluation &pg, Scalar salinity, const int knownPhaseIdx, Evaluation &xlCO2, Evaluation &ygH2O) Returns the mol (!) fraction of CO2 in the liquid phase and the mol_ (!) fraction of H2O in the gas p... Definition: Brine_CO2.hpp:99 static Evaluation fugacityCoefficientCO2(const Evaluation &temperature, const Evaluation &pg) Returns the fugacity coefficient of the CO2 component in a water-CO2 mixture. Definition: Brine_CO2.hpp:152 A class for the brine fluid properties. Material properties of pure water . static Evaluation henry(const Evaluation &temperature) Henry coefficent for CO2 in brine. Definition: Brine_CO2.hpp:140 Evaluation< Scalar, VarSetTag, numVars > log(const Evaluation< Scalar, VarSetTag, numVars > &x) Definition: Math.hpp:369 Evaluation< Scalar, VarSetTag, numVars > exp(const Evaluation< Scalar, VarSetTag, numVars > &x) Definition: Math.hpp:295 static Evaluation gasDiffCoeff(const Evaluation &temperature, const Evaluation &pressure) Binary diffusion coefficent [m^2/s] of water in the CO2 phase. Definition: Brine_CO2.hpp:58 Relations valid for an ideal gas. static Scalar molarMass() The mass in [kg] of one mole of CO2. Definition: CO2.hpp:67 Evaluation< Scalar, VarSetTag, numVars > pow(const Evaluation< Scalar, VarSetTag, numVars > &base, Scalar exp) Definition: Math.hpp:312 static const Scalar molarMass() The molar mass in of water. Definition: H2O.hpp:79 |