Rapidly dissolving dense bodies in an inviscid fluid