Title: Computational Mechanics of Porous Materials and Their Thermal Decomposition