mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
The reference phase is always the oil phase. Removed explicit warning.
This commit is contained in:
@@ -1534,7 +1534,7 @@ namespace {
|
|||||||
// convert the pressure offsets to the capillary pressures
|
// convert the pressure offsets to the capillary pressures
|
||||||
std::vector<ADB> pressure = fluid_.capPress(sw, so, sg, cells_);
|
std::vector<ADB> pressure = fluid_.capPress(sw, so, sg, cells_);
|
||||||
for (int phaseIdx = 0; phaseIdx < BlackoilPhases::MaxNumPhases; ++phaseIdx) {
|
for (int phaseIdx = 0; phaseIdx < BlackoilPhases::MaxNumPhases; ++phaseIdx) {
|
||||||
#warning "what's the reference phase??"
|
// The reference pressure is always the liquid phase (oil) pressure.
|
||||||
if (phaseIdx == BlackoilPhases::Liquid)
|
if (phaseIdx == BlackoilPhases::Liquid)
|
||||||
continue;
|
continue;
|
||||||
pressure[phaseIdx] = pressure[phaseIdx] - pressure[BlackoilPhases::Liquid];
|
pressure[phaseIdx] = pressure[phaseIdx] - pressure[BlackoilPhases::Liquid];
|
||||||
|
|||||||
Reference in New Issue
Block a user