mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Switched time step control and changed damping factor for it
This commit is contained in:
parent
fc3ce85be2
commit
2fc9b03af4
@ -162,7 +162,7 @@ struct TimeStepAfterEventInDays<TypeTag, TTag::FlowTimeSteppingParameters> {
|
|||||||
};
|
};
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct TimeStepControl<TypeTag, TTag::FlowTimeSteppingParameters> {
|
struct TimeStepControl<TypeTag, TTag::FlowTimeSteppingParameters> {
|
||||||
static constexpr auto value = "pid";
|
static constexpr auto value = "pid+newtoniteration";
|
||||||
};
|
};
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct TimeStepControlTolerance<TypeTag, TTag::FlowTimeSteppingParameters> {
|
struct TimeStepControlTolerance<TypeTag, TTag::FlowTimeSteppingParameters> {
|
||||||
@ -195,7 +195,7 @@ struct TimeStepControlDecayDampingFactor<TypeTag, TTag::FlowTimeSteppingParamete
|
|||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct TimeStepControlGrowthDampingFactor<TypeTag, TTag::FlowTimeSteppingParameters> {
|
struct TimeStepControlGrowthDampingFactor<TypeTag, TTag::FlowTimeSteppingParameters> {
|
||||||
using type = GetPropType<TypeTag, Scalar>;
|
using type = GetPropType<TypeTag, Scalar>;
|
||||||
static constexpr type value = 1.0/1.2;
|
static constexpr type value = 1.0/0.2;
|
||||||
};
|
};
|
||||||
template<class TypeTag>
|
template<class TypeTag>
|
||||||
struct TimeStepControlFileName<TypeTag, TTag::FlowTimeSteppingParameters> {
|
struct TimeStepControlFileName<TypeTag, TTag::FlowTimeSteppingParameters> {
|
||||||
|
Loading…
Reference in New Issue
Block a user