mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed mistake in computation of one of the residuals.
This commit is contained in:
parent
c0368fa61d
commit
76e82a718e
@ -320,7 +320,7 @@ namespace Opm
|
||||
double c_ads;
|
||||
tm.polyprops_.adsorption(c_arg, cmax0, c_ads);
|
||||
res_s = s_arg - s0 + dtpv*(outflux*ff + influx + s*comp_term);
|
||||
res_c = s_arg*(1 - dps)*c_arg - (s0 - dps)*c0
|
||||
res_c = s_arg*(1 - dps)*c_arg - s0*(1 - dps)*c0
|
||||
+ rhor*((1.0 - porosity)/porosity)*(c_ads - c_ads0)
|
||||
+ dtpv*(outflux*ff*mc + influx_polymer)
|
||||
+ dtpv*(s_arg*c_arg*(1.0 - dps) - rhor*c_ads)*comp_term;
|
||||
|
Loading…
Reference in New Issue
Block a user