SMS: Geochemical evolution of groundwater