Mass Balance Modelling of Magmatic Processes in GCDkit

  • Vojtěch JanoušekEmail author
  • Jean-François Moyen
Part of the Society of Earth Scientists Series book series (SESS)


The freeware Geochemical Data Toolkit 3.0 ( or, in short, GCDkit, offers a flexible environment for handling, recalculation and plotting of whole-rock geochemical data from igneous and metamorphic rocks. The current contribution demonstrates that the system can be easily expanded by the plugin modules, short yet powerful chunks of user-defined code, which can be easily and freely re-distributed. It describes their internal architecture, as well as the way how they may communicate with the core of the system and can be integrated into its Graphical User Interface (GUI). The plugins in GCDkit provide an appropriate platform for development of modules for numerical modelling of igneous processes. The presented simple plugins for direct and reverse modelling of the major-element mass balance in course of the fractional crystallization provide a sound, and potentially useful, proof of this concept.


Igneous rocks Geochemistry Fractional crystallization Partial melting Magma mixing Graphics Software R language MS Windows 



The authors are indebted to a number of people without whose work or feedback the GCDkit system would not be working, in particular Colin M. Farrow (Glasgow), Vojtěch Erban (Prague) and Jakub Trubač (Prague) as well as the whole R development team which have designed such a powerful and flexible environment. Moreover, we are thankful to Vojtěch Erban, who has provided a stimulating and insightful review of this paper. Lastly, we are grateful to a number of users, who provided invaluable feedback and motivation to our work. In particular we are thankful to organizers of GCDkit/R workshops at National Geophysical Research Institute (NGRI) in Hyderabad, India (Vysetti Balaram 2013), University of Stellenbosch, South Africa (Gary Stevens 2012) and University of Helsinki, Finland (Tapani Ramö 2011). Special thanks go to Santosh Kumar (Kumaun University, Nainital) for being the mastermind behind the Indian workshop, for having invited us to this volume and for companionship during our trip to India. This contribution has been financed by the French-Czech Program Mobility 7AMB13FR026 and Czech Science Foundation (GAČR) project P210/11/2358.


  1. Albarède F (1995) Introduction to geochemical modeling. Cambridge University Press, Cambridge, pp 1–543CrossRefGoogle Scholar
  2. Banks R (1979) The use of linear programming in the analysis of petrological mixing problems. Contrib Mineral Petrol 70:237–244CrossRefGoogle Scholar
  3. Bryan WB, Finger LW, Chayes F (1969) Estimating proportions in petrographic mixing equations by least-squares approximation. Science 163:926–927CrossRefGoogle Scholar
  4. Carr M (1995) IgPet for Windows. Terra Softa, SomersetGoogle Scholar
  5. Clarke D, Mengel F, Coish RA, Kosinowski MHF (1994) NewPet for DOS, version 94.01.07. Department of Earth Sciences, Memorial University of Newfoundland, CanadaGoogle Scholar
  6. DePaolo DJ (1981) Trace element and isotopic effects of combined wallrock assimilation and fractional crystallization. Earth Planet Sci Lett 53:189–202CrossRefGoogle Scholar
  7. Janoušek V, Bowes DR, Rogers G, Farrow CM, Jelínek E (2000) Modelling diverse processes in the petrogenesis of a composite batholith: the Central Bohemian Pluton, Central European Hercynides. J Petrol 41:511–543CrossRefGoogle Scholar
  8. Janoušek V, Farrow CM, Erban V (2003) GCDkit: new PC software for interpretation of whole-rock geochemical data from igneous rocks. Geochim Cosmochim Acta 67:186Google Scholar
  9. Janoušek V, Farrow CM, Erban V (2006) Interpretation of whole-rock geochemical data in igneous geochemistry: introducing Geochemical Data Toolkit (GCDkit). J Petrol 47:1255–1259CrossRefGoogle Scholar
  10. Janoušek V, Farrow CM, Erban V, Trubač J (2011) Brand new Geochemical Data Toolkit (GCDkit 3.0): is it worth upgrading and browsing documentation? (Yes!). Geol výzk Mor Slez 18:26–30Google Scholar
  11. Petrelli M, Poli G, Perugini D, Peccerillo A (2005) PetroGraph: a new software to visualize, model, and present geochemical data in igneous petrology. Geochem Geophys Geosyst 6. doi: 10.1029/2005GC000932
  12. Richard LR (1995) MinPet: mineralogical and petrological data processing system, version 2.02. MinPet Geological Software, QuébecGoogle Scholar
  13. Ripley B, Lapsley M (2013) RODBC, an ODBC database interface, version 1.3-2. Accessed 25 Feb 2013
  14. Stormer JC, Nicholls J (1978) XLFRAC: a program for the interactive testing of magmatic differentiation models. Comput Geosci 4:143–159CrossRefGoogle Scholar
  15. Venables WN, Smith DM, R Development Core Team (2012) An Introduction to R. Notes on R: a programming environment for data analysis and graphics. Version 2.15.2 (2012–10–26). Accessed 9 Dec 2012
  16. Wright TL, Doherty PC (1970) A linear programming and least squares computer method for solving petrologic mixing problems. Geol Soc Am Bull 81:1995–2008CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2014

Authors and Affiliations

  1. 1.Czech Geological SurveyPrague 1Czech Republic
  2. 2.Institute of Petrology and Structural GeologyCharles University in PraguePrague 2Czech Republic
  3. 3.UMR 6524Université Jean-MonnetSaint-EtienneFrance

Personalised recommendations