Pressure-volume isotherms for a Bragg-Williams lattice gas
by Housam Binous
29 Dec 2007
(Updated 02 Jan 2008)
Computes pressure-volume isotherms for a Bragg-Williams lattice gas
|
Watch this File
|
| File Information |
| Description |
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/ |
| Required Products |
Optimization Toolbox
|
| MATLAB release |
MATLAB 7.0.1 (R14SP1)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
| Comments and Ratings (1) |
| 11 Feb 2008 |
Duane Hanselman
|
|
|
| Updates |
| 02 Jan 2008 |
added link to Wolfram Library Archive |
|
Contact us at files@mathworks.com