This question is asked from the viewpoint of continuum mechanics, its integral laws, and jump conditions.
Consider an object with a flat bottom, say a cubic block of concrete, moving with friction on a horizontal floor. We use a coordinate system where the floor is at rest. Let's say the constant, horizontal velocity of the block is $\pmb{v}$. There is friction, that is, a shear stress $\pmb{\tau}$ between the block and the floor, representing a flow of momentum between the two.
Take the imaginary horizontal control surface that separates the block and the floor. The surface normal is $\pmb{n}$.
Now, in situations where the velocities of the bodies or of the surface are orthogonal to the surface normal, and there are no discontinuities in velocity – so not our present case –, the energy flux through the surface can be written as
$$Q + \pmb{n}\cdot \pmb{\tau}\cdot \pmb{u}$$
where $Q$ is the heat flux and $\pmb{u}$ is the velocity of the body; the second term in the sum is simply the mechanical power transmitted through the surface. This formula applies for example to an imaginary surface along the (laminar) flow of some fluid, and gives the exchange of energy between the fluid above and below the surface owing to viscosity and to possible temperature gradients.
It seems that the formula above cannot be used in the case of the block moving on the floor, because of the discontinuity of the velocity – the block is moving, the floor is not.
So there surely are some jump conditions involved here. Can anyone give insights and literature references about them?
Cheers!