Merge pull request #712 from totto82/changeDefaultMaxMinTemp

change default max/min temp in newton clamping
This commit is contained in:
Atgeirr Flø Rasmussen 2022-10-13 21:52:04 +02:00 committed by GitHub
commit 83e17fd44d

View File

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