Salta al contenuto
Note per Studenti Work in Thermodynamic Systems Report

Work in Thermodynamic Systems

In questa pagina 8

The "mechanical" way a gas exchanges energy with the environment: by moving a piston. Before: Thermodynamic Systems and TemperatureA thermodynamic system is described by a few state variables (p, V, T, n) that are only defined at equilibrium; the zeroth law makes temperature a well-defined quantity measured by thermometers, and the Kelvin scale is T = t(°C) + 273.15.Thermodynamic Systems and Temperature → and the mechanical definition of work. Next: First Law of ThermodynamicsA system exchanges energy with the environment as heat Q (absorbed is positive) and as work W (done by the system is positive). The change of internal energy, a state function, is ΔU = Q − W: the conservation of energy extended to thermal phenomena.First Law of Thermodynamics →.

Work done by a gas on a piston

A gas is enclosed in a cylinder by a piston of area SS, free to slide. The gas pushes on the piston with force F=p SF = p\,S (perpendicular to the piston, outwards). If the piston moves outwards by dxdx, the work done by the gas is

dW=F dx=p S dx=p dVdW = F\,dx = p\,S\,dx = p\,dV

because S dxS\,dx is exactly the volume increase dVdV. For a finite change, from volume ViV_i to volume VfV_f:

Definition (thermodynamic work). W=∫ViVfp dV\boxed{W = \int_{V_i}^{V_f} p\,dV}

Example. A gas at constant pressure p=1⋅105p = 1\cdot10^5 Pa going from Vi=10 dm3V_i = 10\ \text{dm}^3 to Vf=20 dm3V_f = 20\ \text{dm}^3: W=105⋅10−2=1000W = 10^5\cdot10^{-2} = 1000 J, positive because it expands.

The result does not depend on the shape of the container: it holds for any deforming surface, since only the volume change matters.

Sign convention

In thermodynamics (and in this course) the "engine" convention is used:

  • W>0W > 0: work done by the system on the environment. It happens in an expansion (dV>0dV > 0): the gas pushes the piston and lifts weights, turns wheels, and so on.
  • W<0W < 0: work done on the system, i.e. by the environment on the gas. It happens in a compression (dV<0dV < 0).
  • W=0W = 0 if the volume does not change (isochoric transformation, piston locked).

Exam texts use both "work done by the gas" and "work done on the gas": the second is the opposite of the first, and in a compression it is a positive number.

Quasistatic, reversible, irreversible transformations

A transformation is the passage of a system from an initial to a final equilibrium state.

  • Quasistatic: it proceeds so slowly that the system goes through a succession of equilibrium states. At each instant the state variables are defined, and the transformation is drawn as a curve in the Clapeyron plane (V,p)(V, p). Ideally it is achieved by removing one grain of sand at a time from the piston.
  • Reversible: quasistatic and without friction or other dissipative effects. It can be retraced backwards, bringing both system and environment back to the initial state. In texts: "reversible isothermal compression", "reversible expansion".
  • Irreversible: all the others. Typically: a piston is suddenly released, a weight is placed on it, the gas is put in contact with a reservoir at a different temperature, the gas expands into vacuum. The system goes through non-equilibrium states: only initial and final states are known, and in the Clapeyron plane one draws (if at all) a dashed line, just to show which states it joins.

Which pressure goes in the integral

The correct general definition uses the pressure the environment exerts on the piston, pextp_{\text{ext}}. Indeed the work exchanged is that of the forces gas and environment exert on each other through the piston, and by the third law the force of the gas on the piston, if the piston has negligible mass and no friction, equals that of the environment:

W=∫ViVfpext dVW = \int_{V_i}^{V_f} p_{\text{ext}}\,dV

  • Quasistatic transformation: at every instant the gas is in mechanical equilibrium with the outside, pext=pp_{\text{ext}} = p (gas pressure), and one returns to W=∫p dVW = \int p\,dV with pp given by the equation of the curve (for an ideal gas p=nRT/Vp = nRT/V).
  • Irreversible transformation: the gas pressure is not defined during the process, but the external one is (for instance atmosphere plus the weight of a block on the piston). Use pextp_{\text{ext}}.

