EC-RAFC is a self-consistent formulation for the conservation of energy, mass and species in a magma body undergoing concurrent assimilation and fractional crystallization, with or without recharge into the magma chamber. The model tracks the system as magma cools and crystallizes while wallrock heats up and partially melts. A set of coupled non-linear differential equations describing the conservation equations are solved incrementally until magma and wallrock reach thermal equilibrium. Output provides a path-dependent view of the isotope and trace element inventory, the energy balance and material changes to the cooling-crystallizing magma body.
The program EC-RAFC provides an interactive interface in Microsoft Excel 98 and higher.
EC-RAFC is provided as freeware.