For boundary conditions combining roller boundary and enforced displacement

Dear François Bouchut

Thank you very much for your reply and your patients.
I consider employing the linear easticity (Hooke’s law).

Referring the topic you gave me , Normal boundary condition - #12 by k-matsushima-19
is this how I should do it?

Add a penalty term to prevent movement normal to the roller boundary?..

Sincereley
Ayataka