mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Expand concentration interval in which we look for solution.
This is an ad-hoc fix. We should investigate if (or how much) the concentration may be above from the injected value.
This commit is contained in:
parent
dce3068343
commit
d71742871b
@ -570,7 +570,7 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
ResidualC res(*this, cell);
|
ResidualC res(*this, cell);
|
||||||
const double a = 0.0;
|
const double a = 0.0;
|
||||||
const double b = polyprops_.cMax();
|
const double b = polyprops_.cMax()*1.1; // Add 10% to account for possible non-monotonicity of hyperbolic system.
|
||||||
int iters_used;
|
int iters_used;
|
||||||
|
|
||||||
// Check if current state is an acceptable solution.
|
// Check if current state is an acceptable solution.
|
||||||
|
Loading…
Reference in New Issue
Block a user