Skip to content
Snippets Groups Projects
Commit a7101ced authored by Dennis Gläser's avatar Dennis Gläser Committed by Timo Koch
Browse files

[bincoeff][brineco2] fix typo

parent 45451bb5
No related branches found
No related tags found
1 merge request!1153Feature/reuse brine in brine co2
......@@ -102,7 +102,7 @@ public:
Scalar A = computeA_(temperature, pg);
/* salinity: conversion from mass fraction to mol fraction */
const Scalar x_NaCl = salinityToMolFrac_(salinity);
const Scalar x_NaCl = salinityToMoleFrac_(salinity);
// if both phases are present the mole fractions in each phase can be calculate
// with the mutual solubility function
......@@ -198,7 +198,7 @@ private:
*
* \param salinity the salinity \f$\mathrm{[kg \ NaCl / kg \ solution]}\f$
*/
static Scalar salinityToMolFrac_(Scalar salinity) {
static Scalar salinityToMoleFrac_(Scalar salinity) {
const Scalar Mw = H2O::molarMass(); /* molecular weight of water [kg/mol] */
const Scalar Ms = 58.8e-3; /* molecular weight of NaCl [kg/mol] */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment