Development, implementation and application of thermo-hydro-mechanical coupling for soils in finite element analysis