EASYGRESGRANT—A Microsoft Excel spreadsheet

1 downloads 0 Views 1MB Size Report
Available online 19 August 2011. Keywords: Mass balance ... interactive Microsoft Excel spreadsheet program that can be run on the Mac and Windows ...
Computers & Geosciences 39 (2012) 191–196

Contents lists available at SciVerse ScienceDirect

Computers & Geosciences journal homepage: www.elsevier.com/locate/cageo

Short note

EASYGRESGRANT—A Microsoft Excel spreadsheet to quantify volume changes and to perform mass-balance modeling in metasomatic systems Francisco Javier Lo´pez-Moro n Department of Geology, University of Salamanca, Plaza de Los Caı´dos, s/n, 37008 Salamanca, Spain

a r t i c l e i n f o Article history: Received 10 June 2011 Received in revised form 26 July 2011 Accepted 27 July 2011 Available online 19 August 2011 Keywords: Mass balance Clusters of slopes and volume factors Isocon diagram Composition-volume diagrams Component-ratio diagram

1. Introduction Gresens’ initial ideas about the mobility/immobility of elements and the gains and losses of material in hydrothermal systems, together with the subsequent isocon method proposed by Grant, have led to the development of a considerable number of mass-balance computer programs for application to metasomatic systems (e.g., Leitch and Day, 1990; Potdevin, 1993; Sturm, 2003; Coelho, 2006). Nevertheless, some of them (NEWGRES or Gresens 92) do not work properly on today’s computers or only work on the Windows platform (SHEARCAL or Geoiso). To date, all mass-balance programs have other problems: (1) graphical plots, such as Grant’s isocon diagram or Gresens’ composition-volume diagram, are not useful tools in order to find immobile elements when a large data set is being handled, since the large number of lines or symbols represented hinders visualization and the distinction of the elements themselves; (2) the method of arbitrary scaling of compositional data proposed to mitigate this problem in the isocon diagram (Grant, 1986) has recently been reported to be inadequate, since scaling influences the best-fit isocon, yielding errors in the mass-balance calculations (Mukherjee and Gupta, 2008). This short note presents EASYGRESGRANT, a new user-friendly interactive Microsoft Excel spreadsheet program that can be run on the Mac and Windows platforms and that permits correct

n

Fax: þ34 923 294514. E-mail address: [email protected]

0098-3004/$ - see front matter & 2011 Elsevier Ltd. All rights reserved. doi:10.1016/j.cageo.2011.07.014

selection of immobile elements from clusters of slopes, volume factors, and an improved isocon diagram, providing an error-free mass-balance modeling for application in metasomatic systems.

2. Mass-balance applied to hydrothermal systems: a theoretical overview The absolute mobility of a component i in a natural system was quantified by Gresens (1967) according to the formula

Dmi ¼ fvðra =r0 ÞCai C0i ,

ð1Þ

where 0 and a represent the original and the altered rock, respectively, and r0 and ra represent densities; Dmi is the mass change in component i, Cai and C0i are the initial and final concentrations in component i, respectively, and fv is the volume factor or ratio of the final volume to the initial volume. Knowledge of either the geochemical behavior of one element or the fv permits the mass balance of this element to be obtained. In practice, there may sometimes be no sound textural or field evidence for assuming a value for either fv or Dmi. Hence, Gresens (1967) proposed to plot gains and losses as a function of arbitrary volume factors in composition-volume diagrams. By using these diagrams, it is possible to choose a value for fv where the curves for several elements (i.e., immobiles) simultaneously cross the gain-loss zero line. This fv is the reference frame that is used to estimate the gains and losses of the rest of elements using Eq. (1). Potdevin (1993) proposed another composition-volume diagram where the gains and losses of elements are plotted with

192

´pez-Moro / Computers & Geosciences 39 (2012) 191–196 F.J. Lo

respect to their initial contents. Similar to Gresens’ method, the mass balance is carried out by choosing an fv from lines that cross the gain-loss zero line. A simpler graphical method for the solution of Gresens’ equations was proposed by Grant (1986), who rearranged these equations into a linear relationship (the so-called isocon equation) between the concentration of a component in the altered

rock and that of the original. The isocon equation is Ca ¼ ðm0 =ma ÞC0 ,

ð2Þ

where m0 is the reference mass of the original sample, and ma is the mass of the altered sample. In Eq. (2) it is necessary to know the mass change ðm0 =ma Þ, which can be calculated graphically by representing the

Fig. 1. Structure and flowchart of the EASYGRESGRANT program.

Table 1 Description of worksheets and main userforms included in EASYGRESGRANT. Name of sheet (S)/userform (U)

Description of the most relevant features

Home (S)

It is the main worksheet. It is automatically activated after starting the program. Navigation in the workbook can be achieved from here and the main modules of the program can be launched. Samples and reference frames to model can be selected.

Unaltered samples (S)

