Gas Interaction in a Box: Force and Pressure Dynamics

  • Context: High School 
  • Thread starter Thread starter etotheipi
  • Start date Start date
  • Tags Tags
    Contact Gases
Click For Summary

Discussion Overview

The discussion revolves around the dynamics of gas interaction in a box when a partition between two regions of differing pressures is removed. Participants explore the implications of this scenario on force exertion between the gases, the evolution of pressure over time, and the mathematical modeling of these phenomena, including references to gas laws and fluid dynamics.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants question the validity of asking about the force exerted by one gas on another at the moment the partition is removed, suggesting that the dynamics may not yield meaningful results at that instant.
  • Others propose that the transition to a continuous description of the gas is acceptable, as long as the volume elements are appropriately sized compared to molecular distances.
  • One participant suggests using Fick's second law to model the diffusion of gases after the partition is removed, relating concentration to pressure through the ideal gas law.
  • Another viewpoint emphasizes that the forces and deformations involved in the gas interaction can be quantified using equations from gas dynamics.
  • Some participants express uncertainty about how to set up the equations necessary to describe the evolution of pressure distribution over time.
  • There is mention of the Navier-Stokes equations as a potential framework for understanding the system's behavior, with some participants considering computational simulations to explore the dynamics further.
  • One participant suggests that finding the final state of the system may be straightforward under certain boundary conditions, while others propose that the problem could be more interesting if the barrier were allowed to move rather than being removed entirely.

Areas of Agreement / Disagreement

Participants generally express differing views on the initial force interactions and the appropriateness of modeling approaches. There is no consensus on how to best describe the dynamics of the gas interaction or the specific mathematical methods to employ.

Contextual Notes

Participants note limitations regarding the assumptions made in modeling gas behavior, particularly concerning the granularity of gas molecules and the implications of transitioning from discrete to continuous descriptions.

Who May Find This Useful

This discussion may be of interest to those studying fluid dynamics, gas laws, or related fields in physics and engineering, particularly in the context of gas interactions and diffusion processes.

etotheipi
There is a box ##\mathcal{B} \subseteq \mathbb{R}^3## with a partition coinciding with the plane ##z=0##. The gas in the region ##z<0## is initially at ##p_1## and the gas in the region ##z > 0## is initially at ##p_2##, where ##p_1 \neq p_2##. At time ##t=0##, the partition is removed (details not important). Questions:

- at exactly ##t=0##, what is the magnitude of the force that gas ##1## exerts on gas ##2## (and vice versa, by NIII)?
- how to determine the function ##p(\mathbf{x},t)##, for all ##\mathbf{x} \in \mathcal{B}## and all ##t \geq 0##?
 
Science news on Phys.org
General Kenobi said:
There is a box ##\mathcal{B} \subseteq \mathbb{R}^3## with a partition coinciding with the plane ##z=0##. The gas in the region ##z<0## is initially at ##p_1## and the gas in the region ##z > 0## is initially at ##p_2##, where ##p_1 \neq p_2##. At time ##t=0##, the partition is removed (details not important). Questions:

- at exactly ##t=0##, what is the magnitude of the force that gas ##1## exerts on gas ##2## (and vice versa, by NIII)?
- how to determine the function ##p(\mathbf{x},t)##, for all ##\mathbf{x} \in \mathcal{B}## and all ##t \geq 0##?
I am not sure it makes sense to ask about the force that the ##z<0## gas exerts on the ##z>0## gas. Before you go to NIII, what about NI? The simplest model is the ideal gas in which the gas molecules occupy only a tiny fraction of the volume of ##\mathcal{B}## which is another way of saying that they rarely undergo collisions with each one another. The force ##pA## that the gas exerts on the walls, as you know, comes as a result of elastic collisions with the immovable walls.

Thus, while the partition is in place there is an average ##pA## force acting in each of its sides. If it's free to move, it will do so according to NI and NII as more impulse per unit time is delivered on one side than the other. You might even be able to define the force that the partition exerts on the gas as the NIII counterpart of ##pA##. However when the partition is removed at ##t=0##, a ##z<0## gas molecule that was about to collide with it will keep on going according to NI until it collides with the far wall in ##z>0##. That is why the first question does not make sense to me.

I see the second question also as iffy but to a lesser extent. Pressure is a macroscopic property of the gas so asking for ##p(\mathbf{x},t)## can lead into trouble. Suppose you subdivide your box into elements ##\Delta V##. For pressure to make sense, every element must contain at least one molecule, preferably more and that sets a lower limit for ##\Delta V##. In other words, I don't think that the transition from ##\Delta V## to ##dV## to geometric point ##\mathbf{x}## can be made because of the "granularity" of the gas molecules.
 
  • Like
Likes   Reactions: vanhees71 and etotheipi
I think making the transition to a continuous description of the fluid is fine. In Landau & Lifshitz they explained that when you speak of infinitely small elements of volume, it just means small compared to the body as a whole but large compared to the inter-molecular distance. Thus you can abstract away any details about the molecules and just treat it as a continuous medium.

