mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Changed single-cell solver call.
- Using [0,1] interval instead of [smin, smax] interval to handle compressible case. - Using new version of Regula Falsi function which exploits initial guess.
This commit is contained in:
parent
495a30ef17
commit
d397fd847b
@ -167,7 +167,8 @@ namespace Opm
|
||||
// return;
|
||||
// }
|
||||
int iters_used;
|
||||
saturation_[cell] = modifiedRegulaFalsi(res, smin_[2*cell], smax_[2*cell], maxit_, tol_, iters_used);
|
||||
// saturation_[cell] = modifiedRegulaFalsi(res, smin_[2*cell], smax_[2*cell], maxit_, tol_, iters_used);
|
||||
saturation_[cell] = modifiedRegulaFalsi(res, saturation_[cell], 0.0, 1.0, maxit_, tol_, iters_used);
|
||||
fractionalflow_[cell] = fracFlow(saturation_[cell], cell);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user