This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

Hyperelasticity- Different formulation - couldn't get right ufl form

0 votes

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

asked Oct 20, 2016 by Surya FEniCS Novice (120 points)
...