Modeling The Nonlinear Mechanics Of Elastic And Viscoelastic Architected Materials