Thermomechanical Computer Simulation of an Elastic-Viscoelasto-Porous Layered Structure