Text this: Numerical simulation of a heat generation in a layered material during ultrasonic wave propagation