mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -06:00
avoid setting entalpy in non active phases (assert will else be broken)
This commit is contained in:
parent
efe3313f85
commit
c1640aaf3e
@ -376,7 +376,7 @@ public:
|
||||
// and the thermal condictivity coefficients
|
||||
for (int phaseIdx = 0; phaseIdx < numPhases; ++ phaseIdx) {
|
||||
if (!FluidSystem::phaseIsActive(phaseIdx)) {
|
||||
fs.setEnthalpy(phaseIdx, 0.0);
|
||||
//fs.setEnthalpy(phaseIdx, 0.0);
|
||||
continue;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user