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
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