I want to evaluate the following surface integral in fenics (as a part of variational formulation):
$$\int_{\partial V} \mathbf{T} : (\mathbf{u} \otimes \mathbf{n}) d S$$
where $\mathbf{u}$ is a vector field and $\mathbf{n}$ denotes the outward pointing normal vector on the boundary.
My sample code is:
n = FacetNormal(mesh)
L = inner(T, outer(u, n))*ds
Is this correct?
Thanks