In the new coming Tensors.jl release has an updated tovoight method, which takes the order as an input argument.
See the problem here:
|
# now reorder from voigt 11, 22, 33, 23, 13, 12 -> 11, 22, 33, 12, 13, 23 |
|
# and use Mandel notation (scaling with sqrt(2.0)) |
|
# https://en.wikipedia.org/wiki/Voigt_notation#Mandel_notation |
|
mfront_dstrain = tovoigt(frommandel(SymmetricTensor{2, 3}, [dstrain[1], dstrain[2], dstrain[3], dstrain[6], dstrain[5], dstrain[4]])) |
And the solution here:
Ferrite-FEM/Tensors.jl#124
In the new coming
Tensors.jlrelease has an updatedtovoightmethod, which takes the order as an input argument.See the problem here:
MFrontInterface.jl/src/mfront_material.jl
Lines 67 to 70 in 44ce243
And the solution here:
Ferrite-FEM/Tensors.jl#124