I would suggest projecting the stresses into a compatible function space, similar to Obtain velocity normal to boundary - #2 by dokken
Normal vector of just one of the boundaries - #4 by dokken
I would suggest projecting the stresses into a compatible function space, similar to Obtain velocity normal to boundary - #2 by dokken
Normal vector of just one of the boundaries - #4 by dokken