Jump to content

Maxwell construction

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Airman72 (talk | contribs) at 21:50, 3 October 2023 (Fixed typos in some references). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Maxwell Construction

In thermodynamic equilibrium, a necessary condition for stability is that pressure, , does not increase with molar volume, ; this is expressed mathematically as , where is the temperature.[1]

Figure 1: The curve is an isotherm, constant, in the -- plane of a fluid that includes a phase change. The various segments of the curve are described in the text. Note that has a jump discontinuity, from to , as does .

This basic stability requirement, and similar ones for other conjugate pairs of variables, is violated in analytic models of first order phase transitions. The most famous case is the van der Waals equation,[2][3] where are dimensional constants. This violation is not a defect, rather it is the origin of the observed discontinuity in properties that distinguish liquid from vapor, and defines a first order phase transition.

Figure 1 shows an isotherm drawn as a continuously differentiable solid black, dotted black, and dashed gray curve. The decreasing right hand part of the curve in Fig. 1 describes a gas, while its left part describes a liquid. These two parts are separated by a region between the local minimum and local maximum on the curve with positive slope that violates the stability criterion. This mathematical criterion expresses a physical condition which Epstein[4] described as follows:

It is obvious that this middle part, dotted in our curves [dashed in Fig.1 here], can have no physical reality. In fact, let us imagine the fluid in a state corresponding to this part of the curve contained in a heat conducting vertical cylinder whose top is formed by a piston. The piston can slide up and down in the cylinder, and we put on it a load exactly balancing the pressure of the gas. If we take a little weight off the piston, there will no longer be equilibrium and it will begin to move upward. However, as it moves the volume of the gas increases and with it its pressure. The resultant force on the piston gets larger, retaining its upward direction. The piston will, therefore, continue to move and the gas to expand until it reaches the state represented by the maximum of the isotherm. Vice versa, if we add ever so little to the load of the balanced piston, the gas will collapse to the state corresponding to the minimum of the isotherm`

This situation is similar to a body exactly balanced at the top of a smooth surface that, with the slightest disturbance will depart from its equilibrium position and continue until it reaches a local minimum. As they are described such states are dynamically unstable, and consequently they are not observed. The gap is a precursor of the actual phase change from liquid to vapor. The points and , where , that delimit the largest possible liquid and smallest possible vapor states are called spinodal points. Their locus forms a spinodal curve which bounds a region where no homogeneous stable states can exist.

Experiments show that if the volume of a vessel containing a fixed amount of liquid is heated and expands at constant temperature, at a certain pressure, , vapor, (denoted by dots at points and in Fig. 1) bubbles nucleate so the fluid is no longer homogeneous, but rather it has become heterogeneous. It is now a mixture of two separate components, a boiling (saturated) liquid, , and a condensing (saturated) vapor, that coexist at the same saturation temperature and pressure. As the heating continues the amount of vapor, increases and that of the liquid, , decreases. All the while the pressure, and temperature, , remain constant and the volume increases. In this situation the molar volume of the mixture is a weighted average of its components where , the mole fraction of the vapor, , increases continuously; however, the molar volume of the substance itself has only the largest possible stable value for its liquid state, and smallest possible stable value for its vapor state at the given . To repeat, although the mixture molar volume passes continuously from to (denoted by the dashed line in Fig. 1), the underlying fluid has a discontinuity in this property, and others as well. This equation of state of the mixture is called the lever rule.[5][6]

The dotted parts of the curve in Fig. 1 are metastable states. For many years such states were an academic curiosity; Callen[7] gave as an example,

water that has been cooled below 0$^\circ$C at a pressure of 1 atm. A tap on a beaker of water in this condition precipitates a sudden dramatic crystallization of the system.

However, studies of boiling heat transfer have made clear that metastable states occur routinely as an integral part of this process. In it the heating surface temperature is higher than the saturation temperature, often significantly so, hence the adjacent liquid must be superheated.[8] Further the advent of devices that operate with very high heat fluxes has created interest in their behavior, and the thermodynamic properties associated with them, especially superheated liquids [7].[9] Moreover, the fact that they are predicted by the van der Waals equation, and cubic equations in general, is compelling evidence of its efficacy in describing phase transitions; Sommerfield[10] described it as follows:

It is very remarkable that the theory due to van der Waals is in a position to predict, at least qualitatively, the existence of the unstable [called metastable here] states along the branches AA` or BB` [BC and FE in Fig. 1 here].

The Equal Area Rule

The discontinuity in , and other properties, e.g. internal energy, , and entropy,, of the substance, is called a first order phase transition.[11][12] In order to specify the unique experimentally observed pressure, , at which it occurs another thermodynamic condition is required, for from Fig.1 it could clearly occur for any pressure in the range . Such a condition was first enunciated in a clever thermodynamic argument by Maxwell at a lecture he delivered to the British Chemical Society on Feb 18, 1875[13] (Fig.1, including the letters B C D E F, is the curve he described):

This is rendition of a figure in the James Clerk-Maxwell paper in Nature explaining what we now call the Maxwell construction for the van der Waals gas

The portion of the curve from C to E represents points which are essentially unstable, and which cannot therefore be realized. Now let us suppose the medium to pass from B to F along the hypothetical curve B C D E F in a state always homogeneous, and to return along the straight line path F B in the form of a mixture of liquid and vapor. 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 F D E over B C D. Hence the condition which determine the maximum pressure of the vapor at given temperature is that the line B F cuts off equal areas from the curve above and below.

The easiest way to understand Maxwell's argument is to consider the cycle he suggested on a temperature—molar entropy plane. Every introductory thermodynamics text[14] [15] presents the fact that on such a plane the area under any curve is the heat transfer to the substance per mole, positive going from left to right and negative from right to left; moreover, in a cyclic process the net heat transfer to the substance is the area enclosed by the cycle's closed curve. Since the cycle he considered is composed of the two gray dashed isothermals at the same temperature, one proceeding from B to F (through C D and E), and the other directly back from F to B, the two lines are identical, just traversed in reverse; there is zero area enclosed, and hence .

Further the same texts describe the area under these curves when plotted on a pressure—molar volume, see Fig. 1, as being the work done by the substance, positive going from left to right, and negative from right to left. Likewise the net work done in a cycle is the area enclosed by the closed curve. Since the first law of thermodynamics yields in the special case of a cycle , for the cycle envisioned by Maxwell ; then since the area enclosed is I+II=0, see Fig.1, with I positive and II negative, the transition pressure must be such that the two areas are equal.

Written as a mathematical equation in terms of the work done in each process this is This equation together with the equation of state written for each of the states and are three equation for the four variables, , so given any one of them, say , the other three are determined. In other words, there is a unique value of , as well as and , at which the phase transition can occur.

The Gibbs Criterion

At the end of his lecture, after complimenting van der Waals by referring to his work as "an exceedingly ingenious thesis", Maxwell finished it by saying:

I must not, however, omit to mention a most important American contribution to this part of thermodynamics by Prof. Willard Gibbs of Yale College U.S., who has given us a remarkably simple and thoroughly satisfactory method of representing the relations of the different states of matter by means of a model. By means of this model, problems which had long resisted the efforts of myself and others may be solved at once.

This remark proved prescient because in 1876-1878 Gibbs published his definitive work on thermodynamics [16] in which he showed that thermodynamic equilibrium of a heterogeneous substance requires that, in addition to mechanical equilibrium (the same pressure for each component) and thermal equilibrium (the same temperature for each component), there must also be material equilibrium (the same chemical potential for each component). In the present instance of one substance and two phases in addition to and , material equilibrium requires (for the special case of one substance its chemical potential is the molar Gibbs function, where ). This condition can be deduced by a simple physical argument as follows: the energy required to vaporize a mole is from the second law , and from the first law at constant pressure , then equating these two and rearranging produces the result (note that ). The conditions of material equilibrium lead to the famous phase rule, , where is the number of substances, the number of phases, and the number of independent intensive variables required to specify the state.[17][18] In the case of one substance and two phases discussed here this gives, , the experimentally observed number.

Now is a thermodynamic potential function, its differential is[19]

Integrating this at constant temperature produces here is a constant of integration, but the constant is different for each isotherm hence it is written as a function of .[20] In order to evaluate one must invert to obtain . However, it is the nature of the phase transition phenomenon that this inversion is not unique; for example the van der Waals quation written for is,

Figure 2: The Gibbs function on the same isotherm shown in Fig. 1. The letters denote the same points here that they do in that figure.

a cubic with either 1 or, in this case, 3 real roots. Thus there are three curves, as seen in Fig. 2, consisting of stable (shown solid black), metastable (shown dotted black), and unstable (shown dashed gray) states.

Actually, the figure was not produced by solving the cubic and integrating, rather was obtained from its definition by first obtaining and , which is easily done analytically for the van der Waals equation assuming for simplicity, and plotting it parametrically with , using as the parameter. Note that is continuous with discontinuous partial derivatives, and , at the phase transition point. In the Ehrenfest classification, a first order phase transition refers to the discontinuity of the first partial derivatives of while a second order phase transition would involve discontinuities of the second partial derivatives.[21]

The Relationship Between the Gibbs and Maxwell Criteria

Evaluating the integral expression for given previously between the saturated liquid and vapor states and applying the Gibbs criterion of material equilibrium to this phase change process produces

Here the integral has been split into three parts using the three roots corresponding to the liquid, , unstable, , and vapor, , states respectively. These integrals can best be visualized by viewing Fig. 1 rotated so that is plotted on the ordinate of the curve as shown in the accompanying graph. In this view the function clearly is multi-valued; this is the reason it requires three real functions to describe its behavior between and . Now on splitting the middle integral into two The first two integrals here are area I while the second two are the negative of area II. The two areas add to zero hence their magnitudes are equal according to this Gibbs criterion. That this must be the same as the Maxwell construction seems obvious, and it can be easily shown analytically since . As a result, and then integrating for constant temperature from state to with the Gibbs condition produces which is Maxwell's result. This equal area rule can also be derived by making use of the Helmholtz free energy.[22] In any event the two conditions are the same; the Maxwell construction derives from the Gibbs condition of material equilibrium. Although is more fundamental, the Maxwell construction often requires less effort to implement.

Application to the van der Waals Equation

From the van der Waals equation applied to the saturated liquid, , and vapor, , states These two equations specify 4 variables so they can be solved for in terms of . This results in where , , and are characteristic pressure, molar volume, and temperature defined by the constants (note that ). Applying the Maxwell construction to the van der Waals equation gives These three equations can be solved numerically. This has been done given a value for either or , and tabular results presented;[23][24] however, the equations also admit a simple, elegant, analytic solution.[25] It is obtained by eliminating from the equations, and writing them in terms of a stretched dimensionless number density, , that varies between and 0 as varies from to ; this produces Although transcendental, this equation has an analytic, parametric solution obtained by writing the left side of the equation, which is just , as Then and when used to eliminate from the right hand side a linear equation for is obtained, whose solution is Accordingly, the fundamental variable that specifies all the others in this phase transition process is . This solution to the saturation problem is easily extended to encompass all its variables where .

Fig. 3: The analytical vdW spinodal (dashed dot blue) and coexistence (dashed dot black) curves on the - plane.
Figure 4: The isotherm of Fig.1, , with the critical isotherm, , a supercritical isotherm, and the spinodal and coexistence curves.

The values of all other property discontinuities across the saturation curve also follow from this solution.[26]

These functions define the coexistence curve which is the locus of the saturated liquid and saturated vapor states of the van der Waals fluid. In Fig. 3 the curve is plotted in blue together with the spinodal curve in black, calculated from where is a parameter. The variables used in making these plots are the reduced (dimensionless) variables, , , and where the subscripted quantities are the critical point values which are defined by, , and at the critical point,[27] and are measurable quantities. The relations , , are used to convert the star quantities in the solution to the quantities used in the figures. The curve agrees completely with the numerical results referenced earlier. In the region inside the spinodal curve there are two states at each point, one stable and one metastable, either superheated liquid to the right of the blue curve, or subcooled vapor to the left, while outside the spinodal curve there is one stable state at each point. In Fig. 4 the region under the (dot dash black) spinodal curve contains no stable states while between the (dot dash blue) coexistence and spinodal curves there is a metastable state at every point, and outside the coexistence curve there is a stable state at each point. The two blue circles are the saturated liquid and vapor states. There are also observed heterogeneous states everywhere under the blue coexistence curve that satisfy the lever rule; however, they are not homogeneous states of the van der Waals equation.

Over the parameter range , decreases monotonically from and approaches 0 as in the limit . Therefore and in the limit , and . The behavior of and follow from the equations. Both these properties also decrease monotonically from and , and approach 0 as and in the limit . Note from these that ; the vdw saturated vapor is an ideal gas in this limit. To paraphrase Sommerfield, it is remarkable that the theory due to van der Waals is able to predict that when the saturated vapor behaves like an ideal gas; the saturated vapor of real gases behave exactly this way.

In addition for the liquid spinodal point occurs at a negative pressure. This means that some part of those liquid metastable states are in tension, and the lower the temperature the greater the tensile stress. Although this seems counterintuitive it is known that under some circumstances liquids can support tension. This is another interesting feature of the van der Waals theory.

Solving the cubic to obtain vapor pressures

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

which is of the form

To solve this Cubic function one defines several precursor terms :

and

so that the following become defined

and

The first root's precursor form is:

leading to

and

and finally

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 an arbitrary (but reasonable) chosen value and adjusts its values as one solves the equation (below) ultimately obtaining or 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.

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):

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 and 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.

An alternative approach without obtaining roots

pseudo 3D p-v-T diagram for van der Waals fluid showing some tie lines and isotherms
Maxwell construction for van der Waals fluid
van der Waals coexistence locus of liquid-gas equilibrium i.e., vapor pressure versus molar volumes

By equating the pressures corresponding to the two volumes where there is a discontinuity in the p-v isotherm, one obtains an expression for the temperature independent of pressure, i.e.,which allows elimination of the temperature from the prior equation.

Its solution is complicated, but finally becomesandwhere

The pseudo-3D diagram for the van der Waals fluid is shown in the accompanying Figure. For details see lectures from University of Connecticut, articles 88, 93, 95 and especially 96.[29]

The Maxwell construction 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 and are replaced by a different pair of conjugate variables, e.g. magnetic field and magnetization or chemical potential and number of particles.

Common tangent construction and lever rule

The Maxwell construction is related to the common tangent construction[30][31] and the lever rule.[32]

See also

References

  1. ^ Callen, H.B., Thermodynamics}, John Wiley & Sons, N.Y., pp 131-135, (1960}
  2. ^ van der Waals, J.D., Ph.D. Thesis, Leiden Univ. (1873); English Translation J.S. Rowlinson, On the Continuity of the Gaseous and Liquid States, Dover, N.Y. (1988)
  3. ^ Epstein, P.S., Textbook of Thermodynamics, John Wiley \& Sons, N.Y., p 9, (1937)
  4. ^ Epstein, p 10
  5. ^ Callen, pp 146-163
  6. ^ Goodstein, D.L., States of Matter, Dover, N.Y., pp 443-452, (1975)
  7. ^ Callen, p 163
  8. ^ Lienhard IV, J.H. and Lienhard V, J.H., A Heat Transfer Textbook Fifth edition, Dover, Mineola, NY, pp 467-469, (2019)
  9. ^ [7] Lienhard, J.H., The Properties and Behavior of Superheated Liquids, Lat. Am. J. Heat and Mass Transfer, {\bf 10}, 169-187, (1986)
  10. ^ Sommerfeld, A., Thermodynamics and Statistical Mechanics, Edited by Bopp, F. and Meixner, J., Translated by Kestin, J., Academic Press, N.Y., p. 66, (1956)
  11. ^ Callen, p 146
  12. ^ Goodstein, p 443
  13. ^ Maxwell, J.C., On the Dynamical Evidence of the Molecular Constitution of Bodies, Nature, {\bf 11} (279), pp. 357-359, (1875)
  14. ^ Van Wylen, G.J., and Sonntag, R.E., Fundamentals of Classical Thermodynamics Second Edition, John Wiley and Sons, N.Y., p. 211, (1973)
  15. ^ Moran, M.J., and Shapiro, H.N., Fundamentals of Engineering Thermodynamics Fourth Edition, John Wiley & Sons, N.Y., p. 251, (2000)
  16. ^ Gibbs, J.W., On the Equilibrium of Heterogeneous Substances, Transactions of the Connecticut Academy III, in The Collected Works of J. Willard Gibbs Volum I Thermodynamics, Yale University Press, New Haven, pp. 62-65, (1948)
  17. ^ Gibbs, J.W., pp. 96-100
  18. ^ Callen, pp 163-167
  19. ^ Callen, pp. 98-100
  20. ^ Callen, p 150
  21. ^ Callen, pp. 172-173
  22. ^ Sommerfeld, A., pp 67-68, (1956)
  23. ^ Shamsundar, N. and Lienhard, J.H., Saturation and Metastable Properties of the van der Waals Fluid, Canad J Chem Eng, {\bf 61}, 876-880, (1983)
  24. ^ Barrufet, M.A., Eubank, P.T., Generalized Saturation Properties of Pure Fluids Via Cubic Equations of State, ASEE Chemical Engineering Education, 168-175, (1989)
  25. ^ Lekner, J. Parametric solution of the van der Waals liquid-vapor coexistence curve, Am. J. Phys., {\bf 50}, 161, (1982)
  26. ^ Johnston, D.C., Thermodynamic Properties of the van der Waals Fluid, arXiv:1402.1205v1, (2014)
  27. ^ Sommerfeld, A., pp 56-57, (1956)
  28. ^ David, Carl W., "The van der Waals Equation as a cubic" (2015). Chemistry Education Materials. Paper 88. http://digitalcommons.uconn.edu/chem_educ/88
  29. ^ Avoiding the cubic equation in finding the van der Waals Fluid's vapor pressures from University of Connecticut.
  30. ^ Wales, David; Wales (2003). Energy Landscapes: Applications to Clusters, Biomolecules and Glasses. Cambridge University Press. p. 444. ISBN 9780521814157.
  31. ^ "First order phase transitions and the dynamics of spinodal decomposition". www.mhkoepf.de. Retrieved 2019-11-12.
  32. ^ Kondepudi, Dilip; Prigogine, Ilya (2014-12-31). Modern Thermodynamics: From Heat Engines to Dissipative Structures. John Wiley & Sons. ISBN 9781118371817.