Simulation of the solar wind interaction with non-magnetic celestial bodies