Spreadsheet where major and trace elements (up to 59) of unaltered samples (up to 52) are input. No numerical data can be deleted automatically.

Altered samples (S)

Spreadsheet where major and trace elements (up to 59) of altered samples (up to 52) are input. No numerical data can be deleted automatically.

Isocon graph (S)

In this spreadsheet the Ca  C0 diagram shows the isocon, constant volume, or constant mass lines. Major, trace, or a customized selection of elements can be plotted and any element can be temporarily removed from the diagram. Samples and immobile elements to be modeled can be selected/changed. The axis scale of the plot can be modified and the plot can be split into four diagrams at different scales. A regression method is applied to constrain the fit of the isocon.

Mass-balance numresults (S)

Spreadsheet where mass-balance modeling and changes in mass and volume, where appropriate, obtained from the isocon, clusters of slopes, or volume factors are shown numerically in a table format.

Mass-balance graphresults (S)

Spreadsheet where mass-balance modeling obtained from the isocon, clusters of slopes, or volume factors are shown graphically in four diagrams. Changes in mass and volume are displayed numerically where appropriate.

Composition-volume diagrams (S)

In this sheet, Gresens’ and Potdevin’s composition-volume diagrams are plotted to check the selection of immobile elements performed in the cluster of volume factors. Samples, immobile elements, and axis scales can be modified.

Component-ratio diagram (S)

In this sheet the component-ratio diagram is plotted. The samples and component ratios to be plotted can be selected.

Cluster of slopes (U)

In this userform, the user selects elements with very close slope values in a cluster of ordered slope values in order to perform the mass-balance modeling. The selection can be checked by means of a least-squares regression method.

Cluster of volume factors (U)

Userform where the user selects elements with very close volume factor values in a cluster of ordered volume factors in order to carry out the mass-balance modeling. The user can check the selection in composition-volume diagrams.

Pasted values (S)

Spreadsheet where a compilation of cluster of slopes or volume factors is shown.

´pez-Moro / Computers & Geosciences 39 (2012) 191–196 F.J. Lo

concentrations in the altered rock against those in the original and connecting, by means of a straight line through the origin (isocon), the components that show no relative gain or loss of mass (immobile elements). The slope of the isocon line defines the mass change in the alteration, whereas the deviation of a data point from this line represents the concentration change for the corresponding component. The most useful measure of gain or loss is the change in the concentration of a component ðDCai Þ relative to its

193

concentration prior to alteration, leading to the following equation (Grant, 1986): ðDCai =C0i Þ ¼ ðma =m0 ÞðCai =C0i Þ1:

ð3Þ

Thus, the mass change of one component is readily obtained by estimating the best-fit isocon, calculating the inverse of the slope and applying Eq. (3).

Fig. 2. Main worksheets of the program: (a) home sheet, (b) input data sheet (unaltered samples), (c) component-ratio diagram, (d) isocon diagram, (e) compositionvolume diagrams, (f) mass-balance numerical results, and (g) mass-balance graphical results.

´pez-Moro / Computers & Geosciences 39 (2012) 191–196 F.J. Lo

194

When only one element is considered to be immobile, the equation applied to estimate mass change is as follows: ðDCai =C0i Þ ¼ ðCaAl2 O3 =C0Al2 O3 ÞðCai =C0i Þ1:

ð4Þ

Similarly, constant mass or constant volume may be assumed to be the reference frame to carry out the mass-balance calculations using, respectively (Grant, 1986), ðDCai =C0i Þ ¼ ðCai =C0i Þ1,

ð5Þ

ðDCai =C0i Þ ¼ ðra =r0 ÞðCai =C0i Þ1:

ð6Þ

3. Program structure The schematic presentation of the EASYGRESGRANT program is given in Fig. 1; a concise description of all worksheets and main userforms is given in Table 1, and the appearance of the worksheets is illustrated in Fig. 2. Further details can be found in the program user manual. 4. Immobile elements as a reference frame for mass-balance modeling Although some metasomatic processes can sometimes be considered to take place at constant volume or constant mass,

often there is no evidence to justify such assumptions, and the immobility of one or some elements must be used as a reference frame for mass-balance modeling. Establishing the immobile element(s) is not always easy. Although several methods have been proposed, all of them can be used in EASYGRESGRANT: (i) Clusters of slopes and volume factors. This method consists of estimating the slopes and the volume factors for all the elements considered (Grant, 2005; Mukherjee and Gupta, 2008). Clusters of elements with close slope or volume factor values are selected as immobile elements (Fig. 3). The average of these parameters would represent the reference frame for mass-balance computation. Owing to its simplicity and reliability, it is the method suggested for selecting immobile elements. Nevertheless, the computation of the average of these parameters provides no information about the uncertainties due to the selection of elements. To establish them, either statistical approaches or specific plots mentioned above have been used. (ii) Composition-volume diagrams. These diagrams are not clear when a large data set must be handled. Currently, the excessive number of plotted lines hampers the display of the point where lines representing elements with a similar geochemical behavior intersect (Fig. 4a). In EASYGRESGRANT this problem has been solved by only plotting the immobile elements selected

