A buckling model for reinforcing bars