Girish Mahajan (Editor)

Maxwell construction

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Maxwell construction

In thermodynamic equilibrium, a necessary condition for stability is that pressure P does not increase with volume V . This basic consistency requirement—and similar ones for other conjugate pairs of variables—are sometimes violated in analytic models for first order phase transitions. The most famous case is the Van der Waals equation for real gases, see Fig. 1 where a typical isotherm is drawn (black curve). The Maxwell construction is a way of correcting this deficiency. The decreasing right hand part of the curve in Fig. 1 describes a diluted gas, while its left part describes a liquid. The intermediate (rising) part of the curve in Fig. 1 would be correct, if these two parts were to be joined smoothly—meaning in particular that the system would remain also in this region spatially uniform with a well defined density. But this is not what happens. If the volume of a vessel containing a fixed amount of liquid is expanded at constant temperature, there comes a point where some of the liquid boils and the system consists of two well separated phases. While this two-phase coexistence holds as the volume continues to increase, the pressure remains constant. It decreases again, after all liquid is evaporated and the gas expands. Thus the sinusoidal part of the isotherm is replaced by a horizontal line (red line in Fig. 1). According to the Maxwell construction (or "equal area rule"), the height of the horizontal line is such that the two green areas in Fig. 1 are equal.

The direct quote from Clerk-Maxwell which became the Maxwell construction: “Now let us suppose the medium to pass from B to F along the hypothetical curve BCDEF in a state always homogeneous, and to return along the straight line path FB in the form of a mixture of liquid and vapour. Since the temperature has been constant throughout, no heat can have been transformed into work. Now the heat transformed into work is represented by the excess of the area FDE over BCD. hence the condition which determine the maximum pressure of the vapour at given temperature is that the line BF cuts off equal areas from the curve above and below.”

The van der Waals gas equation (using reduced variables) can be expanded to

v R 3 ( 8 T R p R + 1 ) v R 2 3 + 9 v R 3 p R 1 p R = 0

which is of the form

v r 3 + a 1 v r 2 + a 2 v r + a 3 = 0

To solve this Cubic function one defines several precursor terms :

a 1 ( T R , p R ) = 8 T R p R + 1 3 a 2 ( p R ) = 3 p R

and

a 3 ( p R ) = 1 p R

so that the following become defined

η = a 2 a 1 2 3

and

q = ( + 2 27 a 1 3 a 1 a 2 3 + a 3 )

The first root’s precursor form is:

z 1 = 4 η 3 cos [ 1 3 cos 1 ( 3 q 2 η 3 η ) ]

leading to

v r 1 = 4 η 3 cos [ 1 3 cos 1 ( 3 q 2 η 3 η ) ] a 1 3

and

v r 2 = z 1 + z 1 2 4 ( η + z 1 2 ) 2 a 1 3

and finally

v r 3 = z 1 z 1 2 4 ( η + z 1 2 ) 2 a 1 3

These last four equations depend on two variables, the temperature which is chosen when one determines which isotherm one is working on, and the pressure. One starts with a arbitrary (but reasonable) chosen value and adjust its values as one solves the equation (below) ultimately been obtaining p = p V or p = p e q through the Maxwell construction (see below) at that temperature. With these two variables in hand, one can re-substitute the pressure value obtained into the root equations (above) to obtain the three roots. A complete example with spreadsheet can be found at.

The Maxwell construction requires solution of the equation (obtained by making the areas under the two loops equal and opposite in value from each other):

8 T r 3 n ( 3 v r 1 3 v r g 1 ) 8 T r ( v r 3 v r 1 v r g 3 v r g 1 ) + 6 v r 6 v r g = 0

with a fixed reduced temperature and the solution depending then on the chosen variable reduced pressure, which becomes the reduced vapor pressure. Unfortunately, this equation can not be solved analytically, and requires numerical evaluation. The subscripts in this equation are s m a l l e s t and g l a r g e s t have been changed to make clear which two roots of the cubic are to be employed; these roots themselves depend on the equations which precede them (above), and contain the reduced pressure and temperature which are treated as above.

The Maxwell construction

(a new diagram showing details of the construct is at ) is rarely derived from the condition that the Gibbs free energies of the gas and the liquid must be equal when they coexist. However, it can be shown that this condition is fulfilled. Essentially the same applies to any other thermodynamic system, where P and V are replaced by a different pair of conjugate variables, e.g. magnetic field and magnetization or chemical potential and number of particles.

References

Maxwell construction Wikipedia