Simple mechanical model of curved beams by a 3D approach