Closed zjwegert closed 4 years ago
You cannot use plain Vector
objects to represent stresses/strains and Matrix
objects for the constitutive tensor in Voigt notation. Use VectorValue
and TensorValue
instead.
On top of that, I do not believe that you really need to use Voig notation in practice. We already have symmetric tensors that represent stress/strain efficiently.
Hi, I've been working on implementing a 2D multi-material plane stress problem in Gridap using Voigt notation. The given stiffness matrix looks good but when adding tags to specify different materials I'm getting an error. Below is the @law functions for the bilinear form a and the definition for a.
This code should just treat the whole multi-material problem as a single material. However, it produces the following output at the line
AffineFEOperator(U, V0, t_Ω)
:No error is produced in the single material code with tags removed:
This looks like a bug.