Numerical simulation of foil acceleration by intense pulsed ion beam