Hydrostatic pressure distribution for an ideal gas

Click For Summary

Discussion Overview

The discussion revolves around the hydrostatic pressure distribution of an ideal gas within a cylindrical container, examining the implications of the ideal gas law under gravitational effects. Participants explore the conditions under which the ideal gas law applies, particularly in relation to pressure and temperature uniformity within the gas volume.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant notes that the ideal gas equation, pV=RT, implies uniform pressure throughout the gas in the container, but questions this in light of hydrostatic pressure gradients.
  • Another participant asserts that the ideal gas law is only valid for gas volumes with uniform pressure and temperature, suggesting that this is only applicable to thin horizontal slices in a gravitational field.
  • Some participants propose that the ideal gas law can be applied locally at each depth, with local density expressed in terms of pressure, temperature, and molecular weight.
  • There are remarks about the importance of using consistent units and the distinction between the gas constant R and molar mass M in the context of the ideal gas law.
  • A later reply emphasizes that while the ideal gas equation is valid locally, pressure and temperature are expected to vary with elevation in a fluid at rest.

Areas of Agreement / Disagreement

Participants express differing views on the applicability of the ideal gas law in the presence of gravitational effects, with some agreeing on local applicability while others emphasize the need for uniform conditions. The discussion remains unresolved regarding the implications of these conditions on the ideal gas law.

Contextual Notes

Participants highlight limitations related to the assumptions of uniformity in pressure and temperature, as well as the dependency on the definitions of the gas constant and molar mass. The discussion does not resolve these limitations.

Who May Find This Useful

This discussion may be of interest to those studying thermodynamics, fluid mechanics, or anyone exploring the behavior of gases under varying pressure and temperature conditions 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
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 7 ·
Replies
7
Views
1K
  • · Replies 11 ·
Replies
11
Views
7K
  • · Replies 67 ·
3
Replies
67
Views
6K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 35 ·
2
Replies
35
Views
6K
  • · Replies 45 ·
2
Replies
45
Views
5K
  • · Replies 11 ·
Replies
11
Views
2K