I think I am working out what could be wrong, it seems like the mean in Tim Laska's code is not correct. I guess the idea of this is to calculate the middle of the elements and then calculate everything there. but it seems to be averaging the x with y in each coordinate and not x1 with x 2 .. maybe I am getting there. If it truly is a bug I will comment Tim's code
To answer your question the mesh is not very nice, but I wanted to start with small poor resolution images before I go to high res stuff. This means that everything will be rough and poorly represented
I see, the image changed its size upon being uploaded, I had a strange format which came from a CT scan so think something went wrong there. will check
@Alex Trounev Thanks, I must have missed that, could be that it is already there in the other question . Could be that I should delete the question as it gets close to a duplicate then..
Ah, think I have worked it out now. I was getting completely confused by the Voigt notation and forgetting that we are dealing with tensor multiplication. If I understand right, each of the three x three matrices is one of the "submatrices" of the full elasticity tensor.
Each of these terms consists of different 3x3 matrices (which are all sub-matrices of the elasticity matrix), multiplied by the gradients in the displacements (u,v,w). My question is how are these sub-matrices created?
The thing that I don't quite get is how one goes about creating this operator. I see now in 13.0 with the new solid mechanics package it is already there, but say if I wanted to create my own version of an operator, how do I go about doing this