mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
increase segment volume to stabilize to improve convergence
This commit is contained in:
parent
d49c590879
commit
ec7c6e236d
@ -2832,8 +2832,8 @@ namespace Opm
|
|||||||
vol_ratio += mix[comp_idx] / b[comp_idx];
|
vol_ratio += mix[comp_idx] / b[comp_idx];
|
||||||
}
|
}
|
||||||
|
|
||||||
// segment volume
|
// We increase the segment volume with a factor 10 to stabilize the system.
|
||||||
const double volume = segmentSet()[seg_idx].volume();
|
const double volume = segmentSet()[seg_idx].volume() * 10;
|
||||||
|
|
||||||
return volume / vol_ratio;
|
return volume / vol_ratio;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user