mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-25 16:51:00 -06:00
limiting the smallest injection rate to 1.e-7
for the injection phase.
This commit is contained in:
parent
fe19d94b4e
commit
d3d8e11e00
@ -828,6 +828,13 @@ namespace Opm
|
||||
}
|
||||
|
||||
}
|
||||
// for wells with zero injection rate, if we assign exactly zero rate,
|
||||
// we will have to assume some trivial composition in the wellbore.
|
||||
// here, we use some small value (about 0.01 m^3/day ~= 1.e-7) to initialize
|
||||
// the zero rate target, then we can use to retain the composition information
|
||||
// within the wellbore from the previous result, and hopefully it is a good
|
||||
// initial guess for the zero rate target.
|
||||
ws.surface_rates[phasePos] = std::max(1.e-7, ws.surface_rates[phasePos]);
|
||||
}
|
||||
//Producer
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user