On the identification of a rigid body immersed in a fluid: A numerical approach