And further, the macroscopic state functions of the fluid (##\rho, p, T,## etc) are in general functions of the position coordinate ##\mathbf{x}## and the time ##t##, as well as things like e.g. the velocity field ##\mathbf{v}(\mathbf{x}, t)##.

I think you are right in that asking for the force between the two gases at ##t=0## is not going to yield much meaningful results. But maybe interesting to determine how the distribution of pressure ##p(\mathbf{x},t)## evolves after removing the boundary; except I can't figure out how to setup the equation(s)! 😅
 
  • Like
Likes   Reactions: vanhees71
When you remove the barrier the gas of higher concentration (higher pressure) diffuses into the gas of lower concentration. I suggest solving Fick's second law,
$$
\frac{\partial c(z,t)}{\partial t}=D\frac{\partial ^2 c}{\partial z^2}
$$
where c is the concentration. The concentration can be related to the ideal gas law.
 
  • Like
Likes   Reactions: etotheipi
When you remove the barrier, the force exerted by gas 1 on gas 2 (also equal to the force gas 2 exerts on gas 1) will lie somewhere between the force that gas 1 had exerted on the barrier previously and the force that gas 2 had exerted on the barrier. The gases will each be experiencing rapid irreversible deformations that involve viscous stresses and discontinuous pressure waves. The forces and deformations involved can be quantified using the equations of gas dynamics.
 
  • Like
Likes   Reactions: PhDeezNutz and etotheipi
Thanks! I tried to play around with it for an hour or so but I think in the end this problem comes down to solving the navier stokes equations, and I'm not sure if there's too much more insight to be gained except for maybe a bit of computational proficiency.

I wonder, @Chestermiller, maybe if there are some simplifying assumptions that might be made? If not then I don't think I'll spend too much more time worrying about actually solving it 😄
 
General Kenobi said:
Thanks! I tried to play around with it for an hour or so but I think in the end this problem comes down to solving the navier stokes equations, and I'm not sure if there's too much more insight to be gained except for maybe a bit of computational proficiency.

I wonder, @Chestermiller, maybe if there are some simplifying assumptions that might be made? If not then I don't think I'll spend too much more time worrying about actually solving it 😄
It depends on what you are trying to determine. Are you trying to get the final state of the system, or the initial force at the interface of the gases?
 
  • Like
Likes   Reactions: etotheipi and vanhees71
Chestermiller said:
It depends on what you are trying to determine. Are you trying to get the final state of the system, or the initial force at the interface of the gases?

The initial plan was to figure out how the pressure in the container varies as a function of position and time, up until the system reaches the equilibrium state. But I figured that perhaps the only/most direct way to do that would be to actually program a simulation using the navier stokes equations.

Finding the final state of the system should not be difficult; we could just impose insulating wall boundary conditions so that ##U## is constant, and apply the ideal gas law to the initial and final states. The entropy change could be similarly found by adding together the ##mR \ln(v_2/v_1)## contributions from both gases.
 
If you are interested in treating this as a diffusion problem see https://link.springer.com/content/pdf/bbm:978-3-319-24847-9/1.pdf on how to solve Ficks's second law. I get,
$$
P(z,t)=\left ( \frac{P_1V_1 + P_2V_2}{2(V_1+V_2)} \right )-\left ( \frac{P_1V_1 + P_2V_2}{2(V_1+V_2)} \right )erf(\frac{z}{2\sqrt{Dt}})
$$assuming the system is isothermal and where ##P_1## and ##P_2## are the initial pressures. This might be a naive approach but it would be interesting to see how it compares with the alternative you come up with.
 
  • Like
Likes   Reactions: etotheipi
  • #10
General Kenobi said:
The initial plan was to figure out how the pressure in the container varies as a function of position and time, up until the system reaches the equilibrium state. But I figured that perhaps the only/most direct way to do that would be to actually program a simulation using the navier stokes equations.

Finding the final state of the system should not be difficult; we could just impose insulating wall boundary conditions so that ##U## is constant, and apply the ideal gas law to the initial and final states. The entropy change could be similarly found by adding together the ##mR \ln(v_2/v_1)## contributions from both gases.
A more interesting problem would be to allow the barrier to freely move rather than removing it entirely, and to treat the barrier as being insulated.
 
  • Like
Likes   Reactions: etotheipi
  • #11
Chestermiller said:
A more interesting problem would be to allow the barrier to freely move rather than removing it entirely, and to treat the barrier as being insulated.

That does seem more interesting!

I think the motion of the partition will be oscillatory [i.e. it will 'overshoot']. The problem I see in determining the equations of motion is that the force per unit area on (both faces of) the piston depends not only on the gas pressure near the piston but also viscous stresses in the gas. Meanwhile, both gases are undergoing irreversible adiabatic expansions and compressions.

Do you have any hints as to how to go about writing down the equations of motion? 😄
 
  • #12
General Kenobi said:
That does seem more interesting!

I think the motion of the partition will be oscillatory [i.e. it will 'overshoot']. The problem I see in determining the equations of motion is that the force per unit area on (both faces of) the piston depends not only on the gas pressure near the piston but also viscous stresses in the gas. Meanwhile, both gases are undergoing irreversible adiabatic expansions and compressions.

Do you have any hints as to how to go about writing down the equations of motion? 😄
See my posts in this thread: https://www.physicsforums.com/threa...n-an-adiabatic-container.981529/#post-6272441
 
  • Like
Likes   Reactions: etotheipi
  • #14
General Kenobi said:
Awesome, thanks. I'll have a read through that thread :smile:
I liked the name etotheipi better.
 
  • Like
Likes   Reactions: Greg Bernhardt, vanhees71, Motore and 2 others
  • #15
When considering adiabatic changes only, you can just use ideal hydrodynamics (i.e., assuming local thermal equilibrium at any time).
 
  • Like
Likes   Reactions: etotheipi

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
7K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 28 ·
Replies
28
Views
7K
  • · Replies 175 ·
6
Replies
175
Views
27K
  • · Replies 42 ·
2
Replies
42
Views
11K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 46 ·
2
Replies
46
Views
8K