Modeling of rigid-body-fluid interaction coupled with phase transformation processes