diff --git a/test/porousmediumflow/1pncmin/implicit/thermochemreaction.hh b/test/porousmediumflow/1pncmin/implicit/thermochemreaction.hh index 69a7a06950b24a14a086a8410bc1e947fe9b09f1..3293859c72e643eb2c137f7605a7cb92f2e28436 100644 --- a/test/porousmediumflow/1pncmin/implicit/thermochemreaction.hh +++ b/test/porousmediumflow/1pncmin/implicit/thermochemreaction.hh @@ -228,13 +228,13 @@ public: Scalar krd = 0.05; - Scalar rDehydration = (volVars.density(cPhaseIdx)- realSolidDensityAverage) + Scalar rDehydration = -(volVars.density(cPhaseIdx)- realSolidDensityAverage) * krd * (Teq-T)/ Teq; qMass = rDehydration; } - if(Teq -T <= 0) qMass = 0; + if(Teq -T == 0) qMass = 0; return qMass; }