Pressure-volume isotherms for a Bragg-Williams lattice gas

Computes pressure-volume isotherms for a Bragg-Williams lattice gas
1.9K Downloads
Updated 2 Jan 2008

No License

The program shows how to plot figure 14.4 page 248 presented in T. L. Hill, An Introduction to Statistical Thermodynamics, Dover, New York, 1986. The Bragg-Williams approximation gives pressure-volume isotherms similar to those obtained using the van der Waals equation and it predicts first-order phase transition. We use the symmetry condition to draw the horizontal stable equilibrium path. We can also use the thermodynamic equal-area theorem as shown at the end of the code.

A similar treatment using Mathematica
can be found at the following link:

http://library.wolfram.com/infocenter/MathSource/6623/

Cite As

Housam Binous (2024). Pressure-volume isotherms for a Bragg-Williams lattice gas (https://www.mathworks.com/matlabcentral/fileexchange/18153-pressure-volume-isotherms-for-a-bragg-williams-lattice-gas), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14SP1
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

added link to Wolfram Library Archive