Analytical solutions for transient temperature distribution in a geothermal reservoir due to cold water injection