Real gas tables: isentropic work

In summary, the conversation discusses the writer's use of real gas tables from Perry's Chemical Engineer's Handbook to calculate properties and processes of dry air. The writer has found mistakes in the tables and is struggling to accurately calculate isentropic work using different methods. They express frustration with the lack of available data and inquire about where to find accurate thermodynamic properties of dry air. The conversation ends with a suggestion to purchase a database from NIST.
  • #1
kandelabr
113
0
Hello.

I am writing a Matlab program for calculating properties and processes of dry air using real gas tables. The only tables I could find were from Perry's Chemical Engineer's Handbook (7th edition, 1999).
Mostly I make use of cubic interpolation and in some critical cases numerical differentiation and integration of thermodynamic equations (for instance, calculating entropy from equation of state and cp tables).

First, I think I found a few mistakes in the tables and I guess there is even more of them.
This is a surface plot of cp (heat capacity at constant pressure); temperature 240-500 K and pressure 1 – 500 bar:

rawcp.jpg


If I filter the peak out and correct the two values where graph doesn't rise continuously (using interpolation), I get this:

intcp.jpg


But, if I calculate cp using equation cp = dh/dT (I also have an enthalpy table), the surface looks like this:

dhcp.jpg


Now there must be something wrong either with enthalpy table or cp table or with whatever table;
Second, I cannot calculate isentropic work of gas.
I am given the temperature and pressure at the beginning (T1, p1), and volume ratio (vr = v2/v1) (I am using volume ratio because I am developing a volumetric expander).

I tried 6 (six!) different approaches (I can post the code of all of them, If you want), but the results are definitely wrong since every method gives different results for the same start parameters.

The following graph shows work for T1 = 400K, vr = 2 and p1 goes from 15 bar to 500 bar.
The red method uses only equation of state (ideal gas equation and interpolation of factor of compressibility from tables) and a heap of numerical equation solving.
The blue is the most brutal way, which means using a while loop to add up temperatures bit by bit until the desired volume is reached.
Work of ideal gas would be drawn as a horizontal line at around 7x104 J/kg. Keep in mind that this is not one expansion but a series of expansions, each starting at a different pressure p1, which is on horizontal axis.

wbe.jpg


This seems like a total nonsense. If it is of any help, this is the final temperature after expansions:

Tbe.jpg


So, my options are few:
- acquire better data from somewhere
- invent yet another method of calculating isentropic work (seems not a very good idea).

So, do you know where could I get thermodynamic properties of dry air? I only need volumes and specific heats (other tables would be welcome, though). Accuracy is critical!

Thank you,
kandelabr
 
Physics news on Phys.org
  • #2
I hardly believe there is no one who has ever worked with real gases. How do you build a high pressure compressor? A diving cylinder? An air gun?
Using ideal gas and miss the numbers by 40%?

It's not only these forums. I can't find any data on the net (except that book), there is no book in our library (which is not too small), no real gas equations-of-state coefficients (Redlich-Kwong, Benedict-Webb-Rubin, virial equations), nothing, nothing. I feel like I was doing some basic research.
 
  • #3
kandelabr said:
I hardly believe there is no one who has ever worked with real gases. How do you build a high pressure compressor? A diving cylinder? An air gun?
Using ideal gas and miss the numbers by 40%?

It's not only these forums. I can't find any data on the net (except that book), there is no book in our library (which is not too small), no real gas equations-of-state coefficients (Redlich-Kwong, Benedict-Webb-Rubin, virial equations), nothing, nothing. I feel like I was doing some basic research.
Hi kandelabr,
The company I work for has their own thermophysical fluids database and I'm sure many other companies do also. But you can purchase a database from NIST called REFPROP for $200 or $300.
http://www.nist.gov/srd/nist23.cfm

I've used it and it's very similar to the one we have. You can link it to EXCEL and I believe to Matlab too, but I haven't used it with Matlab.
http://www.boulder.nist.gov/div838/theory/refprop/Frequently_asked_questions.htm#MatLabApplications
 
  • #4
Thank you for your answer!
Got it!

(no further questions)
 
Last edited:
  • #5
Just FYI: it was the data. the same code on more precise tables works very well.
 

Related to Real gas tables: isentropic work

1. What is a real gas table?

A real gas table is a collection of data that shows the properties of a gas at different temperatures and pressures. It includes information such as density, specific heat, and enthalpy, and is commonly used in thermodynamic calculations.

2. What is isentropic work?

Isentropic work is the work done on or by a gas during a process where there is no change in entropy. This means that the gas is being compressed or expanded without any heat transfer or energy loss.

3. How are real gas tables used in isentropic work calculations?

Real gas tables are used to determine the properties of a gas at specific temperatures and pressures, which are then used in isentropic work calculations. These tables provide more accurate results than using ideal gas equations, as they take into account the deviations from ideal gas behavior.

4. What is the significance of isentropic work in thermodynamics?

Isentropic work is significant in thermodynamics because it represents the maximum amount of work that can be obtained from a process without any energy loss. It is often used in the analysis of heat engines and other thermodynamic systems.

5. Are there any limitations to using real gas tables in isentropic work calculations?

Yes, there are limitations to using real gas tables in isentropic work calculations. These tables are based on certain assumptions and may not accurately represent the behavior of all gases. Additionally, they may not include data for all temperature and pressure ranges, which can limit their usefulness in certain calculations.

Similar threads

  • Introductory Physics Homework Help
Replies
1
Views
1K
Replies
2
Views
599
  • Thermodynamics
Replies
20
Views
2K
  • Engineering and Comp Sci Homework Help
Replies
4
Views
3K
Replies
56
Views
3K
Replies
15
Views
2K
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
2
Views
572
  • Introductory Physics Homework Help
Replies
8
Views
932
Replies
32
Views
2K
Back
Top