Most frequent exam case: constant external pressure. If the environment pushes with constant pressure pextp_{\text{ext}} (atmosphere, piston with a weight on it, "external pressure suddenly brought to…"):

Formula (work at constant external pressure). W=pext (Vf−Vi)W = p_{\text{ext}}\,(V_f - V_i)

even if the transformation is irreversible. At the end the gas is again in equilibrium, so its final pressure is pf=pextp_f = p_{\text{ext}}.

Example. A gas at pA=1.5×105 Pap_A = 1.5 \times 10^5\ \text{Pa} in VA=25 dm3V_A = 25\ \text{dm}^3 expands, by releasing the piston, against the atmosphere p0=1.01×105 Pap_0 = 1.01 \times 10^5\ \text{Pa}, up to VB=61.7 dm3V_B = 61.7\ \text{dm}^3. The work done by the gas is W=p0 (VB−VA)=1.01×105⋅36.7×10−3=3.71×103 JW = p_0\,(V_B - V_A) = 1.01 \times 10^5 \cdot 36.7 \times 10^{-3} = 3.71 \times 10^3\ \text{J}. The initial gas pressure, which is larger, is not used: the gas pushes harder only at the start, but the energy given to the environment is that against the external pressure.

Graphical interpretation: the area

In the Clapeyron plane (volume on the abscissa, pressure on the ordinate) the integral ∫ViVfp dV\int_{V_i}^{V_f} p\,dV is the area under the curve of the transformation, between ViV_i and VfV_f:

Grafico interattivo: Isotherm of 1 mol of ideal gas at 300 K: p = nRT/V (abscissa: V in dm³, ordinate: p in kPa). The work in the expansion from 10 to 40 dm³ is the area under the curve, nRT ln 4 ≈ 3.46 kJ

Example (trapezoid). A gas goes reversibly from VB=10 dm3V_B = 10\ \text{dm}^3, pB=1.8×105 Pap_B = 1.8 \times 10^5\ \text{Pa} to VC=14.96 dm3V_C = 14.96\ \text{dm}^3, pC=2.5×105 Pap_C = 2.5 \times 10^5\ \text{Pa} with pressure growing linearly. Work done by the gas:

W=1.8+2.52×105⋅4.96×10−3=2.15×105⋅4.96×10−3≈1.07×103 JW = \frac{1.8 + 2.5}{2} \times 10^5 \cdot 4.96 \times 10^{-3} = 2.15 \times 10^5 \cdot 4.96 \times 10^{-3} \approx 1.07 \times 10^3\ \text{J}

Work depends on the path

Between the same two states A and B one can go in many ways, and the work changes. Example: from A =(V1,p1)= (V_1, p_1) to B =(V2,p2)= (V_2, p_2) with V2>V1V_2 > V_1 and p2<p1p_2 < p_1:

  • first isochor then isobar (pressure is lowered at fixed volume, then expansion at p2p_2): W=p2 (V2−V1)W = p_2\,(V_2 - V_1);
  • first isobar then isochor (expansion at p1p_1, then pressure is lowered): W=p1 (V2−V1)W = p_1\,(V_2 - V_1), larger.

So work is not a state function: one cannot speak of the "work possessed" by a gas in a state, only of the work exchanged during a transformation. This is why one writes δW\delta W and cannot write W=WB−WAW = W_B - W_A.

Grafico interattivo: Two paths between the same states A = (10 dm³; 300 kPa) and B = (30 dm³; 100 kPa) (abscissa: V in dm³, ordinate: p in kPa; numbers chosen as an example): isochor then isobar gives W = p₂(V₂ − V₁) = 2000 J (lower area); isobar then isochor gives W = p₁(V₂ − V₁) = 6000 J (lower area plus upper area)

Work in a cycle

A cycle is a transformation that brings the system back to the initial state. In the Clapeyron plane it is a closed curve, and the total work is the enclosed area:

  • positive if traversed clockwise (the expansion occurs at higher pressure than the compression: the gas does more work than it receives). This is the case of heat engines;
  • negative if traversed anticlockwise (refrigerators).

