mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-16 15:21:56 -06:00
Restore gravity effects
The refactorisation of class FullyImplicitBlackoilSolver<Grid> to defer transmissibility and pore-volume calculation to the client in order to support multipliers (net-to-gross &c) accidentally ended up removing all effects of gravity. This commit restores those effects.
This commit is contained in:
parent
167ed55b86
commit
a612d2c96f
@ -193,7 +193,7 @@ try
|
||||
// initialize variables
|
||||
simtimer.init(timeMap);
|
||||
|
||||
Opm::DerivedGeology geology(*grid->c_grid(), *new_props, eclipseState);
|
||||
Opm::DerivedGeology geology(*grid->c_grid(), *new_props, eclipseState, grav);
|
||||
|
||||
SimulatorReport fullReport;
|
||||
for (size_t reportStepIdx = 0; reportStepIdx < timeMap->numTimesteps(); ++reportStepIdx) {
|
||||
|
@ -236,7 +236,7 @@ try
|
||||
// initialize variables
|
||||
simtimer.init(timeMap);
|
||||
|
||||
Opm::DerivedGeology geology(*grid, *new_props, eclipseState);
|
||||
Opm::DerivedGeology geology(*grid, *new_props, eclipseState, grav);
|
||||
|
||||
SimulatorReport fullReport;
|
||||
for (size_t reportStepIdx = 0; reportStepIdx < timeMap->numTimesteps(); ++reportStepIdx) {
|
||||
|
Loading…
Reference in New Issue
Block a user