Dynamics of shallow cables with general initial shape due to mean-flow loads