mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Included inititalisation of surface volumes.
This commit is contained in:
parent
c1732b0b32
commit
b22d3bdbf1
@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
#include <opm/core/grid.h>
|
#include <opm/core/grid.h>
|
||||||
#include <opm/core/props/BlackoilPhases.hpp>
|
#include <opm/core/props/BlackoilPhases.hpp>
|
||||||
|
#include <opm/core/simulator/initState.hpp>
|
||||||
|
|
||||||
#include <cassert>
|
#include <cassert>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
@ -769,7 +770,7 @@ namespace Opm
|
|||||||
state.saturation() = convertSats(isc.saturation());
|
state.saturation() = convertSats(isc.saturation());
|
||||||
state.gasoilratio() = isc.rs();
|
state.gasoilratio() = isc.rs();
|
||||||
state.rv() = isc.rv();
|
state.rv() = isc.rv();
|
||||||
// TODO: state.surfacevol() must be computed from s, rs, rv.
|
initBlackoilSurfvolUsingRSorRV(grid, props, state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user