Added checks for BHP and fluid_volume_rate for group control. Also added error tolerance for group control
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user