Dear all,
In my case, I have an integral like \int_{\Omega} A\cdot B \cdot C ~\mathrm{d}V, where A is a 2D vector, B is a second-order tensor, and C is a 2D vector as well. Now I need to figure out how to write this integral correctly in Fenics. I have two options, as shown below, but I don’t know which is correct:
variational_form = ( dot(dot(A, B), C) )*dx
#or
variational_form = ( dot(dot(B, A), C) )*dx
Does anyone know which one is correct? I appreciate any help. Thanks very much in advance.