Fig. 3. Clusters of slopes (a) and volume factors (b).

Absolute mobility (Δmi) (%)

S

La

P

Zr

Rb

2.0 Hf

1.5 1.0

As

0.5

Gd

K Ho

0.0 -0.5 -1.0

Nd

-1.5 -2

Th Cs

0

1

Volume factor (Fv)

2

Absolute mobility (Δmi) (%)

Mg

2.0

1.5 1.0

Dy

0.5

Er Ho

0.0 -0.5 -1.0 -1.5 -2 0

1

2

Volume factor (Fv)

Fig. 4. Composition-volume diagrams involving a large data set (a) and restricted to immobile elements selected from sorted volume factors (b).

´pez-Moro / Computers & Geosciences 39 (2012) 191–196 F.J. Lo

6

Y CM

CV

5

Cf (Altered sample)

195

4 Tl

3 K2O Ta

2

Ge

Isocon Nd

Dy

1

Er S

0

Tb

0

Gd Sm Fe2O3

1

La Th

2

3

4

5

6

C0 (Unaltered sample) Fig. 5. (a) Isocon diagram at different scales to avoid the stacking of elements and (b) main isocon diagram showing the modules that the program can run and the isocon features, including the best-fit isocon using the least-squares regression method. Note that the data set has not been recalculated to make an error-free reference frame.

of immobile elements is carried out by a classical leastsquares regression method (Fig. 5b). (iv) The component-ratio diagram. This diagram plots the ratio of elements of altered and unaltered rocks. Immobile elements appear immediately next to the 1:1 ratio line, whereas mobile elements are plotted away from the line (Fig. 6).

5. Conclusions

Fig. 6. Component-ratio diagram including the 1:1 ratio line as reference to assess the goodness of the results.

previously by means of the clusters of volume factors (Fig. 4b). Thus, here composition-volume diagrams are methods to verify the previous selection of immobile elements. (iii) The isocon diagram or Ca  C0 diagram. Similar to composition-volume diagrams this diagram can also be used to check the selection of immobile elements previously performed in the userform clusters of slopes. However, since the Ca C0 diagram obtained with EASYGRESGRANT plots elements without scaling concentrations and the subsequent stacking of elements is eliminated (e.g., plotting diagrams at different scales, scaling axes, and temporarily removing some elements, Fig. 5a), this diagram can be also used to make the selection of immobile elements. Verification of the selection

EAYGRESGRANT is an Excel worksheet that can be run on the Mac and PC platforms and is based on the Gresens and Grant methods for studying metasomatic systems. The program performs mass-balance calculations considering all possible reference frames: immobile elements, constant volume, and constant mass. The use of clusters of slopes or volume factors to select immobile elements represents an important advantage over classic graphical methods. The averages of the slopes and volume factors offer a reliable reference frame to perform mass-balance calculations. Moreover, the slight modifications made to the Ca  C0 diagram in EASYGRESGRANT would also allow an errorfree mass-balance modeling to be made.

Acknowledgments The author thanks Nicholas Skinner, Alexander Hutton, and Jose´ Herna´ndez for revising the English. The author thanks two anonymous reviewers for fruitful comments that helped to improve the manuscript and Jef Caers for editorial handling.

196

´pez-Moro / Computers & Geosciences 39 (2012) 191–196 F.J. Lo

Appendix A. Supporting information Supplementary data associated with this article can be found in the online version at doi:10.1016/j.cageo.2011.07.014.

References Coelho, J., 2006. GEOISO—a WindowsTM program to calculate and plot mass balances and volume changes occurring in a wide variety of geologic processes. Computers and Geosciences 32, 1523–1528. Grant, J.A., 1986. The isocon diagram—a simple solution to Gresens’ equation for metasomatic alteration. Economic Geology 81, 1976–1982.

Grant, J.A., 2005. Isocon analysis: a brief review of the method and applications. Physics and Chemistry of the Earth 30, 997–1004. Gresens, R.L., 1967. Composition-volume relationships of metasomatism. Chemical Geology 2, 47–65. Leitch, C.H.B., Day, S.J., 1990. NEWGRES: a Turbo Pascal program to solve a modified version of Gresens’ hydrothermal alteration equation. Computers and Geosciences 16, 925–932. Mukherjee, P.K., Gupta, P.K., 2008. Arbitrary scaling in ISOCON method of geochemical mass balance: an evaluation of the graphical approach. Geochemical Journal 42, 247–253. Potdevin, J.L., 1993. Gresens 92: a simple Macintosh program of the Gresens method. Computers and Geosciences 19, 1229–1238. Sturm, R., 2003. SHEARCALC—a computer program for the calculation of volume change and mass transfer in a ductile shear zone. Computers and Geosciences 29, 961–969.