mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Use porevolume of last step in computation of gravity residual.
This commit is contained in:
parent
a8cb519d4e
commit
876d23942c
@ -349,7 +349,7 @@ namespace Opm
|
||||
gf[1] = gravflux[pos];
|
||||
}
|
||||
s0 = tm.saturation_[cell];
|
||||
dtpv = tm.dt_/tm.porevolume0_[cell];
|
||||
dtpv = tm.dt_/tm.porevolume_[cell];
|
||||
|
||||
}
|
||||
double operator()(double s) const
|
||||
|
Loading…
Reference in New Issue
Block a user