Skip to main content
Log in

Chemical mass transfer in magmatic processes

I. Thermodynamic relations and numerical algorithms

  • Published:
Contributions to Mineralogy and Petrology Aims and scope Submit manuscript

Abstract

Thermodynamic and mathematical relations are presented to facilitate the description of an algorithm for the calculation of chemical mass transfer in magmatic systems. This algorithm extends the silicate liquid solution model of Ghiorso et al. (1983) to allow for the quantitative modelling of natural magmatic processes such as crystal fractionation, equilibrium crystallization, magma mixing and solid-phase assimilation. The algorithm incorporates a new method for determining the saturation surface of a non-ideal multicomponent solid-solution crystallizing from a melt. It utilizes a mathematical programming (optimization) approach to determine the stable heterogeneous (solids+liquid) equilibrium phase assemblage at a particular temperature and pressure in magmatic systems both closed and open to oxygen. Closed system equilibria are computed by direct minimization of the Gibbs free energy of the system. Open system equilibria are determined by minimization of the Korzhinskii potential (Thompson 1970), where oxygen is treated as a perfectly mobile component. Magmatic systems undergoing chemical mass transfer processes are modelled in a series of discrete steps in temperature, pressure or bulk composition, with each step characterized by heterogeneous solid-liquid equilibrium. A numerical implementation of the algorithm has been developed (in the form of a FORTRAN 77 computer program) and calculations demonstrating its utility are provided in an accompanying paper (Ghiorso and Carmichael 1985).

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Abbreviations

\(a_{\varphi _i } \) :

the activity of the i th solid component in the solid phase ϕ

c :

