Hello @swellsmo
md.results
is a struct so you can rename anything you want. For example, if you want to stick with mechanicalproperties
, you can do this:
md=mechanicalproperties(md, vx1, vy1);
md.results.strainrate1 = md.results.strainrate;
md=mechanicalproperties(md, vx2, vy2);
md.results.strainrate2 = md.results.strainrate;
plotmodel(md, 'data', md.results.strainrate1.effectivevalue, 'data', md.results.strainrate2.effectivevalue);
You can do the same with md.results.SB1 = md.results.StressbalanceSolution
, etc. You can request strain rates like this md.stressbalance.requested_outputs = {'default', 'StrainRatexx', 'StrainRateyy', 'StrainRatexy'};
but you will need to diagonalize the matrix yourself (although we could also add this as a requested output at some point if you would prefer).
I hope this answers your questions!
Best
Mathieu