I always wondered why continuous welded rail doesn't have these problems.
It does. You must have been misinformed. It's much more vulnerable to track buckling than jointed rail.
Three factors can limit vulnerability:
- A generous amount of good quality, clean ballast and wide shoulders (one or more feet of level ballast outside the edge of the ties before the slope begins).
- Installing Continuous Welded Rail at the proper atmospheric and rail temperature.
- Reducing the maximum speed of trains when ambient temperatures are very high.*
Jointed rail can absorb a little more expansion and contraction than welded rail can, although it also requires the same ballast standard as CWR. If a piece of CWR requires replacement and temperatures are not within the proper range, then MofW will cut out the defective section and insert a new one with bolts and angle bars. Later, when temperatures permit, the bolts and bars will be removed and a thermite field weld will be done.
During periods of high temperature, visual on-track inspection by a qualified Maintenance of Way employee in a track car or Hy-Rail is essential. The frequency depends on the traffic level, but will be at least once per day. A Track Inspector who knows his territory can spot trouble before it results in buckled track. He knows the best and worst spots on his territory. There is always at least a slight amount of risk, but it can be prudently managed so as to be very slight.
* In some territories where high temperatures are likely to occur, defect detectors broadcast the ambient temperature in addition to other information, and the railroad's Special Instructions instruct crews to adhere to specific speed reductions based on temperature and type of train.