Using a reversed time numerical method based on characteristics, the isentropic compression flow is computed whose initial and final states are uniform and at rest. In such a flow all the mechanical energy supplied is used to compress the fluid isentropically to a given compression ratio. The numerical method does not exhibit any shock formation. The results show that the maximum mechanical power required to implode a solid pellet is lower than for the previously available isentropic flow.