mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-01 12:06:54 -06:00
modified the group control interface slightly
This commit is contained in:
parent
fb95c6da19
commit
fe739986be
@ -77,7 +77,11 @@ int main(int argc, char** argv) {
|
||||
pressure_solver.solve(totmob, omega, src, wdp, bcs.c_bcs(), pressure, face_flux, well_bhp, well_rate_per_cell);
|
||||
std::cout << "Solved" << std::endl;
|
||||
|
||||
for(size_t i = 0; i < well_rate_per_cell.size(); i++) {
|
||||
std::cout << well_rate_per_cell[i] << std::endl;
|
||||
}
|
||||
std::vector<double> well_rate;
|
||||
|
||||
computeFlowRatePerWell(*wells.c_wells(), well_rate_per_cell, well_rate);
|
||||
if(wells.wellCollection().conditionsMet(well_bhp, well_rate, *grid.c_grid(), state.saturation() )) {
|
||||
std::cout << "Conditions met for wells!" << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user