A general thermal stratification criterion for single and two-phase flows in a pipe after subcooled injection. (April 2018)