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