Hydrostatic pressure distribution for an ideal gas

Click For Summary
SUMMARY

The discussion centers on the application of the ideal gas law, represented by the equation pV=nRT, in a cylindrical container of an ideal gas under gravitational influence. It establishes that the ideal gas law is only valid when pressure and temperature are uniform throughout the gas volume. The participants clarify that in a gravitational field, pressure varies with depth, necessitating local application of the ideal gas law to small volumes where conditions remain constant. The conversation emphasizes the importance of using the molar gas constant 'R' and the molecular weight 'M' for accurate calculations.

PREREQUISITES
  • Understanding of the ideal gas law and its variables (p, V, n, R, T).
  • Knowledge of hydrostatic pressure principles and the hydrostatic law.
  • Familiarity with thermodynamic concepts, particularly in relation to gases.
  • Basic calculus for integrating pressure gradients.
NEXT STEPS
  • Study the implications of hydrostatic pressure in fluids and gases.
  • Learn about the derivation and application of the ideal gas law in varying conditions.
  • Explore the concept of local thermodynamic equilibrium in gases.
  • Investigate the significance of the molar gas constant and molecular weight in gas calculations.
USEFUL FOR

Students and professionals in physics, engineering, and chemistry who are studying gas behavior under varying pressure and temperature conditions, particularly in gravitational fields.

Soumalya
Messages
183
Reaction score
2
Considering a unit mass of an ideal gas in a cylindrical container of volume 'V' at temperature 'T' the pressure exerted by the gas at the walls of the container is given by the ideal gas equation as,

pV=RT where 'R' is the characteristic gas constant for the particular gas.

Under equilibrium conditions this pressure should have equal values as measured at every point within the container.

Again considering the gas in the container as a fluid at rest there should be a vertical pressure gradient satisfying the relation as given by the hydrostatic law,

dp/dz=-γ=-ρ*g

where, 'z' is the elevation measured in a vertically downward direction,
'γ' is the weight density and 'ρ' is the mass density of the gas,
and 'g' is the acceleration due to gravity.

Now for the gas at rest within the cylinder if we assume uniform density everywhere within the container i.e, the variation of density with spatial location to be absent we may integrate previous equation as,

∫dp=-γ∫dz=-ρg∫dz
or,p=-ρgz

Thus, pressure should vary linearly with depth for the gas within the cylinder whereas we know that the pressure at all points within the cylinder should be the same as given by the ideal gas model!

I fail to understand where am I possibly wrong.Any views on this?
 
Last edited:
Physics news on Phys.org
The equation of state

$$
PV=nRT
$$

is valid for gas volume only if it has the same pressure and temperature everywhere. In gravitational field this is valid only for horizontally placed slices that are thin enough to make the variation of pressure negligible.
 
  • Like
Likes   Reactions: Soumalya
Jano L. said:
The equation of state

$$
PV=nRT
$$

is valid for gas volume only if it has the same pressure and temperature everywhere. In gravitational field this is valid only for horizontally placed slices that are thin enough to make the variation of pressure negligible.

Does that mean one could only apply the ideal gas equation for containers that are not significantly large in vertical dimensions?
 
You can apply it only for volumes of gas which have uniform pressure and temperature within the volume.
Think about it, if the pressure or temperature is not uniform, what values would you use in formula? What p, what T?

If the volume of gas does not satisfy this condition, you can divide it into small volumes so that within each one the p and T are approximately constant.
 
The ideal gas law is correct locally at each depth for the situation you are looking at. The local density of the ideal gas is given by:

\rho=\frac{pM}{RT}

where ρ is the local mass per unit volume at depth z and M is the molecular weight. So,

\frac{dp}{dz}=\frac{pM}{RT}g

where z is measured downward. So,

\frac{dlnp}{dz}=\frac{Mg}{RT}

Chet
 
Soumalya said:
Considering a unit mass of an ideal gas in a cylindrical container of volume 'V' at temperature 'T' the pressure exerted by the gas at the walls of the container is given by the ideal gas equation as,

pV=RT where 'R' is the characteristic gas constant for the particular gas.

A couple of remarks.
(a) These days it's generally considered better style not to work with unit quantities. If you work with a mass m of gas, the equations manifestly retain their homogeneity of units. You can always put m = 1 kg when you put the figures in near the end.

(b) When dealing with gases the symbol R is reserved for the molar gas constant, which applies to all (ideal) gases alike, and is defined by the equation pV = nRT in which n is the amount of substance (number of moles [x mol]). That's the way Chestermiller is using R in his post.

The constant you've called 'R' is equal to nR = \frac{mass\ of\ gas}{molar\ mass}\times R.

The molar mass (mass of a mole of the gas!) is what Chestermiller is calling M.
 
Last edited:
  • Like
Likes   Reactions: Soumalya
Chestermiller said:
The ideal gas law is correct locally at each depth for the situation you are looking at. The local density of the ideal gas is given by:

\rho=\frac{pM}{RT}

where ρ is the local mass per unit volume at depth z and M is the molecular weight. So,

\frac{dp}{dz}=\frac{pM}{RT}g

where z is measured downward. So,

\frac{dlnp}{dz}=\frac{Mg}{RT}

Chet

Excellent clarification!

The ideal gas equation is only valid for a certain quantity of a gas where the thermodynamic parameters are invariant with location.

While for a fluid at rest both pressure and temperature are expected to vary with location(i.e, elevation) and consequently density varies with location according to the ideal gas law applied locally at any point of the containing vessel for the gas.

Thank You once again
Sir Chet:)
 
Philip Wood said:
A couple of remarks.
(a) These days it's generally considered better style not to work with unit quantities. If you work with a mass m of gas, the equations manifestly retain their homogeneity of units. You can always put m = 1 kg when you put the figures in near the end.

(b) When dealing with gases the symbol R is reserved for the molar gas constant, which applies to all (ideal) gases alike, and is defined by the equation pV = nRT in which n is the amount of substance (number of moles [x mol]). That's the way Chestermiller is using R in his post.

The constant you've called 'R' is equal to nR = \frac{mass\ of\ gas}{molar\ mass}\times R.

The molar mass (mass of a mole of the gas!) is what Chestermiller is calling M.

Those are certainly some very important remarks one should be careful about!

The first point you made is indeed quite necessary to avoid a serious malpractice.

Thank You :)
 
Jano L. said:
The equation of state

$$
PV=nRT
$$

is valid for gas volume only if it has the same pressure and temperature everywhere. In gravitational field this is valid only for horizontally placed slices that are thin enough to make the variation of pressure negligible.

I understand now what you meant :)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 18 ·
Replies
18
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 11 ·
Replies
11
Views
6K
  • · Replies 67 ·
3
Replies
67
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
5K
  • · Replies 45 ·
2
Replies
45
Views
4K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 0 ·
Replies
0
Views
1K