Modeling beam-like planar structures by a one-dimensional continuum: an analytical-numerical method