mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Support for saturation table for each well completion
Compute relperms for each well completion based on saturation table ids (satnums) Does not work in combination with hysteresis.
This commit is contained in:
@@ -448,7 +448,7 @@ BOOST_AUTO_TEST_CASE(GetTable)
|
||||
std::shared_ptr<Wells> wells(create_wells(nphases, nwells, nperfs),
|
||||
destroy_wells);
|
||||
const int cells[] = {5};
|
||||
add_well(INJECTOR, 100, 1, NULL, cells, NULL, NULL, true, wells.get());
|
||||
add_well(INJECTOR, 100, 1, NULL, cells, NULL, 0, NULL, true, wells.get());
|
||||
|
||||
//Create interpolation points
|
||||
double aqua_d = -0.15;
|
||||
@@ -785,7 +785,7 @@ BOOST_AUTO_TEST_CASE(InterpolateADBAndQs)
|
||||
std::stringstream ss;
|
||||
ss << "WELL_" << i;
|
||||
const bool ok = add_well(INJECTOR, 0.0, 1, NULL, &cells,
|
||||
NULL, ss.str().c_str(), true, wells.get());
|
||||
NULL, 0, ss.str().c_str(), true, wells.get());
|
||||
BOOST_REQUIRE(ok);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user