change default max/min temp in newton clamping

This commit is contained in:
Tor Harald Sandve 2022-09-01 08:28:35 +02:00
parent 802a267251
commit 8102874f16

View File

@ -83,13 +83,13 @@ template<class TypeTag>
struct TemperatureMax<TypeTag, TTag::NewtonMethod> struct TemperatureMax<TypeTag, TTag::NewtonMethod>
{ {
using type = GetPropType<TypeTag, Scalar>; using type = GetPropType<TypeTag, Scalar>;
static constexpr type value = 400; //Kelvin static constexpr type value = 1e9; //Kelvin
}; };
template<class TypeTag> template<class TypeTag>
struct TemperatureMin<TypeTag, TTag::NewtonMethod> struct TemperatureMin<TypeTag, TTag::NewtonMethod>
{ {
using type = GetPropType<TypeTag, Scalar>; using type = GetPropType<TypeTag, Scalar>;
static constexpr type value = 280; //Kelvin static constexpr type value = 0.0; //Kelvin
}; };
} // namespace Opm::Properties } // namespace Opm::Properties