mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
use gas pressure for gas-water system in the well model
This commit is contained in:
parent
392573289f
commit
8796fa1ccc
@ -1200,10 +1200,10 @@ namespace Opm
|
|||||||
{
|
{
|
||||||
if constexpr (Indices::oilEnabled) {
|
if constexpr (Indices::oilEnabled) {
|
||||||
return fs.pressure(FluidSystem::oilPhaseIdx);
|
return fs.pressure(FluidSystem::oilPhaseIdx);
|
||||||
} else if constexpr (Indices::waterEnabled) {
|
} else if constexpr (Indices::gasEnabled) {
|
||||||
return fs.pressure(FluidSystem::waterPhaseIdx);
|
|
||||||
} else {
|
|
||||||
return fs.pressure(FluidSystem::gasPhaseIdx);
|
return fs.pressure(FluidSystem::gasPhaseIdx);
|
||||||
|
} else {
|
||||||
|
return fs.pressure(FluidSystem::waterPhaseIdx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user