Changeset 12918
- Timestamp:
- 08/06/12 17:35:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/branches/trunk-jpl-damage/src/m/model/mechanicalproperties.m ¶
r11462 r12918 3 3 % 4 4 % this routine computes the components of the stress tensor 5 % strain rate tensor and their respective principal directions.5 % strain rate tensor (1/a) and their respective principal directions. 6 6 % the results are in the model md: md.results 7 7 % … … 99 99 100 100 strainrate=struct('xx',[],'yy',[],'xy',[],'principalvalue1',[],'principalaxis1',[],'principalvalue2',[],'principalaxis2',[],'effectivevalue',[]); 101 strainrate.xx=ux ;102 strainrate.yy=vy ;103 strainrate.xy=uyvx ;101 strainrate.xx=ux*(365.25*24*3600); %strain rate in 1/a instead of 1/s 102 strainrate.yy=vy*(365.25*24*3600); %strain rate in 1/a instead of 1/s 103 strainrate.xy=uyvx*(365.25*24*3600); %strain rate in 1/a instead of 1/s 104 104 strainrate.principalvalue2=valuesstrain(:,1)*(365.25*24*3600); %strain rate in 1/a instead of 1/s 105 105 strainrate.principalaxis2=directionsstrain(:,1:2);
Note:
See TracChangeset
for help on using the changeset viewer.