mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
ebos: tune the defaults of the high-level NewtonMethod parameters
the intention is to abort more quickly if a time step is not going to succeed and also to prevent the time step size to grow too quickly again after it was reduced. Note that these parameters this patch only changes the defaults, i.e., these paramters can still be specified at runtime.
This commit is contained in:
parent
9306e6a742
commit
bf7a437a2a
@ -157,6 +157,15 @@ SET_SCALAR_PROP(EclBaseProblem, NewtonRawTolerance, 1e-4);
|
||||
// thus abort the futile attempt early.
|
||||
SET_SCALAR_PROP(EclBaseProblem, NewtonMaxError, 0.1);
|
||||
|
||||
// set the maximum number of Newton iterations to 10 because the likelyhood that a time
|
||||
// step succeeds at more than 10 Newton iteration is rather small
|
||||
SET_INT_PROP(EclBaseProblem, NewtonMaxIterations, 10);
|
||||
|
||||
// also, reduce the target for the "optimum" number of Newton iterations to 6. Note that
|
||||
// this is only relevant if the time step is reduced from the report step size for some
|
||||
// reason. (because ebos first tries to do a report step using a single time step.)
|
||||
SET_INT_PROP(EclBaseProblem, NewtonTargetIterations, 6);
|
||||
|
||||
// Disable the VTK output by default for this problem ...
|
||||
SET_BOOL_PROP(EclBaseProblem, EnableVtkOutput, false);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user