Modeling of thermally driven hydrological processes in partially saturated fractured rock