Download as pdf or txt
Download as pdf or txt
You are on page 1of 9

Home Search Collections Journals About Contact us My IOPscience

Damped oscillations of a frictionless piston in an adiabatic cylinder enclosing an ideal gas

This content has been downloaded from IOPscience. Please scroll down to see the full text.

2017 Eur. J. Phys. 38 035102

(http://iopscience.iop.org/0143-0807/38/3/035102)

View the table of contents for this issue, or go to the journal homepage for more

Download details:

IP Address: 132.239.1.231
This content was downloaded on 01/03/2017 at 12:53

Please note that terms and conditions apply.


European Journal of Physics
Eur. J. Phys. 38 (2017) 035102 (8pp) https://doi.org/10.1088/1361-6404/aa6054

Damped oscillations of a frictionless piston


in an adiabatic cylinder enclosing an
ideal gas
Carl E Mungan
Physics Department, US Naval Academy, Annapolis, MD 21402-1363, United States
of America

E-mail: mungan@usna.edu

Received 7 December 2016, revised 23 January 2017


Accepted for publication 14 February 2017
Published 1 March 2017

Abstract
Suppose that a piston of nonzero mass encloses an ideal gas in a vertical
cylinder. The piston and cylinder are thermally insulated so that no energy is
lost by heat transfer to the surroundings. If the piston is set into motion, it
oscillates like a block on a spring. However, the motion is damped because the
gas density and pressure immediately adjacent to the piston are higher or lower
than the bulk values, depending on whether the piston is compressing or
expanding the gas, respectively. That automatically gives rise to a drag force
linear in the velocity of the piston. It is not necessary to add extra dissipative
terms such as kinetic friction between the piston and cylinder, or viscosity of
the gas, to damp out the motion of the piston. The ideas should thus be helpful
to undergraduate students performing a Rüchardt experiment to measure the
ratio of the heat capacities of a gas.

Keywords: underdamped oscillations, piston, ideal gas, adiabatic, entropy,


dynamic pressure

(Some figures may appear in colour only in the online journal)

1. Introduction

A cylinder enclosing an ideal gas having a piston that can slide frictionlessly is a standard
setup for discussing the first and second laws of thermodynamics in textbooks [1, 2]. Such a
configuration is often used to distinguish between state and process variables, and in appli-
cations such as Carnot heat engines. If the piston is restricted to move infinitesimally slowly,
then the process is quasistatic because the gas is always nearly in equilibrium so that it is has a
single overall pressure and temperature [3]. On the other hand, if the piston (possibly
0143-0807/17/035102+08$33.00 © 2017 European Physical Society Printed in the UK 1
Eur. J. Phys. 38 (2017) 035102 C E Mungan

Figure 1. The bulk of the gas has time-varying pressure P, absolute temperature T, and
volume V = Ax. However, the gas atoms next to the piston (occupying the hatched
slice of negligible volume compared to V ) exert dynamic pressure P̃ on the piston.

including an extra weight attached to or dropped onto the piston) is set into finite-amplitude
motion, it can oscillate like a mass on a spring and a full analysis may require dividing the gas
into a spatial grid of hydrodynamic zones [4].
It is often believed that an explicit dissipative term such as piston friction or gas tur-
bulence has to be introduced in order to damp the motion of a massive piston enclosing a gas
[5–7]. However, kinetic theory for the collisions between the gas atoms and the moving
piston leads to a dynamically corrected pressure and density of the gas next to the piston that
is different than the static pressure and density of the rest of the gas. Since the pressure is not
uniform throughout the gas, the overall motion of the system cannot be described as quasi-
static even at low piston speeds [8, 9]. This irreversibility leads to a monotonic increase in the
entropy S of the universe. The final equilibrium state corresponds to a maximum [10, 11] in S.
Thus the dissipation is entropically driven. In this article, the dynamics of the system are
analysed in terms of Newton’s second law and energy conservation using straightforward
ideas and notation, so that they are accessible to undergraduate physics students. A numerical
differential equation solver is then used to plot quantities of interest such as the position and
velocity of the piston, the temperature of the gas, and the entropy of the universe.

2. Coupled mechanical and thermodynamical analysis of the gas and piston

Consider the setup in figure 1. A vertical cylinder encloses an ideal monatomic gas via a
piston of cross-sectional area A and mass m that slides without friction. The height x of the
piston above the bottom of the cylinder is initially xi. The weight mg of the piston keeps it
from flying out of the cylinder, with earth’s surface gravitational field strength equal to
g = 9.80 N kg-1. The cylinder and piston have negligible heat capacity (compared to the gas)

2
Eur. J. Phys. 38 (2017) 035102 C E Mungan

Figure 2. A gas atom of mass μ and upward velocity u makes an elastic collision with
the piston of mass m and upward velocity υ, where m  m and u  u.

and the gas is thermally isolated from the surroundings. There is no viscosity or turbulence of
the enclosed gas. The gas is initially in mechanical and internal thermal equilibrium at
pressure Pi = mg A and temperature Ti = 300 K. The piston is now given an impulsive
downward push, so that its initial velocity is ui < 0. The objective is to describe the sub-
sequent evolution of the gas and piston.
The pressure of the gas immediately adjacent to the moving piston is known as the
dynamic pressure1 P̃ and is in general different than the bulk pressure P of the remainder of
the gas [9, 12]. The dynamic pressure is smaller than P if the piston is moving upward in
figure 1 so that it leaves a rarefied zone in its wake, and conversely P̃ > P if the piston is
moving downward and pushing gas atoms together in front of it like a snowplow. To find an
expression for the dynamic pressure, suppose that a gas atom of mass μ and initial vertical
velocity u makes an elastic collision with the piston of mass m moving with velocity
u = dx dt , as sketched in figure 2. Since m  m, the atom’s initial relative velocity of u - u
is reversed by the collision, whereas the piston’s velocity is almost unchanged. Thus the final
velocity of the atom in the cylinder’s frame of reference is 2u - u for a net change in
momentum of Dp = m (2u - 2u ). The atom travels back and forth across the height of the
gas cylinder in a time of Dt = 2x ∣ u ∣avg where the denominator is the atom’s average speed2
of (u + u - 2u ) 2. Consequently the average force exerted by all N gas atoms on the piston
is
⎡ Dp ⎤ ⎡ Nm (u - u)2 ⎤ ⎡ Nm (u 2 - 2uu) ⎤
Favg = - ⎢N ⎥ =⎢ ⎥ »⎢ ⎥ (1)
⎣ Dt ⎦avg ⎣ x ⎦avg ⎣ x ⎦avg

1
This definition of ‘dynamic pressure’ is related to but not identical with the term of the same name often invoked in
Bernoulli’s principle.
2
Technically one should add together x /u and x (u - 2u ) to get the total travel time, but that sum is equal to Δt to
within a negligible factor of (u u )2 .

3
Eur. J. Phys. 38 (2017) 035102 C E Mungan

Figure 3. Graph of the height x (t ) of the piston by simultaneously solving equations (4)
and (5) using the parameters specified in the text.

since u  u, so that the dynamic pressure is


Favg ⎡ N⎛ 2u ⎞ ⎤
P˜ = = ⎢mu 2 ⎜1 - ⎟⎥ . ( 2)
A ⎣ V ⎝ u ⎠ ⎦avg
The average must be performed over all directions of the atomic velocity υ having a positive
upward component and over atomic speeds having a Maxwell–Boltzmann distribution
appropriate to gas temperature T and molar mass M. Equation (2) is the sum of a term
independent of the piston speed, which must represent the bulk pressure P, and a damping
term linear in the piston velocity which Bauman has calculated in detail [13], with the result
that
⎛ 8M ⎞
P˜ = P ⎜1 - u ⎟, (3)
⎝ pRT ⎠

where R = 8.314 J K-1 mol-1 is the gas constant.


Using this dynamic pressure, Newton’s second law applied to the piston gives its
acceleration a as
2 ⎛ 8M ⎞
˜ - mg = ma  d x = nRT ⎜1 - dx
PA ⎟ - g, (4)
dt 2 mx ⎝ dt pRT ⎠

where the ideal gas law was used to replace P with nRT Ax. In addition, the work the piston
does on the monatomic ideal gas is equal to the increase in internal energy U of the gas [14],
3 dT 2T ⎛ dx 8M ⎞ dx
- PA
˜ dx = nR dT  = ⎜ - 1⎟ . (5)
2 dt 3x ⎝ dt pRT ⎠ dt
Equations (4) and (5) are two coupled differential equations for x (t ) and T (t ) that can be
solved numerically, here done using NDSolve in Mathematica. (Alternatively, students could
execute the Euler–Cromer algorithm in a spreadsheet [15].) Suppose that the piston has cross-
sectional area A = 10 cm2, mass m = 10 kg, initial height x i = 1 m, and initial velocity
ui = -2 m s-1. In that case, there are n = mgx i RTi » 0.0393 mol of ideal gas (taken to be
krypton with a molar mass of M = 83.8 g mol-1) in the cylinder at an initial pressure of

4
Eur. J. Phys. 38 (2017) 035102 C E Mungan

Figure 4. Graph of the entropy S (t ) of the universe from equation (6) using the solution
of equations (4) and (5) with the parameters specified in the text. There are weak
oscillations in this curve at all times, most noticeably below 20 s.

Pi = mg /A = 9.8 kPa. Thus the damping term in equations (4) and (5) has an initial relative
value of (8Mu 2i pRTi )1 2 on the order of 2%, so that the oscillations substantially decay away
after a few dozen cycles. The resulting position x of the piston as a function of time t is plotted
in figure 3. Similar oscillations are found for T (t ), P (t ), and u (t ) which damp out within a
few minutes.
The entropy change of the gas (and hence of the universe) can be calculated as [9]

3 T x
T dS = dU + P dV  S = nR ln + nR ln (6)
2 Ti xi

starting from an initial value of zero. The result is plotted in figure 4. As expected for an
irreversible process, it increases monotonically and levels off to the final equilibrium value
calculated next.
The square of the piston speed can be expressed in terms of the values of x and T at that
instant in time (without needing to know their full time-dependent solutions) using con-
servation of the sum of the kinetic energy of the piston, the internal energy of the gas, and the
gravitational potential energy of the piston to obtain3

3nR
u 2 = u 2i + (Ti - T ) + 2g (x i - x ) . (7 )
m

Furthermore the initial and final equilibrium pressures of the gas are equal, which implies

nRTi nRTf T
=  xf = f xi . (8)
Ax i Ax f Ti

Substituting this result into equation (7), along with the fact that the piston ends up at rest,
leads to
3
Equation (7) could be used in place of equation (4) in the simultaneous solution with equation (5), provided one
accounts for the sign flip of υ at each turning point.

5
Eur. J. Phys. 38 (2017) 035102 C E Mungan

⎛ mu 2i ⎞
Tf = Ti ⎜1 + ⎟. (9)
⎝ 3nRTi + 2mgx i ⎠

Alternatively, one could derive this result by equating the change in internal energy of the gas
to the sum of the impulsive applied work done to initially impart kinetic energy to the piston,
plus the work done by gravity to change the height of the piston. That gravitational work is
equal to the constant external pressure mg /A on the gas [16] multiplied by the negative of the
volume change of the gas.
Likewise, substituting equation (8) into (6) implies that the overall increase in the entropy
of the universe due to this dissipative process is
5 T
Sf = nR ln f . (10)
2 Ti
Equations (8)–(10) result in x f » 1.08 m, Tf » 324 K, and Sf » 64.1 mJ K-1 in agree-
ment with figures 3 and 4.
If, in contrast, the entire process were treated reversibly, then the entropy of the thermally
insulated gas could not change. In that case, equation (6) would become
nR nRT
dU = - P d V  dT = - dV , (11)
g-1 V
where γ is the adiabatic exponent equal to the ratio of the isobaric and isochoric heat
capacities of the ideal gas. Equation (11) can be separated and integrated to obtain the
adiabatic gas law, TV g- 1 = constant. Since reversibility implies the absence of dissipation,
the piston would exhibit undamped oscillations after being initially set into motion. Hence no
final state of equilibrium would be attained.

3. Fit to underdamped harmonic oscillations of the piston

Figure 3 resembles standard underdamped oscillations about the final equilibrium position, as
described by the equation
x (t ) = x f - X e-bt 2m sin (w t + f) , (12)
where X is the initial amplitude, ω is the angular frequency, b is the damping coefficient in the
equation Fd = -bu for the drag force, and f is the phase constant. The angular frequency is
expected to match the prediction from Rüchardt’s experiment for determining the adiabatic
exponent g = 5/3 for a monatomic ideal gas [17],
gPf A2 5nRTf
w= = » 3.89 rad s-1, (13)
mVf 3mx f2
where the final values of the time-dependent parameters are used, because the oscillations are
about those values and are thus on average equal to them. Equation (3) implies that the drag
force on the piston is -bu = (P˜ - P ) A so that
8M n 8MRTf
b = Pf A = » 0.872 kg s-1, (14)
pRTf xf p
where the final values have again been used. Finally, take the time derivative of equation (12)
and equate the result at t = 0 to υi. Also evaluate equation (12) at t = 0 and equate it to xi.
That gives two equations in the two remaining unknowns whose simultaneous solution gives

6
Eur. J. Phys. 38 (2017) 035102 C E Mungan

Figure 5. Graph of the height x (t ) of the piston predicted by the underdamped


oscillator model of equation (12) using the parameters specified in the text.

X » 0.522 m and f » 0.157 rad. Substituting these numerical values for ω, b, X, and f into
equation (12) results in the graph in figure 5, which is in excellent agreement with figure 3.

4. Conclusion

When a piston of mass m moves at velocity υ relative to the bulk of an ideal gas it encloses in
a cylinder, a drag force Fd = -bu on the piston arises. The power transfer to the gas from the
piston is -Fd u = bu 2 which is positive regardless of the sign of υ. Although a small value of
b will result in a small exponential decay rate b 2m of the piston’s amplitude of oscillations,
the dissipation will eventually prove significant no matter how slow the piston moves. Starting
from any initial speed, it will take approximately the same amount of time for the piston to
lose half its amplitude of motion, because the model of equation (12) with a constant value of
b accurately describes the actual dynamics. The common rule of thumb that one can neglect
this damping for piston speeds much less than the speed of sound in the gas is thus wrong.
The piston will always progressively lose kinetic energy on average and the gas will overall
warm up. This irreversible rise in the average temperature of the gas could equivalently have
been accomplished by a reversible heat transfer, which explains the increase in the entropy of
this adiabatic system. Remarkably, this effect arises from the purely elastic collisions on
which the kinetic theory of ideal gases is based.
I thank Paul Mikulski, whose question about entropic damping of an adiabatic system
motivated this article.

References

[1] Feynman R P, Leighton R B and Sands M L 1963 The Feynman Lectures on Physics vol I
(Reading, MA: Addison-Wesley)
[2] Walker J, Halliday D and Resnick R 2014 Fundamentals of Physics 10th edn (Hoboken, NJ:
Wiley) ch 18–20
[3] Miranda E N 2008 What lies between a free adiabatic expansion and a quasistatic one? Eur. J.
Phys. 29 937–43
[4] Hoover W G and Moran B 1979 Pressure-volume work exercises illustrating the first and second
laws Am. J. Phys. 47 851–6

7
Eur. J. Phys. 38 (2017) 035102 C E Mungan

[5] Kang D-Y, Liou K-H and Chang W-L 2015 Investigating friction as a main source of entropy
generation in the expansion of confined gas in a piston-and-cylinder device J. Chem. Educ. 92
1667–71
[6] Anacleto J and Anacleto J A C 2008 Thermodynamical interactions: subtleties of heat and work
concepts Eur. J. Phys. 29 555–66
[7] Mungan C E 2003 Irreversible adiabatic compression of an ideal gas Phys. Teach. 41 450–3
[8] Schmidt-Rohr K 2014 Expansion work without the external pressure and thermodynamics in terms
of quasistatic irreversible processes J. Chem. Educ. 91 402–9
[9] de Abreu R and Guerra V 2012 Introducing thermodynamics through energy and entropy Am. J.
Phys. 80 627–37
[10] Gislason E A 2010 A close examination of the motion of an adiabatic piston Am. J. Phys. 78
995–1001
[11] Crosignani B, Di Porto P and Segev M 1996 Approach to thermal equilibrium in a system with
adiabatic constraints Am. J. Phys. 64 610–3
[12] Kokes R J 1964 Maximum work revisited J. Chem. Educ. 41 675–6
[13] Bauman R P and Cockerham H L 1969 Pressure of an ideal gas on a moving piston Am. J. Phys.
37 675–9
[14] de Abreu R and Guerra V 2011 Comment on ‘A close examination of the motion of an adiabatic
piston’ Am. J. Phys. 79 684–5
[15] Mungan C E 2017 Entropic damping of the motion of a piston Phys. Teach. 55 180–3
[16] Kivelson D and Oppenheim I 1966 Work in irreversible expansions J. Chem. Educ. 43 233–5
[17] Zemansky M W and Dittman R H 1997 Heat and Thermodynamics 7th edn (New York: McGraw-
Hill) p 120

You might also like