Changeset 6042


Ignore:
Timestamp:
09/26/10 20:52:18 (15 years ago)
Author:
Eric.Larour
Message:

fixed basal stress, was getting old

File:
1 edited

Legend:

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

    r2417 r6042  
    99
    1010%compute exponents
    11 s=averaging(md,1./md.p,0);
    12 r=averaging(md,md.p./md.q,0);
     11s=averaging(md,1./md.drag_p,0);
     12r=averaging(md,md.drag_p./md.drag_q,0);
    1313
    1414%compute horizontal velocity
     
    1818
    1919%compute basal drag
    20 bx=(md.g*(md.rho_ice*md.thickness+md.rho_water*md.bed)).^r.*(md.drag).^2.*ubx.^s;
    21 by=(md.g*(md.rho_ice*md.thickness+md.rho_water*md.bed)).^r.*(md.drag).^2.*uby.^s;
    22 b=(md.g*(md.rho_ice*md.thickness+md.rho_water*md.bed)).^r.*(md.drag).^2.*ub.^s;
     20bx=(md.g*(md.rho_ice*md.thickness+md.rho_water*md.bed)).^r.*(md.drag_coefficient).^2.*ubx.^s;
     21by=(md.g*(md.rho_ice*md.thickness+md.rho_water*md.bed)).^r.*(md.drag_coefficient).^2.*uby.^s;
     22b=(md.g*(md.rho_ice*md.thickness+md.rho_water*md.bed)).^r.*(md.drag_coefficient).^2.*ub.^s;
Note: See TracChangeset for help on using the changeset viewer.