Ignore:
Timestamp:
08/25/11 15:11:19 (14 years ago)
Author:
Mathieu Morlighem
Message:

removed many fields

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/m/model/mechanicalproperties.m

    r8298 r9423  
    44%   this routine computes the components of the stress tensor
    55%   strain rate tensor and their respective principal directions.
    6 %   the results are in the model md: md.stress and md.strainrate
     6%   the results are in the model md: md.results
    77%
    88%   Usage:
     
    9494stress.principalaxis1=directionsstress(:,3:4);
    9595stress.effectivevalue=1/sqrt(2)*sqrt(stress.xx.^2+stress.yy.^2+2*stress.xy.^2);
    96 md.stress=stress;
     96md.results.stress=stress;
    9797
    9898strainrate=struct('xx',[],'yy',[],'xy',[],'principalvalue1',[],'principalaxis1',[],'principalvalue2',[],'principalaxis2',[],'effectivevalue',[]);
     
    105105strainrate.principalaxis1=directionsstrain(:,3:4);
    106106strainrate.effectivevalue=1/sqrt(2)*sqrt(strainrate.xx.^2+strainrate.yy.^2+2*strainrate.xy.^2);
    107 md.strainrate=strainrate;
     107md.results.strainrate=strainrate;
    108108
    109109deviatoricstress=struct('xx',[],'yy',[],'xy',[],'principalvalue1',[],'principalaxis1',[],'principalvalue2',[],'principalaxis2',[],'effectivevalue',[]);
     
    116116deviatoricstress.principalaxis1=directionsstress(:,3:4);
    117117deviatoricstress.effectivevalue=1/sqrt(2)*sqrt(stress.xx.^2+stress.yy.^2+2*stress.xy.^2);
    118 md.deviatoricstress=deviatoricstress;
     118md.results.deviatoricstress=deviatoricstress;
Note: See TracChangeset for help on using the changeset viewer.