PhD: Simulation of Deformation and Heat Flow in Sedimentary Basins