Returning to the initial state the state variables regain their values, but the total work is in general not zero: another confirmation that it is not a state function. Heat Engines and RefrigeratorsA heat engine repeats a cycle: it absorbs heat, releases part of it and turns the rest into work, with efficiency η = W/Qabs = 1 − |Qrel|/Qabs. The refrigerator runs the cycle backwards. Stirling, Otto and Diesel cycles.Heat Engines and Refrigerators → are based on this.

Summary

transformation work done by the gas
general W=∫pext dVW = \int p_{\text{ext}}\,dV
quasistatic W=∫p dVW = \int p\,dV = area under the curve
isochoric W=0W = 0
isobaric, or against constant pextp_{\text{ext}} W=p (Vf−Vi)W = p\,(V_f - V_i)
pp linear in VV W=pi+pf2(Vf−Vi)W = \frac{p_i + p_f}{2}(V_f - V_i)
isothermal, ideal gas W=nRTln⁡(Vf/Vi)W = nRT \ln(V_f / V_i)
cycle enclosed area, >0> 0 if clockwise

Common mistakes

  • Using the gas pressure in an irreversible transformation: the external pressure counts. In the example of the expansion against the atmosphere, using pAp_A gives a work wrong by 50%50\%.
  • Sign errors: in a compression the work done by the gas is negative; if the text asks for the "work done on the gas" give the number with the sign changed.
  • Leaving volumes in dm³: with pp in Pa the volume must be in m³, otherwise the result is a thousand times too large.
  • Writing W=p ΔVW = p\,\Delta V for any transformation: it holds only if the (external) pressure is constant.

Versione ripasso

For a gas in a cylinder with piston of area SS: dW=pS dx=p dVdW = pS\,dx = p\,dV. The work exchanged in a volume change is W=∫ViVfpext dVW = \int_{V_i}^{V_f} p_{\text{ext}}\,dV

Sign convention

  • W>0W > 0: expansion, work done by the system.
  • W<0W < 0: compression, work done on the system.
  • W=0W = 0: isochoric.

Types of transformation

  • Quasistatic: equilibrium states throughout; a curve in the Clapeyron plane (V,p)(V, p), with pext=pp_{\text{ext}} = p.
  • Reversible: quasistatic and without dissipation (friction).
  • Irreversible: no equilibrium during the process; use pextp_{\text{ext}}, which is defined.

Special cases

  • Constant external pressure: W=pext(Vf−Vi)W = p_{\text{ext}}(V_f - V_i). Example: p0=1.01×105p_0 = 1.01 \times 10^5 Pa, VA=25V_A = 25 dm³ to VB=61.7V_B = 61.7 dm³: W=1.01×105⋅0.0367≈3.71×103W = 1.01 \times 10^5 \cdot 0.0367 \approx 3.71 \times 10^3 J (using pAp_A would be wrong by 50%50\%).
  • pp linear in VV: W=pi+pf2(Vf−Vi)W = \frac{p_i + p_f}{2}(V_f - V_i), the trapezoid area. Example: 1010 dm³, 1.8×1051.8 \times 10^5 Pa to 14.9614.96 dm³, 2.5×1052.5 \times 10^5 Pa gives W≈1.07×103W \approx 1.07 \times 10^3 J.
  • Isotherm (ideal gas): W=nRTln⁡VfViW = nRT \ln\frac{V_f}{V_i}.

Work is not a state function: from (V1,p1)(V_1, p_1) to (V2,p2)(V_2, p_2), isochor then isobar gives p2(V2−V1)p_2(V_2 - V_1), isobar then isochor p1(V2−V1)p_1(V_2 - V_1). In a cycle the net work is the enclosed area: positive clockwise (engines, Heat Engines and RefrigeratorsA heat engine repeats a cycle: it absorbs heat, releases part of it and turns the rest into work, with efficiency η = W/Qabs = 1 − |Qrel|/Qabs. The refrigerator runs the cycle backwards. Stirling, Otto and Diesel cycles.Heat Engines and Refrigerators →), negative anticlockwise.

Common mistakes

  • Using the gas pressure instead of pextp_{\text{ext}} in irreversible transformations.
  • Wrong sign in compressions.
  • Volumes in dm³ with pp in Pa.
  • W=pΔVW = p\Delta V when pressure is not constant.

Teoria collegata