Thank you, Andreas.

I abandoned that (even though the function, as you point out, exists) in favour 
of just recording the double from WellState.

________________________________
From: Andreas Lauser <a...@poware.org>
Sent: Monday, September 26, 2016 5:11:44 PM
To: opm@opm-project.org
Cc: Jørgen Kvalsvik; Atgeirr Rasmussen
Subject: Re: [Opm] Difference between WellState::perfRates and 
WellStateFullyImplicitBlackoil::perfPhaseRates

On Monday, September 26, 2016 12:35:09 PM Jørgen Kvalsvik wrote:
> Quick tip on how to convert from surface rate to reservoir rate?

simple answer: forget about it ;)

complicated answer for the reservoir-to-surface rate of the oil component:

\sum i in well
r_i,o * B_o,i / rho_o,ref + r_i,g*B_g,i*R_v,i

where "r" is the reservoir rate, "B" the formation volume factor, R_v the oil
vaporization factor and rho_o,ref the oil surface density. (note that you need
the reservoir rates of the individual cells that penetrate the well, i.e., the
sum of the well does not do the trick. also be aware that in the case of cross
flow the sign of the reservoir rates for individual cells can be the opposite
of sign of the summed up rate.)

cheers
  Andreas

> ________________________________
> From: Opm <opm-boun...@opm-project.org> on behalf of Atgeirr Rasmussen
> <atgeirr.rasmus...@sintef.no> Sent: Monday, September 26, 2016 2:19:39 PM
> To: OPM Mailing List
> Subject: Re: [Opm] Difference between WellState::perfRates and
> WellStateFullyImplicitBlackoil::perfPhaseRates
>
> The perfRates() vector contains *reservoir volume* total rates at the
> perforations, while the perfPhaseRates() vector contain *surface volume*
> rates per phase. So it is not a direct sum.
>
> Atgeirr
>
>
> 26. sep. 2016 kl. 14.10 skrev Jørgen Kvalsvik
> <jo...@statoil.com<mailto:jo...@statoil.com>>:
>
> Hi,
>
> What's the difference between these two vectors? Is perfRates just the sum
> of the pair/triples in perfPhaseRates?
>
>
> -------------------------------------------------------------------
> 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
> _______________________________________________
> Opm mailing list
> Opm@opm-project.org<mailto:Opm@opm-project.org>
> http://opm-project.org/cgi-bin/mailman/listinfo/opm
>
>
>
> -------------------------------------------------------------------
> 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

--
Measuring programming progress by lines of code is like measuring aircraft
building progress by weight.
        -- Bill Gates


-------------------------------------------------------------------
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
_______________________________________________
Opm mailing list
Opm@opm-project.org
http://opm-project.org/cgi-bin/mailman/listinfo/opm

Reply via email to