Do not re-initialize stopped wells.

This commit is contained in:
Atgeirr Flø Rasmussen committed 2025-05-07 15:55:58 +02:00
1 parent 463dfcf193
commit 272fb2051f
1 file changed
+1 -1
@@ -435,7 +435,7 @@ namespace Opm {
// This is done only for producers, as injectors will only have a single
// nonzero phase anyway.
for (const auto& well : well_container_) {
if (well->isProducer()) {
if (well->isProducer() && !well->wellIsStopped()) {
well->initializeProducerWellState(simulator_, this->wellState(), local_deferredLogger);
}
}