Use the real mode
The kinetic energy density and isotropic linear-elastic energy density are
Average over one period and integrate across the layer. Since , the mean energy per unit horizontal area is
The -directed elastic-energy flux is . Its corresponding average is
Using gives
and therefore
For the displacement gradient tensor specified in the question,
while the divergence is . Hence the isotropic linear-elastic energy density is
Expanding the square and collecting terms yields