From f5340a1471c2a6238c4651423631a89460c5561d Mon Sep 17 00:00:00 2001 From: Benjamin Faigle <benjamin.faigle@posteo.de> Date: Mon, 11 Feb 2013 09:21:36 +0000 Subject: [PATCH] Correct bug IAPWS module in second derivative of Gibbs free energy necessary to get c_v and c_p: ideal coefficient was used for residual property. reviewed by Klaus git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@10200 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/material/components/iapws/region2.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/material/components/iapws/region2.hh b/dumux/material/components/iapws/region2.hh index 32c53092f7..160e0bc32f 100644 --- a/dumux/material/components/iapws/region2.hh +++ b/dumux/material/components/iapws/region2.hh @@ -323,8 +323,8 @@ public: n_r(i) * std::pow(pi_, I_r(i)) * J_r(i) * - (J_g(i) - 1) * - std::pow(tau_ - 0.5, J_r(i) - 2); + (J_r(i) - 1.) * + std::pow(tau_ - 0.5, J_r(i) - 2.); } return result; -- GitLab