1.0

1.0 | 1 rating Rate this file 18 downloads (last 30 days) File Size: 2.69 KB File ID: #18153

Pressure-volume isotherms for a Bragg-Williams lattice gas

by Housam Binous

 

29 Dec 2007 (Updated 02 Jan 2008)

No BSD License  

Computes pressure-volume isotherms for a Bragg-Williams lattice gas

Download Now | 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)
Zip File Content  
Other Files BraggWilliams/Bragg_Williams.m,
BraggWilliams/jbfill.m,
BraggWilliams/pBragg.m,
BraggWilliams/zeroBragg.m
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

Typical submission from this author. Simply reproduces figures found in a specific journal article. No user settable parameters. No variable descriptions. No help text to explain the code. Promotes poor programming practices to students.

Please login to add a comment or rating.
Updates
02 Jan 2008

added link to Wolfram Library Archive

Tag Activity for this File
Tag Applied By Date/Time
chemistry Housam Binous 22 Oct 2008 09:40:53
physics Housam Binous 22 Oct 2008 09:40:53
braggwilliams approximation Housam Binous 22 Oct 2008 09:40:53
lattice gas Housam Binous 22 Oct 2008 09:40:53
pressurevolume isotherms Housam Binous 22 Oct 2008 09:40:53
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com