Second Virial Coefficient, Sawtooth Gas Potential Sigma = 2.
Second Virial Coefficient, Sawtooth Gas potential Sigma= 2.6 Angstroms 0. cm m b eps/RT T(K) Exptl Calc
This assignment asks for deriving an expression for the second virial coefficient (B₂) for a gas modeled by a sawtooth potential, creating an Excel tool to compute and plot B₂ versus temperature, and fitting the model to experimental data for argon.
Specifically, the task involves (1) deriving the second virial coefficient formula based on the given sawtooth interaction potential, (2) implementing the formula in an Excel spreadsheet allowing adjustable parameters (σ and ε), (3) plotting calculated B₂ values against experimental data at specified temperatures, and (4) iterating parameter choices for best fit.
Paper For Above instruction
Introduction
The behavior of real gases deviates from ideal gas laws primarily due to intermolecular forces and finite particle sizes. The second virial coefficient, B₂, encapsulates these deviations and is influenced by the nature of the intermolecular potential. In this paper, we explore the derivation of B₂ for a specific sawtooth potential, implement it computationally, and evaluate its effectiveness in modeling argon gas behavior over different temperatures.
Theoretical Background
The virial equation of state expands the pressure of a real gas in powers of the inverse molar volume or density, with coefficients reflecting molecular interactions. The second virial coefficient, B₂, is given by the statistical mechanical integral:
$$ B_2(T) = -2\pi N_A \int_{0}^{\infty} \left[ e^{-\frac{u(r)}{k_B T}} - 1 \right] r^2 dr $$
where \( u(r) \) is the pair potential, \( N_A \) is Avogadro's number, \( k_B \) is Boltzmann's constant, and T is temperature.
The potential considered here is a sawtooth form with specific regions:
- Hard-core diameter: \( \sigma \)
- Attractive well from \( \sigma \) to \( 2\sigma \) with energy \( -\epsilon \)
- Zero potential beyond \( 2\sigma \)
The mathematical form of the potential \( u(r) \) is:
u(r) =
∞, for r
-ε, for σ ≤ r ≤ 2σ
0, for r > 2σ
Using this potential, we can evaluate the integral for B₂.
Derivation of B₂ for Sawtooth Potential
Splitting the integral into regions based on potential behavior:
- For \( r
- For \( \sigma \leq r \leq 2\sigma \), \( u(r) = -\epsilon \), so:
$$ e^{-\frac{u(r)}{k_B T}} = e^{\frac{\epsilon}{k_B T}} $$
- For \( r > 2\sigma \), \( u(r) = 0 \), so:
$$ e^{-\frac{u(r)}{k_B T}} = 1 $$
Thus, the integral simplifies to:
B_2(T) = -2π N_A [ ∫_σ^{2σ} (e^{ε/(k_B T)} - 1) r^2 dr + ∫_{2σ}^{∞} (1 - 1) r^2 dr ]
= -2π N_A (e^{ε/(k_B T)} - 1) ∫_σ^{2σ} r^2 dr
The second integral over \( r > 2σ \) is zero because \( e^{0} - 1 = 0 \).
The integral over \( r \) is:
∫_σ^{2σ} r^2 dr = [ r^3 / 3 ]_σ^{2σ} = ( (2σ)^3 - σ^3 ) / 3 = (8σ^3 - σ^3) / 3 = 7σ^3 / 3
Introducing constants, note that \( N_A \) is Avogadro's number, and the conventional form of B₂ for molecular simulations considers the volume integral; factoring these constants, we get:
B_2(T) = -2π N_A (e^{ε/(k_B T)} - 1) * (7σ^3 / 3)
Expressing in more typical units (e.g., mL/mol), and noting that the molar second virial coefficient in units of volume is often expressed as:
B_2(T) = 2π (e^{ε/(k_B T)} - 1) (σ^3) * (constant factors)
For practical calculations, the key is to express B₂ in consistent units, using the combinatorial constants appropriately, often simplified to:
B_2(T) = 2π σ^3 [(e^{ε/(k_B T)} - 1) * (7/3)]
Implementing in Excel
To compute B₂( T ) numerically, create an Excel spreadsheet with adjustable parameters \( \sigma \) and \( \epsilon \). Set the parameters in dedicated cells. Using the derived formula, calculate B₂ at each temperature. The equation in Excel syntax (assuming cell references) would be:
=2PI()($B$1)^3 (EXP($B$2/($K$ C2)) - 1)*(7/3)
Where:
- B1 contains \( \sigma \) in cm (convert to appropriate units as needed)
- B2 contains \( \epsilon \) in Joules
- C2 contains temperature T in Kelvin
- \( K \) is Boltzmann constant in J/K
This allows dynamic adjustment of the parameters to fit experimental argon data. Plotting B₂ against T provides visual evaluation. By iterating \( \sigma \) and \( \epsilon \), the best fit to experimental values can be achieved.
Experimental Data Analysis
The provided experimental values for argon are:
- T = 64 K, B₂ = -64 mL/mol
- T = 37.5 K, B₂ = -37.5 mL/mol
- T = 10 K, B₂ = -10 mL/mol
- T = 5 K, B₂ = +5 mL/mol
- T = 10 K, B₂ = +10 mL/mol
By fine-tuning σ and ε, the theoretical B₂(T) curve can be matched to these experimental points through plotting and iterative fitting. This process can be automated via Solver or Goal Seek features in Excel, whereby the parameters are adjusted until the calculated values minimize the deviation from the experimental data points.
Conclusion
The derivation confirmed that, for a sawtooth potential with specific well parameters, the second virial coefficient can be expressed in a closed-form integral that simplifies to an expression involving the exponential of the well energy. Implementing this in Excel allows for flexible exploration of parameters, facilitating the fitting of theoretical models to experimental data. Such models enhance understanding of molecular interactions and provide computational tools for studying real gases like argon under various thermal conditions.
References
- Hill, T. L. (1986). An Introduction to Statistical Thermodynamics. Dover Publications.
- McQuarrie, D. A. (2000). Statistical Mechanics. University Science Books.
- Reif, F. (2009). Fundamentals of Statistical and Thermal Physics. Waveland Press.
- Rowlinson, J. S., & Swinton, F. (2013). Liquids and Liquid Mixtures. Cambridge University Press.
- Hansen, J. P., & McDonald, I. R. (2013). Theory of Simple Liquids. Academic Press.
- Allen, M. P., & Tildesley, D. J. (2017). Computer Simulation of Liquids. Oxford University Press.
- Garrett, J. D. (1999). Intermolecular Energy and the Second Virial Coefficient. Journal of Physical Chemistry.
- Hirschfelder, J. O., Curtiss, C. F., & Bird, R. B. (1964). Molecular Theory of Gases and Liquids. Wiley.
- Huggins, M. L. (1941). Virial Coefficients and Interparticle Potentials. Journal of Physical Chemistry.
- Chapman, S., & Cowling, T. G. (1970). The Mathematical Theory of Non-Uniform Gases. Cambridge University Press.