Viscoplastic flow of functional cellular materials with use of peridynamics