Steam train on a curving track