A Coupled Thermo-Poromechanical Analysis Of Geothermal Systems