mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make sure the perforation pressures is initialized also for STOP wells
This commit is contained in:
@@ -303,4 +303,18 @@ BOOST_AUTO_TEST_CASE(Rates)
|
||||
}
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------
|
||||
|
||||
BOOST_AUTO_TEST_CASE(STOP_well)
|
||||
{
|
||||
/*
|
||||
This test verifies that the perforation pressures is correctly initialized
|
||||
also for wells in the STOP state.
|
||||
*/
|
||||
const Setup setup{ "wells_manager_data_wellSTOP.data" };
|
||||
auto wstate = buildWellState(setup, 0);
|
||||
for (const auto& p : wstate.perfPress())
|
||||
BOOST_CHECK(p > 0);
|
||||
}
|
||||
|
||||
BOOST_AUTO_TEST_SUITE_END()
|
||||
|
||||
@@ -35,11 +35,17 @@ SCHEDULE
|
||||
WELSPECS
|
||||
'INJ1' 'G' 1 1 8335 'GAS' /
|
||||
'PROD1' 'G' 10 10 8400 'OIL' /
|
||||
'STOP' 'G' 5 5 8400 'OIL' /
|
||||
/
|
||||
|
||||
COMPDAT
|
||||
'INJ1' 1 1 1 1 'OPEN' 1 10.6092 0.5 /
|
||||
'PROD1' 10 3 3 3 'OPEN' 0 10.6092 0.5 /
|
||||
'STOP' 5 3 1 3 'OPEN' 0 10.6092 0.5 /
|
||||
/
|
||||
|
||||
WCONHIST
|
||||
'STOP' 'STOP' 'GRAT' 0 0 0 /
|
||||
/
|
||||
|
||||
WCONPROD
|
||||
|
||||
Reference in New Issue
Block a user