Joule Expansion Simulator — Theory
Joule (free) expansion is an irreversible expansion of a gas into a vacuum inside an insulated rigid container.
Since there is no external pressure resisting the expansion and no heat exchange with the surroundings,
the first law gives \(Q=0\), \(W=0\), hence \(\Delta U=0\).
For ideal gases, internal energy depends only on temperature, so \(T\) does not change.
For real gases, \(U\) can depend on both \(T\) and \(V\), so \(T\) may change even when \(\Delta U=0\).
1) First law for free expansion
2) Ideal-gas result: \(T_2=T_1\)
For an ideal gas, \(U=U(T)\) only. If \(\Delta U=0\), then \(T\) must remain constant:
\(\Delta U=0\Rightarrow T_2=T_1\).
Endpoint pressures follow from the ideal equation of state:
3) van der Waals model and predicted temperature change
The van der Waals equation of state is
\(\left(P + a\left(\frac{n}{V}\right)^2\right)(V-nb)=nRT\),
i.e.
A commonly used accompanying internal-energy approximation (constant heat capacities) is:
For free expansion, \(\Delta U=0\). Using the model above:
If \(a>0\) and \(V_2>V_1\), then \(\frac{1}{V_2}-\frac{1}{V_1}<0\), so the model typically predicts cooling (\(T_2
4) Entropy change (endpoint expression)
The process is irreversible, so entropy increases.
In the constant-\(C_v\) van der Waals model, an endpoint-state expression for entropy can be written as
\(S=nC_v\ln T + nR\ln(V-nb)+\text{const}\), giving:
For the ideal limit (with \(T_2=T_1\)), this reduces to \(\Delta S = nR\ln(V_2/V_1)\).
5) Joule vs. Joule–Thomson (throttling)
Joule expansion (this calculator) is free expansion into vacuum in an insulated rigid container with \(\Delta U=0\).
Joule–Thomson throttling (flow through a valve/porous plug) is a different process where
\(\Delta H\approx 0\) (enthalpy is approximately conserved).
Both can produce temperature changes for real gases, but the governing conserved quantity differs.
6) Parameter table tip
Van der Waals constants \(a\) and \(b\) depend on the gas and the chosen unit system.
This calculator expects SI-based constants: \(a\) in Pa·m\(^6\)/mol\(^2\) and \(b\) in m\(^3\)/mol.
The built-in CO\(_2\) preset uses common sample values for demonstration.