mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Final fixes for new well structure (to make it compile)
This commit is contained in:
@@ -77,6 +77,7 @@ int main(int argc, char** argv) {
|
|||||||
|
|
||||||
computeFlowRatePerWell(*wells.c_wells(), well_rate_per_cell, well_rate);
|
computeFlowRatePerWell(*wells.c_wells(), well_rate_per_cell, well_rate);
|
||||||
|
|
||||||
|
#if 0
|
||||||
while (!wells.conditionsMet(well_bhp, well_rate)) {
|
while (!wells.conditionsMet(well_bhp, well_rate)) {
|
||||||
std::cout << "Conditions not met for well, trying again" << std::endl;
|
std::cout << "Conditions not met for well, trying again" << std::endl;
|
||||||
pressure_solver.solve(totmob, omega, src, wdp, bcs.c_bcs(), pressure, face_flux, well_bhp, well_rate_per_cell);
|
pressure_solver.solve(totmob, omega, src, wdp, bcs.c_bcs(), pressure, face_flux, well_bhp, well_rate_per_cell);
|
||||||
@@ -88,7 +89,7 @@ int main(int argc, char** argv) {
|
|||||||
computeFlowRatePerWell(*wells.c_wells(), well_rate_per_cell, well_rate);
|
computeFlowRatePerWell(*wells.c_wells(), well_rate_per_cell, well_rate);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if 0
|
|
||||||
std::vector<double> porevol;
|
std::vector<double> porevol;
|
||||||
computePorevolume(*grid->c_grid(), incomp_properties, porevol);
|
computePorevolume(*grid->c_grid(), incomp_properties, porevol);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user