Determination of the critical residence time for the stability of uniform down-flow in a packed-bed reactor