Hello,
How can I specify this functional:
M = integral( u.inv(F).xJ )* dx
u = displacement
F = deformation gradient
x = updated position vector after defromation
J = determinant of F
Currently, I have:
V = VectorElement("CG", tetrahedron, 2)
x = Coefficient( V )
u = Coefficient( V )
F = I + grad(u)
invF = inv(F)
J = det(F)
M = ( dot(u, dot(invF, x*J)) )*dx
forms = [M]
but it doesn't compile.