only update individual wells after solve eq

This commit is contained in:
Tor Harald Sandve
2021-01-08 11:12:17 +01:00
parent 27bea2fa4f
commit b6fe8cbd77
2 changed files with 1 additions and 5 deletions

View File

@@ -38,10 +38,6 @@ struct EclFlowGasOilProblem {
using InheritsFrom = std::tuple<EclFlowProblem>; using InheritsFrom = std::tuple<EclFlowProblem>;
}; };
} }
template<class TypeTag>
struct EnableDiffusion<TypeTag, TTag::EclFlowGasOilProblem> {
static constexpr bool value = true;
};
//! The indices required by the model //! The indices required by the model
template<class TypeTag> template<class TypeTag>

View File

@@ -968,7 +968,7 @@ namespace Opm {
for (auto& well : well_container_) { for (auto& well : well_container_) {
well->solveWellEquation(ebosSimulator_, well_state_, local_deferredLogger); well->solveWellEquation(ebosSimulator_, well_state_, local_deferredLogger);
} }
updateWellControls(local_deferredLogger, /* check group controls */ true); updateWellControls(local_deferredLogger, /* check group controls */ false);
} }
gliftDebug("assemble() : running assembleWellEq()..", local_deferredLogger); gliftDebug("assemble() : running assembleWellEq()..", local_deferredLogger);