A 3-D water/rock chemical interaction model for prediction of HDR/HWR geothermal reservoir performance