mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
change default max/min temp in newton clamping
This commit is contained in:
parent
802a267251
commit
8102874f16
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user