number of components in (ϕ th solid phase (i.e., equivalent to m ϕ)

\(f_{{\text{O}}_{\text{2}} } \) :

the fugacity of oxygen in the system

G :

the Gibbs free energy of the system

f :

intermediate variable used in step 2 of algorithm 2

G L :

the Gibbs free energy of the liquid

\(G_{M_1 } ,G_{M_2 } ,...,G_{M_p } \) :

the Gibbs free energy of the 1st, 2nd, ..., p th solid

\(G_{O_2 } \) :

the Gibbs free energy of oxygen in the system

\(g_{\varphi _i } \) :

the partial derivative of \(a_{\varphi _i } \) with respect to \(X_{\varphi _i } \) evaluated at ϕ

h :

intermediate variable used in step 2 of algorithm 2

L :

the Korzhinskii potential of a system open to oxygen

l :

the number of liquid components

m 1, m 2, ..., m p :

the number of components in the 1st, 2nd, ..., p th solid

n :

the number of liquid and solid components in the system (i.e., l+m 1+m 2+...+m p)

\(n_{O_2 } \) :

the excess oxygen content of the system (see Eq. 36)

P :

pressure

p :

the number of solid phases in the system

R :

the universal gas constant

r :

the ratio of ferric iron/total iron in the liquid

T :

the absolute temperature

X ϕ :

the mole fraction of the i th solid component in the solid phase ϕ

SSQ:

intermediate variable used in step 7 of algorithm 2

y :

intermediate variable used in step 2 of algorithm 2

α :

steplength parameter of order unity defined by Eqs. (28) and (29)

\(\gamma _{\varphi _i } \) :

the activity coefficient of the i th solid component in the phase ϕ

ΔG i :

the free energy change for the i th solid component melting to form a liquid at a particular T and P

k :

the condition number of the projected Hessian of G (Htilde)

\(u_{{\text{O}}_{\text{2}} } \) :

the chemical potential of oxygen in the magma

\(u_{_{{\text{O}}_{\text{2}} } }^0 \) :

the standard state chemical potential of oxygen in the system

\(u_{\varphi _i }^0 \) :

the standard state chemical potential of the i th solid component in the solid phase ϕ

ϕ :

the saturation index for the ϕ th solid phase

τ :

a number defined to be 10−t where t is the number of significant digits desired in the computation

ϕ i :

the i th end-member component in the solid phase ϕ

b :

vector which describes the bulk composition of the system in terms of liquid components

g :

vector of chemical potentials of each component in the system

\(\widetilde{\text{g}}\) :

the projected gradient of the system

g L :

vector of chemical potentials of each component in the liquid

\({\text{g}}_{M_1 } {\text{,g}}_{M_2 } ,....,{\text{g}}_{M_p } \) :

vector of chemical potentials of each component in the 1st, 2nd, ..., pth solid

\({\text{g}}_{{\text{O}}_2 } \) :

the gradient of the Gibbs free energy of oxygen with respect to n

n :

vector of moles of all liquid and solid components in the system (n and n′ are particular guesses for n)

n L :

vector of moles of each component in the liquid

\({\text{n}}_{M_1 } {\text{,n}}_{M_2 } ,....,{\text{n}}_{M_p } \) :

vector of moles of each component in the 1st, 2nd, ..., pth solid

n 1, n 2 :

compositional vectors defined by Eq. (21) and which denote the constrained and unconstrained parts of the vector n

X ϕ :

vector of mole fractions of the c solid components in the ϕ th phase, i.e., \([X_{\varphi _1 } {\text{,}}X_{\varphi _2 } ,...,X_{\varphi _c } ]^T \) (\(\hat X_\varphi \) is a particular guess for Xϕ

λ :

vector of Lagrange multipliers for the active equality constraints in the system (Eq. 34)

v i :

stoichiometric reaction coefficients for each liquid component in the reaction which describes the dissolution of the i th solid component

C :

block matrix which embodies the bulk composition constraint on the system (Eq. 9)

H :

second derivative matrix (Hessian) of the Gibbs free energy of the system

\(\widetilde{\text{H}}\) :

the projected Hessian of the system

H L :

second derivative matrix (Hessian) of the free energy of the liquid

\({\text{H}}_{M_1 } {\text{,H}}_{M_2 } {\text{,}}...{\text{,H}}_{M_p } \) :

second derivative matrix (Hessian) of the Gibbs free energy of the 1st, 2nd, ..., p th solid solution

\({\text{H}}_{{\text{O}}_2 } \) :

second derivative matrix of the Gibbs free energy of oxygen

I l :

identity matrix of order l

K :

an orthogonal matrix which right diagonalizes C Eq. (18). It may be partitioned K T=[K 1K 2]T

R :

upper triangular matrix formed by right diagonalizing C. It may be partitioned R=[R 11O](see Eqs. 18, 19)

\({\text{T}}_{M_1 } {\text{,T}}_{M_2 } {\text{,}}...{\text{,T}}_{M_p } \) :

matrix which transforms a mole vector for the 1st, 2nd, ..., p th solid from solid into liquid compositional variables

O /skj /i :

matrix of zeros with i rows and j columns

\(\left| {\hat n} \right.\) :

evaluated at \(\widehat{\text{n}}\)

n T :

the transpose of n

∥n∥:

the euclidian (or L 2) norm of n, i.e. ∥n∥=(n T n)1/2

ln:

natural (base e) logarithm

References

  • Arculus RJ, Delano JW (1981) Intrinsic oxygen fugacity measurements: techniques and results for spinels from upper mantle peridotites and megacryst assemblages. Geochim Cosmochim Acta 45:899–913

    Google Scholar 

  • Barron LM (1976a) A comparison of two models of ternary excess free energy. Contrib Mineral Petrol 57:71–81

    Article  Google Scholar 

  • Barron LM (1976b) Segregation in ternary solutions. Geochem J 10:145–154

    Google Scholar 

  • Barron LM (1978a) The geometry of multicomponent exsolution. Am J Sci 278:1269–1306

    Google Scholar 

  • Barron LM (1978b) A simple method of estimating the binodal surface. Geochem J 12:101–105

    Google Scholar 

  • Barron LM (1981) The calculated geometry of silicate liquid immiscibility. Geochim Cosmochim Acta 45:495–512

    Article  Google Scholar 

  • Barron LM (1983) Programs for calculating the geometry of multicomponent exsolution. Comp Geosci 9:81–111

    Google Scholar 

  • Betts JT (1980a) A compact algorithm for computing the stationary point of a quadratic function subject to linear constraints. ACM Trans Math Software 6:391–397

    Google Scholar 

  • Betts JT (1980b) Algorithm 559: The stationary point of a quadratic function subject to linear constraints [E4]. ACM Trans Math Software 6:432–436

    Google Scholar 

  • Brown TH, Skinner BJ (1974) Theoretical prediction of equilibrium phase assemblages in multicomponent systems. Am J Sci 274:961–986

    Google Scholar 

  • Bottinga Y, Weill DF, Richet P (1981) Thermodynamic modelling of silicate melts. In: Newton RC, Navrotsky A, Wood BJ (eds) Thermodynamics of Minerals and Melts (Advances in Physical Geochemistry: v l). Springer Berlin Heidelberg New York 207–246

    Google Scholar 

  • Castillo J, Grossman IE (1981) Computation of phase and chemical equilibria. Comp Chem Eng 5:99–108

    Article  Google Scholar 

  • Dahlquist G, Björck Å (1974) Numerical Methods. Prentice-Hall, Englewood Cliffs, New Jersey, p 573

    Google Scholar 

  • Dorofeyeva VA, Khodakovskiy IL (1981) Calculation of the equilibrium composition of multicomponent systems by “minimization” method from the equilibrium constants. Geochem Internat 18[1]: 80–85

    Google Scholar 

  • Dowty E (1980) Crystal growth and nucleation theory and the numerical simulation of igneous crystallization: In: Hargraves RB (ed) Physics of Magmatic Processes, Princeton Univ. Press, Princeton, New Jersey, 419–486

    Google Scholar 

  • Ghiorso MS (1983) LSEQIEQ: A FORTRAN IV subroutine package for the analysis of multiple linear regression problems with possibly deficient pseudorank and linear equality and inequality constraints. Comp Geosci 9:391–416

    Google Scholar 

  • Ghiorso MS (1984) Activity/composition relations in the ternary feldspars. Contrib Mineral Petrol 87:282–296

    Article  Google Scholar 

  • Ghiorso MS, Carmichael ISE (1985) Chemical mass transfer in magmatic processes. II) Applications in equilibrium crystallization, fractionation and assimilation. Contrib Mineral Petrol (in press)

  • Ghiorso MS, Carmichael ISE, Rivers ML, Sack RO (1983) The Gibbs free energy of mixing of natural silicate liquids; an expanded regular solution approximation for the calculation of magmatic intensive variables. Contrib Mineral Petrol 84:107–145

    Article  Google Scholar 

  • Gill PE, Murray W (1974) Newton-type methods for linearly constrained optimization. In: Gill PE, Murray W (eds) Numerical Methods for Constrained Optimization. Academic Press, New York, 29–66

    Google Scholar 

  • Gill PE, Murray W, Wright MH (1981) Practical Optimization. Academic Press, New York, p 401

    Google Scholar 

  • Graham A (1981) Kronecker Products and Matrix Calculus with Applications. Halsted Press (John Wiley and Sons), New York, p 130

    Google Scholar 

  • Helgeson HC (1968) Evaluation of irreversible reactions in geochemical processes involving minerals and aqueous solutions — I. Thermodynamic relations. Geochim Cosmichim Acta 32:853–877

    Google Scholar 

  • Helgeson HC, Brown TH, Nigrini A, Jones TA (1970) Calculation of mass transfer in geochemical processes involving aqueous solutions. Geochim Cosmochim Acta 34:569–592

    Article  Google Scholar 

  • Helgeson HC, Delany JM, Nesbitt HW, Bird DK (1978) Summary and critique of the thermodynamic properties of rock-forming minerals. Am J Sci 278-A:1–229

    Google Scholar 

  • Helgeson HC, Murphy WM (1983) Calculation of mass transfer among minerals and aqueous solutions as a function of time and surface area in geochemical processes. I. Computational approach. Math Geology 15:109–130

    Google Scholar 

  • Hostetler CJ, Drake MJ (1980) Predicting major element mineral/melt equilibria: A statistical approach. J Geophys Res 85:3789–3796

    Google Scholar 

  • Karpov IK, Kaz'min LA (1972) Calculation of geochemical equilibria in homogeneous multicomponent systems. Geochem Internat 9:252–262

    Google Scholar 

  • Karpov IK, Kaz'min LA, Kashik SA (1973) Optimal programming for computer calculation of irreversible evolution in geochemical systems. Geochem Internat 10:464–470

    Google Scholar 

  • Kilinc A, Carmichael ISE, Rivers ML, Sack RO (1983) The ferricferrous ratio of natural silicate liquids equilibrated in air. Contrib Mineral Petrol 83:136–140

    Article  Google Scholar 

  • Kimberley MM (1980) SOLVUS: A FORTRAN IV program to calculate solvi for binary isostructural crystalline solutions. Comp Geosci 6:237–266

    Google Scholar 

  • Korzhinskii DS (1959) Physiochemical Basis of the Analysis of the Paragenesis of Minerals. Consultants Bureau, New York, p 142

    Google Scholar 

  • Langmuir CH, Hanson GN (1981) Calculating mineral-melt equilibria with stoichiometry, mass balance, and single-component distribution coefficients. In: Newton RC, Navrotsky A, Wood BJ (eds) Thermodynamics of Minerals and Melts, (Advances in Physical Geochemistry), Springer Berlin Heidelberg New York, pp 247–272

    Google Scholar 

  • Lawson CL, Hanson RJ (1974) Solving Least Squares Problems. Prentice-Hall, Englewood Cliffs, New Jersey, p 340

    Google Scholar 

  • Murray W (1972) Failure, the causes and cures. In: Murray W (ed) Numerical Methods for Unconstrained Optimization, Academic Press, New York, 107–122

    Google Scholar 

  • Myers J, Eugster HP (1983) The system Fe-Si-O: Oxygen buffer calibrations to 1,500 K. Contrib Mineral Petrol 82:75–90

    Article  Google Scholar 

  • Nash JC (1979) Compact Numerical Methods for Computers: Linear Algebra and Function Minimisation. Wiley, New York, p 227

    Google Scholar 

  • Nathan HD, Van Kirk CK (1978) A model of magmatic crystallization. J Petrol 19:66–94

    Google Scholar 

  • Nicholls J, Stout MZ (1982) Heat effects of assimilation, crystallization, and vesiculation in magmas. Contrib Mineral Petrol 84:328–339

    Google Scholar 

  • Nielsen RL, Dungan MA (1983) Low pressure mineral-melt equilibria in natural anhydrous mafic systems. Contrib Mineral Petrol 84:310–326

    Article  Google Scholar 

  • Reed MH (1982) Calculation of multicomponent chemical equilibria and reaction processes in systems involving minerals, gases and an aqueous phase. Geochim Cosmochim Acta 46:513–528

    Article  Google Scholar 

  • Robie RA, Hemingway BS, Fisher JR (1978) Thermodynamic properties of minerals and related substances at 298.15 K and 1 Bar (105 Pascals) pressure and at higher temperatures. US Geol Sur Bull 1452, p 456

    Google Scholar 

  • Ryzhenko BN, Mel'nikova GL, Shvarov YuV (1981) Computer modelling of formation of the chemical composition of natural solutions during interaction in the water-rock system. Geochem Internat 18[2]:94–108

    Google Scholar 

  • Sato M (1978) Oxygen fugacity of basaltic magmas and the role of gas-forming elements. Geophys Res Lett 5:447–449

    Google Scholar 

  • Saxena SK (1982) Computation of multicomponent phase equilibria. In: Saxena SK (ed) Advances in Physical Geochemistry, (Advances in Physical Geochemistry, v 2), Springer Berlin Heidelberg New York, pp 225–242

    Google Scholar 

  • Saxena SK, Eriksson G (1983) Theoretical computation of mineral assemblages in pyrolite and lherzolite. J Petrol 24:538–555

    Google Scholar 

  • Seider SD, Gautam R, White CW III (1980) Computation of phase and chemical equilibrium: A review. (Computer Applications to Chemical Engineering) Am Chem Soc Symp Ser 124

  • Shvarov YuV (1976) Algorithm of calculation of the equilibrium composition in a multicomponent heterogeneous system. Dokl Akad Nauk SSSR 229[5]:1224

    Google Scholar 

  • Shvarov YuV (1978) Minimization of the thermodynamic potential of an open chemical system. Geochem Internat 15[6]:200–203

    Google Scholar 

  • Smith WR, Missen RW (1982) Chemical Reaction Equilibrium Analysis. Wiley, New York, p 364

    Google Scholar 

  • Späth H (1967) The damped Taylor Series method for minimizing a sum of squares and for solving systems of non-linear equations. Comm ACM 10:726

    Google Scholar 

  • Thompson JB Jr (1970) Geochemical reaction and open systems. Geochim Cosmochim Acta 34:529–551

    Article  Google Scholar 

  • van Zeggeren F, Storey SH (1970) The Computation of Chemical Equilibrium. Cambridge Univ Press, London, p 176

    Google Scholar 

  • White WB, Johnson SM, Dantzig GB (1958) Chemical equilibrium in complex mixtures. J Chem Phys 28:751–755

    Google Scholar 

  • Wolery TJ (1979) Calculation of Chemical Equilibrium Between Aqueous Solutions and Minerals: The EQ3/6 Software Package. Lawrence Livermore Laboratory Document UCRL-52658, p 41

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Ghiorso, M.S. Chemical mass transfer in magmatic processes. Contr. Mineral. and Petrol. 90, 107–120 (1985). https://doi.org/10.1007/BF00378254

Download citation

  • Received:

  • Accepted:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF00378254

Keywords

Navigation