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:
Tor Harald Sandve
2017-04-06 14:21:59 +02:00
parent 431abb0012
commit cd564ade5f
6 changed files with 191 additions and 141 deletions

View File

@@ -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);
}