Not sure exactly what you mean, but from what I can see:
In your first picture, there is a contact between the red and grey block (that is the appropriate boundary condition).
Once you load the red block on top, with the contacts (e.g., frictional) assigned (and some support/fixed, for the gray part so it does not move freely), you will be able to see stresses along different directions (say SXX or SYY,...).
Hope this helps.