mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added checks for BHP and fluid_volume_rate for group control. Also added error tolerance for group control
This commit is contained in:
parent
40ac7414ac
commit
fcca65748e
@ -76,7 +76,7 @@ int main(int argc, char** argv) {
|
||||
std::vector<double> well_rate;
|
||||
pressure_solver.solve(totmob, omega, src, wdp, bcs.c_bcs(), pressure, face_flux, well_bhp, well_rate);
|
||||
std::cout << "Solved" << std::endl;
|
||||
if(wells.wellCollection().conditionsMet(well_bhp, well_rate)) {
|
||||
if(wells.wellCollection().conditionsMet(well_bhp, well_rate, *grid.c_grid(), state.saturation() )) {
|
||||
std::cout << "Conditions met for wells!" << std::endl;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user