mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 17:20:59 -06:00
Merge pull request #4155 from totto82/fixTestGlift
set alq before trying to solve the equation during well testing
This commit is contained in:
commit
6a13fe807a
@ -319,6 +319,10 @@ namespace Opm
|
||||
updatePrimaryVariables(well_state_copy, deferred_logger);
|
||||
initPrimaryVariablesEvaluation();
|
||||
|
||||
if (this->isProducer()) {
|
||||
gliftBeginTimeStepWellTestUpdateALQ(simulator, well_state_copy, deferred_logger);
|
||||
}
|
||||
|
||||
WellTestState welltest_state_temp;
|
||||
|
||||
bool testWell = true;
|
||||
@ -334,9 +338,7 @@ namespace Opm
|
||||
return;
|
||||
}
|
||||
|
||||
if (this->isProducer()) {
|
||||
gliftBeginTimeStepWellTestUpdateALQ(simulator, well_state_copy, deferred_logger);
|
||||
}
|
||||
|
||||
updateWellOperability(simulator, well_state_copy, deferred_logger);
|
||||
if ( !this->isOperableAndSolvable() ) {
|
||||
const auto msg = fmt::format("WTEST: Well {} is not operable (physical)", this->name());
|
||||
|
Loading…
Reference in New Issue
Block a user