Elasto-plasticity of frame structure elements : modeling and simulation of rods and beams (2014)