mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -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);
|
updatePrimaryVariables(well_state_copy, deferred_logger);
|
||||||
initPrimaryVariablesEvaluation();
|
initPrimaryVariablesEvaluation();
|
||||||
|
|
||||||
|
if (this->isProducer()) {
|
||||||
|
gliftBeginTimeStepWellTestUpdateALQ(simulator, well_state_copy, deferred_logger);
|
||||||
|
}
|
||||||
|
|
||||||
WellTestState welltest_state_temp;
|
WellTestState welltest_state_temp;
|
||||||
|
|
||||||
bool testWell = true;
|
bool testWell = true;
|
||||||
@ -334,9 +338,7 @@ namespace Opm
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this->isProducer()) {
|
|
||||||
gliftBeginTimeStepWellTestUpdateALQ(simulator, well_state_copy, deferred_logger);
|
|
||||||
}
|
|
||||||
updateWellOperability(simulator, well_state_copy, deferred_logger);
|
updateWellOperability(simulator, well_state_copy, deferred_logger);
|
||||||
if ( !this->isOperableAndSolvable() ) {
|
if ( !this->isOperableAndSolvable() ) {
|
||||||
const auto msg = fmt::format("WTEST: Well {} is not operable (physical)", this->name());
|
const auto msg = fmt::format("WTEST: Well {} is not operable (physical)", this->name());
|
||||||
|
Loading…
Reference in New Issue
Block a user