Hi,

On 29.02.2016, at 17:10, Linus Torvalds <torva...@linux-foundation.org> wrote:

Of course, I didn't actually check that the fancy math gives mostly the same results for air, but I assume Robert did.



this is what I spent some time on. As I said, the van der Waals equation (which is what one learns in undergrad physics to be relevant to real gases) turns out to be terrible in this respect, the equation I used is better. But still, it is not perfect when compared to the empirical values from Wikipedia. But maybe this could be expected given that it only comes with two parameters (the critical temperature and the critical density). 

Have a look yourself:

Attachment: PastedGraphic-1.pdf
Description: Adobe PDF document


The blue dots are the table from Wikipedia, the yellow curve is van der Waals and the red is the one from my patch. There is a clear trend to be too small but I would rate this as „good enough“, in particular as it also generalizes to other gases.

For those of you who want to see more of what I did I also attach a mathematica worksheet. 

Attachment: realgas.nb
Description: Binary data


Best
Robert

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
subsurface mailing list
subsurface@subsurface-divelog.org
http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface

Reply via email to