Changeset 24943 for issm/trunk-jpl/src/m/mech/basalstress.m
- Timestamp:
- 06/01/20 10:24:28 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/m/mech/basalstress.m
r22542 r24943 18 18 uby=md.initialization.vy/md.constants.yts; 19 19 20 %compute basal drag 21 bx = - (md.constants.g*(md.materials.rho_ice*md.geometry.thickness+md.materials.rho_water*md.geometry.base)).^r.*(md.friction.coefficient).^2.*ubx.^s; 22 by = - (md.constants.g*(md.materials.rho_ice*md.geometry.thickness+md.materials.rho_water*md.geometry.base)).^r.*(md.friction.coefficient).^2.*uby.^s; 23 b = sqrt(bx.^2+by.^2); 20 %compute basal drag (S.I.) 21 alpha2=(max(md.constants.g*(md.materials.rho_ice*md.geometry.thickness+md.materials.rho_water*md.geometry.base),0).^r).*(md.friction.coefficient.^2).*(ub.^(s-1)); 22 b = alpha2.*ub; 23 bx = -alpha2.*ubx; 24 by = -alpha2.*uby; 25 26 clear alpha2 27 28 end
Note:
See TracChangeset
for help on using the changeset viewer.