What the calculator does
The five basic processes of an ideal gas with constant heat capacities. All of them are special cases of the polytrope p·vⁿ = const: n = 0 isobaric, n = 1 isothermal, n = k adiabatic, n = ±∞ isochoric. For one kilogram of gas it finds the end state, the heat q, the expansion work l, the technical work l_t and the changes of internal energy Δu, enthalpy Δh and entropy Δs.
Formulas
- Isochoric: l = 0, q = Δu = cv·ΔT, Δs = cv·ln(T₂/T₁).
- Isobaric: l = R·ΔT, q = Δh = cp·ΔT, Δs = cp·ln(T₂/T₁).
- Isothermal: Δu = Δh = 0, q = l = R·T·ln(v₂/v₁) = R·T·ln(p₁/p₂), Δs = q/T.
- Adiabatic: q = 0, l = −Δu = R·(T₁ − T₂)/(k − 1), Δs = 0, l_t = k·l.
- Polytropic: l = R·(T₁ − T₂)/(n − 1), q = cn·(T₂ − T₁), cn = cv·(n − k)/(n − 1).
The first law q = Δu + l holds in every case; the calculator shows this check in the solution.
How to read the diagrams
In p-v the area under the curve of the process is the expansion work l, in T-s the area under the curve is the heat q (the sign follows the direction of the process). The thin lines are the isotherm and the adiabat through point 1 in p-v and the isochore and the isobar in T-s: their position shows where a polytrope goes. An adiabat in T-s is a vertical line, an isotherm a horizontal one.
Gas data
Molar masses and cp at 300 K come from the NIST Chemistry WebBook (cp from the Shomate equations); dry air is a mixture of N₂, O₂, Ar and CO₂ of standard composition. The exponent k = cp/(cp − R) is about 1.40 for air and diatomic gases, about 1.29 for CO₂ and 1.67 for monatomic gases. An own gas can be set by its molar mass and k.