Computational Analysis and Design of Smart Periodic Beams