Thermo-hydro-mechanical modelling