A scheme of generating energetic ions by the interaction of an ultrahigh-intensity laser pulse and a thin solid foil is studied. The combination of the effects of radiation pressure and Coulomb explosion makes the ion acceleration more effective. The maximum ion velocity variation with time is predicted theoretically while the temporal evolution of the electrostatic field due to the Coulomb explosion is taken into consideration. Two-dimensional particle-in-cell simulations are done to verify the theory.