New Bug Reports/Feature Requests

Linus Torvalds torvalds at linux-foundation.org
Wed Feb 24 12:26:37 PST 2016


On Wed, Feb 24, 2016 at 12:15 PM, Robert Helling <helling at atdotde.de> wrote:
>
> and in fact, Robert is looking into this issue. He decided to get the
> physics (somewhat) right by using a van der Waals (or related) equation
> rather than a random fit function but still has to do a bit of math before a
> patch is coming.

Heh. That may be overkill.

But in the meantime, I've been looking at the gas volume code, and I
have a TOTALLY UNTESTED set of patches that just do the linear
interpolation using the Wikipedia numbers for air at 300K.

I'll send those patches out to

 (a) have people look at them

 (b) if it turns out to be correct, there's now a single
"gas_compressibility_factor()" function that could use other
calculations instead.

That "gas_compressibility_factor()" function does get the gasmix, so
we *could* do different compressibility calculations for different
gases, but my patches will just ignore it and always use the air
tables.

                  Linus


More information about the subsurface mailing list