improving the WTEST results by initializing the explicit quantities

This commit is contained in:
Kai Bao 2019-06-26 22:40:33 +02:00
parent 273e6a4dbc
commit 327cf30c31

View File

@ -1017,10 +1017,11 @@ namespace Opm
WellState well_state_copy = well_state; WellState well_state_copy = well_state;
updateWellStateWithTarget(simulator, well_state_copy, deferred_logger);
calculateExplicitQuantities(simulator, well_state_copy, deferred_logger);
updatePrimaryVariables(well_state_copy, deferred_logger); updatePrimaryVariables(well_state_copy, deferred_logger);
initPrimaryVariablesEvaluation(); initPrimaryVariablesEvaluation();
// create a well
WellTestState welltest_state_temp; WellTestState welltest_state_temp;
bool testWell = true; bool testWell = true;