New default tuning parameters based on pore volume

This commit is contained in:
Alf Birger Rustad 2020-09-16 15:58:14 +02:00
parent 0816e21846
commit 2e2bad179d

View File

@ -164,7 +164,7 @@ struct MaxResidualAllowed<TypeTag, TTag::FlowModelParameters> {
template<class TypeTag> template<class TypeTag>
struct RelaxedMaxPvFraction<TypeTag, TTag::FlowModelParameters> { struct RelaxedMaxPvFraction<TypeTag, TTag::FlowModelParameters> {
using type = GetPropType<TypeTag, Scalar>; using type = GetPropType<TypeTag, Scalar>;
static constexpr type value = 1.0; static constexpr type value = 0.03;
}; };
template<class TypeTag> template<class TypeTag>
struct ToleranceMb<TypeTag, TTag::FlowModelParameters> { struct ToleranceMb<TypeTag, TTag::FlowModelParameters> {
@ -179,7 +179,7 @@ struct ToleranceCnv<TypeTag, TTag::FlowModelParameters> {
template<class TypeTag> template<class TypeTag>
struct ToleranceCnvRelaxed<TypeTag, TTag::FlowModelParameters> { struct ToleranceCnvRelaxed<TypeTag, TTag::FlowModelParameters> {
using type = GetPropType<TypeTag, Scalar>; using type = GetPropType<TypeTag, Scalar>;
static constexpr type value = 1e9; static constexpr type value = 1;
}; };
template<class TypeTag> template<class TypeTag>
struct ToleranceWells<TypeTag, TTag::FlowModelParameters> { struct ToleranceWells<TypeTag, TTag::FlowModelParameters> {
@ -206,7 +206,7 @@ struct MaxSinglePrecisionDays<TypeTag, TTag::FlowModelParameters> {
}; };
template<class TypeTag> template<class TypeTag>
struct MaxStrictIter<TypeTag, TTag::FlowModelParameters> { struct MaxStrictIter<TypeTag, TTag::FlowModelParameters> {
static constexpr int value = 8; static constexpr int value = 0;
}; };
template<class TypeTag> template<class TypeTag>
struct SolveWelleqInitially<TypeTag, TTag::FlowModelParameters> { struct SolveWelleqInitially<TypeTag, TTag::FlowModelParameters> {