increase segment volume to stabilize to improve convergence

This commit is contained in:
Tor Harald Sandve 2020-05-12 13:13:00 +02:00
parent d49c590879
commit ec7c6e236d

View File

@ -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;
} }