mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-13 01:12:02 -05:00
Revert the choice to open history wells at every step, since this may cause some models to be stuck at very short time steps.
This commit is contained in:
1 parent
2626fbb84b
commit
31b46b4829
1 file changed
-4
@@ -847,10 +847,6 @@ namespace Opm {
|
||||
// repeated timestep cuts. It should therefore not be opened,
|
||||
// even if it was new or received new targets this report step.
|
||||
const bool closed_this_step = (wellTestState().lastTestTime(well_name) == ebosSimulator_.time());
|
||||
// Always check if wells on historic controls can be opened
|
||||
if (!closed_this_step && !well_ecl.predictionMode()) {
|
||||
wellTestState().open_well(well_name);
|
||||
}
|
||||
// TODO: more checking here, to make sure this standard more specific and complete
|
||||
// maybe there is some WCON keywords will not open the well
|
||||
auto& events = this->wellState().well(w).events;
|
||||
|
||||
Reference in new issue
Block a user