A one-dimensional transient calculation method for flow instability of supercritical hydrocarbon in cooling channels