mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-27 03:30:17 -06:00
EclNewtonMethod: tweak the parameters a bit
This commit is contained in:
parent
85a9b75076
commit
c08f0008ad
@ -98,7 +98,7 @@ public:
|
||||
*/
|
||||
bool converged() const
|
||||
{
|
||||
if (errorPvFraction_ < 0.01)
|
||||
if (errorPvFraction_ < 0.03)
|
||||
return (this->error_ < relaxedTolerance_ && errorSum_ < sumTolerance_) ;
|
||||
else if (this->numIterations() > 8)
|
||||
return (this->error_ < relaxedTolerance_ && errorSum_ < sumTolerance_) ;
|
||||
|
@ -236,10 +236,10 @@ SET_SCALAR_PROP(EclBaseProblem, EndTime, 1e100);
|
||||
// not millions of trillions of years, that is...)
|
||||
SET_SCALAR_PROP(EclBaseProblem, InitialTimeStepSize, 1e100);
|
||||
|
||||
// set the tolerated amount of "incorrect" mass to ~1e-6 kg of oil per time step for a
|
||||
// set the tolerated amount of "incorrect" mass to ~1e-4 kg of oil per time step for a
|
||||
// reservoir that exhibits a pore volume of 1 m^3. larger reservoirs will tolerate larger
|
||||
// residuals.
|
||||
SET_SCALAR_PROP(EclBaseProblem, NewtonSumTolerance, 1e-6);
|
||||
SET_SCALAR_PROP(EclBaseProblem, NewtonSumTolerance, 1e-4);
|
||||
|
||||
// the default for the volumetric error for oil per second is 10^-2 kg/(m^3 * s).
|
||||
SET_SCALAR_PROP(EclBaseProblem, NewtonRawTolerance, 1e-2);
|
||||
|
Loading…
Reference in New Issue
Block a user