Finite element formulation of a homogenized beam for reticulated structure dynamics