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
aa3728346c
commit
89bf3c934b
@ -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