[PATCH 2/2] gas model: replace Redlich-Kwong with least-square quintic

Linus Torvalds torvalds at linux-foundation.org
Wed Mar 2 18:45:16 PST 2016


On Wed, Mar 2, 2016 at 6:31 PM, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
>
> is there a way to obtain some of the upper values up to 500 bars for
> all gases (we already have the ones for AIR for wikipedia)?
> if not, we may have to hardcode reasonable estimations (but arbitrary,
> obviously) and re-calculate all coefficients so that all polynomials
> look reasonable.

Having looked at all the plots on wolfram, I actually worry less.

My main worry was that there would be some nasty inflection point
after the last value, and things would nose-dive after 275 bar or so.
*That* is why I'd have preferred to see something where the tables
went higher.

But having looked at the profiles, the "nosedive" happens closer to
450 bar (and only for oxygen at that).  And it may not be great at 400
bar, but it's not a disaster.

And 400 bar is already _so_ far above any reasonable cylinder pressure
that I wouldn't worry about it.

             Linus


More information about the subsurface mailing list