I'm trying to imput and solve these equations in ufl form
$$ f^{int}_{iI} = \int_\Omega \frac{\partial N_I}{\partial X_j} P_{ji} d\Omega ; $$
$$ f^{ext}_{I} = \int_{\Gamma^0_{t_i}} N_I e_i \cdot t^0_i d\Gamma_o ; $$
$$ f^{int}_{iI} = f^{ext}_{I} $$
my attempt is
feq = u.dx * pk2.T * dx - u * traction_force * ds
Error:
TypeError: unsupported operand type(s) for *: 'instancemethod' and 'Transposed'
Thanks