diff --git a/src/thermo/ConstDensityThermo.cpp b/src/thermo/ConstDensityThermo.cpp index 420f53adbb..e3edba6c4e 100644 --- a/src/thermo/ConstDensityThermo.cpp +++ b/src/thermo/ConstDensityThermo.cpp @@ -59,7 +59,7 @@ void ConstDensityThermo::getActivityCoefficients(doublereal* ac) const doublereal ConstDensityThermo::standardConcentration(size_t k) const { - return molarDensity(); + return density()/molecularWeight(k); } void ConstDensityThermo::getChemPotentials(doublereal* mu) const diff --git a/test/data/sofc-test.xml b/test/data/sofc-test.xml index ea7bbaf2a0..fbebb19dbf 100644 --- a/test/data/sofc-test.xml +++ b/test/data/sofc-test.xml @@ -40,11 +40,11 @@ 101325.0 Ox:0.95 VO**:0.05 - + 0.7 - - + + @@ -132,6 +132,9 @@ 0.0 + + 0.0018 + @@ -146,6 +149,9 @@ 0.0 + + 0.0018 +