Finite element analysis of periodic shells and origami tessellations