From 51fe68c43bb0e899203d52ec101cb2b6aa334eb7 Mon Sep 17 00:00:00 2001 From: Gabi Seitz <gabriele.seitz@iws.uni-stuttgart.de> Date: Fri, 31 Aug 2018 15:18:35 +0200 Subject: [PATCH] [iapws] enlarge region2 --- dumux/material/components/iapws/region2.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dumux/material/components/iapws/region2.hh b/dumux/material/components/iapws/region2.hh index 076cbb5996..945931e3e3 100644 --- a/dumux/material/components/iapws/region2.hh +++ b/dumux/material/components/iapws/region2.hh @@ -67,7 +67,8 @@ public: /* (273.15 <= temperature && temperature <= 623.15 && pressure <= vaporPressure(temperature)) || (623.15 < temperature && temperature <= 863.15 && pressure <= auxPressure(temperature)) || (863.15 < temperature && temperature <= 1073.15 && pressure < 100e6); */ - if (temperature <= 623.15 && pressure <= 100e6) + if ((temperature <= 623.15 && pressure <= 100e6) || + (temperature > 623.15 && temperature <= 1073.15 && pressure <= 16.532e6 )) return; DUNE_THROW(NumericalProblem, -- GitLab