Apply a normal or tangential force on a surface

You can use the ufl.FacetNormal of mesh to create normal stresses, and similarly use a tangent projection of the normal to get a tangent vector, see Tangential gradient operator error: invalid ranks 1 and 1 in product - #2 by dokken