Computer simulations of particle flux and energy peaking