A new numerical method to simulate the non-Fourier heat conduction in a single-phase medium