mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 18:21:00 -06:00
Remove water saturation as primary variable of flow_onephase
This commit is contained in:
parent
215c885d0b
commit
47c06c54d8
@ -306,7 +306,6 @@ public:
|
||||
// assign the actual primary variables
|
||||
if (primaryVarsMeaning() == OnePhase_p) {
|
||||
if (waterEnabled) {
|
||||
(*this)[waterSaturationIdx] = FsToolbox::value(fluidState.saturation(waterPhaseIdx));
|
||||
(*this)[pressureSwitchIdx] = FsToolbox::value(fluidState.pressure(waterPhaseIdx));
|
||||
} else {
|
||||
throw std::logic_error("For single-phase runs, only pure water is presently allowed.");
|
||||
|
Loading…
Reference in New Issue
Block a user