Modelling geological processes in the Solar System: movement of a rigid solid within a multiphase fluid