Text this: Computational mechanics of porous materials and their thermal decomposition :