On the analogies in the dynamic behaviour of heated channels with boiling and supercritical fluids