A Geochemical Model of Fluids and Mineral Interactions for Deep Hydrocarbon Reservoirs