Pressure-volume isotherms for a Bragg-Williams lattice gas
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:
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
Platform Compatibility
Windows macOS LinuxCategories
- Sciences > Material Sciences > Thermal Analysis >
- Sciences > Chemistry > Chemical Thermodynamics >
- Engineering > Mechanical Engineering > Thermodynamics and Heat Transfer >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
BraggWilliams/
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 | added link to Wolfram Library Archive |