A Mathematical Model of a Gas Kick