On the sudden contact between a hot gas and a cold solid