Spear 

v.1, n.3

Frank S. Spear Department of Earth and Environmental Sciences, Rensselaer Polytechnic
Institute, Troy, New York 12180 <spearf@rpi.edu>
Abstract An algorithm is presented for the calculation of stable AFM mineral assemblages in the KFMASH system based on an internally consistent thermodynamic data set and the petrogenetic grid derived from this data set. The PT stability of each divariant (threephase) AFM assemblage is determined from the bounding KFASH, KMASH and KFMASH reactions. Macintosh regions (enclosed areas defined by a sequence of xy points) are created for each divariant region. The Macintosh toolbox routine "PtInRgn" (pointinregion) is used to determine whether a userspecified P and T falls within the stability limit of each assemblage, and the compositions of minerals in the stable assemblages are calculated and plotted. Implementation of the algorithm is coded in FORTRAN as a module for program Gibbs (Spear and Menard, 1989). Users can calculate individual AFM diagrams at any PT condition within the limits of the PT grid, and sequences of AFM diagrams along any PT path. Diagrams can be saved as PICT images for creating animations. The internally consistent thermodynamic data sets of Holland and Powell (1998) and Spear and Cheney (unpublished) are supported. The algorithm and its implementation provide a useful tool for researchers to explore the implications of a petrogenetic grid and to compare predictions of different thermodynamic data sets. Comparison of natural samples with predictions from the grid can be made if appropriate projections of the natural data into the KFMASH system are made. Results are also useful to students learning to understand petrogenetic grids and the progressive metamorphism of pelitic mineral assemblages. Keywords: AFM diagrams, petrogenetic grid, pelites, pelitic schists, thermodynamics, computing, Gibbs method, education, metamorphic petrology Copyright ©1999 by the Mineralogical Society of America 