simulation body separated into a function
time convergence analysis