mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Fix issue with stopped injectors in thermal runs
This commit is contained in:
parent
03795d5b23
commit
9eaba103cc
@ -2602,7 +2602,7 @@ namespace Opm
|
||||
}
|
||||
|
||||
// change temperature for injecting fluids
|
||||
if (this->isInjector() && cq_s[activeCompIdx] > 0.0){
|
||||
if (this->isInjector() && !this->wellIsStopped() && cq_s[activeCompIdx] > 0.0){
|
||||
// only handles single phase injection now
|
||||
assert(this->well_ecl_.injectorType() != InjectorType::MULTI);
|
||||
fs.setTemperature(this->well_ecl_.inj_temperature());
|
||||
|
Loading…
Reference in New Issue
Block a user