Numerical model for steel bars under cyclic loading including post-elastic buckling