How to keep the third component of the displacement vector 0 while solving a hyperelasticity problem?

Hi @conpierce8 and @Kei_Yamamoto ,

Now I understand it. It works now.

Thank you for the detailed explanation. I really appreciate it.