mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 01:12:02 -05:00
computing the density of segment mixture and pressure drop earlier
the density of segmetn mixture will be used in the well flux calculation.
This commit is contained in:
1 parent
ba7b3e728c
commit
d5f917d1ac
1 file changed
+3
-2
@@ -516,6 +516,9 @@ namespace Opm {
|
||||
return;
|
||||
}
|
||||
|
||||
asImpl().computeSegmentDensities(state);
|
||||
asImpl().computeSegmentPressuresDelta(state);
|
||||
|
||||
std::vector<ADB> mob_perfcells;
|
||||
std::vector<ADB> b_perfcells;
|
||||
asImpl().extractWellPerfProperties(mob_perfcells, b_perfcells);
|
||||
@@ -530,8 +533,6 @@ namespace Opm {
|
||||
V aliveWells;
|
||||
std::vector<ADB> cq_s;
|
||||
asImpl().computeWellFlux(state, mob_perfcells, b_perfcells, aliveWells, cq_s);
|
||||
asImpl().computeSegmentDensities(state, well_state);
|
||||
asImpl().computeSegmentPressuresDelta(state);
|
||||
asImpl().updatePerfPhaseRatesAndPressures(cq_s, state, well_state);
|
||||
asImpl().addWellFluxEq(cq_s, state);
|
||||
asImpl().addWellContributionToMassBalanceEq(cq_s, state, well_state);
|
||||
|
||||
Reference in new issue
Block a user