EngineerPlay

Gas laws and pneumatics practice

A fixed amount of gas keeps p V ÷ T constant, with absolute pressure and temperature in kelvin. A pneumatic cylinder pushes with F = p × A.

Boyle's law p₁V₁ = p₂V₂; cylinder force from pressure and piston area.

A pneumatic cylinder with the piston area A shown is fed with air at the gauge pressure p shown. Ignoring friction, what force F does it push out with, in N?

A pneumatic cylinder fed on the cap sideLabels shown, in drawing order: p = 4 bar, F = ?, A = 20 cm².p = 4 barF = ?A = 20 cm²

How to solve these

Boyle's law. At a steady temperature p₁V₁ = p₂V₂: halve the volume and the pressure doubles. Example: 200 kPa in 6 L squeezed to 4 L gives 200 × 6 ÷ 4 = 300 kPa.

Charles's and Gay-Lussac's laws. At constant pressure V₁ ÷ T₁ = V₂ ÷ T₂; in a rigid tank p₁ ÷ T₁ = p₂ ÷ T₂. Temperatures must be in kelvin: T (K) = T (°C) + 273. Using °C is the classic mistake (it even divides by zero at 0 °C).

Combined gas law. p₁V₁ ÷ T₁ = p₂V₂ ÷ T₂ covers all three when everything changes.

Gauge and absolute pressure. A gauge reads the pressure above the atmosphere. The gas laws need absolute pressure: absolute = gauge + atmospheric (about 1 bar, 100 kPa). Convert, use the law, then subtract the atmosphere again if the answer is a gauge reading.

Ideal gas law. p V = m R T, with R = 287 J/(kg·K) for air and everything in SI: p in Pa (1 bar = 100,000 Pa), V in m³ (1,000 L = 1 m³), T in K.

Cylinder force. F = p × A with the gauge supply pressure, because the other side of the piston is open to the atmosphere. 1 bar = 0.1 N/mm², and a bore D has A = π D² ÷ 4. On the return stroke the rod takes up part of the piston, so A = π (D² − d²) ÷ 4.

Filling a receiver. At a steady temperature, pumping a tank of volume V from gauge p₁ to p₂ takes V × (p₂ − p₁) ÷ p_atm of free air (air measured at atmospheric pressure). Divide by the compressor's free-air delivery to get the time.

Worked example

A fixed amount of gas is heated or cooled in a closed rigid tank, so its volume stays the same. Pressures are absolute. What is p₂, in bar? Use T (K) = T (°C) + 273. Give your answer to 3 significant figures.

A gas in a closed rigid tank in two statesLabels shown, in drawing order: State 1, p₁ = 4 bar, T₁ = 87 °C, State 2, p₂ = ?, T₂ = -23 °C.State 1p₁ = 4 barT₁ = 87 °CState 2p₂ = ?T₂ = -23 °C
Show the working
  1. Write down what is given: p₁ = 4 bar, T₁ = 87 °C, T₂ = -23 °C.
  2. Change the units first: T₁ = 87 °C + 273 = 360 K, T₂ = -23 °C + 273 = 250 K.
  3. Gay-Lussac's law, p₁ ÷ T₁ = p₂ ÷ T₂, with absolute pressures and kelvin, gives p₂ = p₁ × T₂ ÷ T₁.
  4. Work it out and round to 3 significant figures: p₂ = 4 bar × 250 K ÷ 360 K ≈ 2.78 bar.
  5. Check: pressure over kelvin temperature is the same in both states. Answer: 2.78 bar.

Questions

Why must the gas laws use kelvin?

The laws say volume or pressure is proportional to temperature, which is only true on a scale that starts at absolute zero. 20 °C is not twice as hot as 10 °C, but 293 K against 283 K gives the right ratio.

When do I use gauge pressure and when absolute?

Gas laws and p V = m R T need absolute pressure. A cylinder's force uses the gauge pressure, because the atmosphere pushes on the other side of the piston as well.

Why does a cylinder pull with less force than it pushes?

On the rod side the air pushes only on the ring around the rod, so the area is π (D² − d²) ÷ 4 instead of π D² ÷ 4. With a 50 mm bore and a 20 mm rod that is 16% less force.

How are these answers checked?

Each question is generated fresh and its answer computed by code. A separate test reads the labels and the drawn gas columns and cylinders, checks the drawing is to scale, converts everything to SI itself, and recomputes the answer another way: through the amount of gas in moles, n = p V ÷ (R T), which a closed system keeps.