[Opm] Oil-water-gas rates at perforation in simulators

Jørgen Kvalsvik JOKVA at statoil.com
Wed Apr 6 08:34:34 UTC 2016


Hi,

I'm working on a better way of doing (Eclipse-compatible) output, and need to grab some info from the simulators.

I have a WellState (and possibly Well* from opm-core) that I want to extract rates at some perforation. It seems to me that the perfRates in WellState only store the combined rate of oil, water and gas, and not the three individual rates (which I'm interested in outputting). Are there any way of grabbing these three on a per-well per-connection basis from WellState?

I (think I) have traced the computation of the rates to compute_wflux in cfs_tpfa_residual.c. Please correct me if I'm wrong, but if this is correct then it also seems to only care about the total because it accumulates the phase mobilities before computing the flux (which I is more-or-less directly assigned to WellState::perfRates).

tl;dr: how can I grab individual oil/water/gas rates at each perforation for a well?


-------------------------------------------------------------------
The information contained in this message may be CONFIDENTIAL and is
intended for the addressee only. Any unauthorised use, dissemination of the
information or copying of this message is prohibited. If you are not the
addressee, please notify the sender immediately by return e-mail and delete
this message.
Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <//opm-project.org/pipermail/opm/attachments/20160406/41f4ab5b/attachment.html>


More information about the Opm mailing list