Inelastic behaviour of concrete beams