Changeset 19707


Ignore:
Timestamp:
11/12/15 06:47:59 (9 years ago)
Author:
cborstad
Message:

NEW: python implementation of Coulomb limit friction class and MISMIP+ basal melt parameterization class

Location:
issm/trunk-jpl/src/m/classes
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/classes/friction.py

    r19048 r19707  
    1010
    1111           Usage:
    12               friction=friction();
     12              friction=friction()
    1313        """
    1414
  • issm/trunk-jpl/src/m/classes/frictioncoulomb.m

    r19479 r19707  
    4848                end % }}}
    4949                function disp(self) % {{{
    50                         disp(sprintf('Basal shear stress parameters: Sigma_b = min( coefficient^2 * Neff ^r * |u_b|^(s-1) * u_b\n, coefficientcoulomb^2 * rho_i * g * (h-h_f) (effective stress Neff=rho_ice*g*thickness+rho_water*g*bed, r=q/p and s=1/p, floatation thickness h_f=max(0,-rho_fw / rho_i * bed))'));
    51                         fielddisplay(self,'coefficient','friction coefficient [SI]');
    52                         fielddisplay(self,'coefficientcoulomb','coulomb friction coefficient [SI]');
     50                        disp(sprintf('Basal shear stress parameters: Sigma_b = min( coefficient^2 * Neff ^r * |u_b|^(s-1) * u_b\n, coefficientcoulomb^2 * rho_i * g * (h-h_f)) (effective stress Neff=rho_ice*g*thickness+rho_water*g*bed, r=q/p and s=1/p, floatation thickness h_f=max(0,-rho_sw / rho_i * bed))'));
     51                        fielddisplay(self,'coefficient','power law (Weertman) friction coefficient [SI]');
     52                        fielddisplay(self,'coefficientcoulomb','Coulomb friction coefficient [SI]');
    5353                        fielddisplay(self,'p','p exponent');
    5454                        fielddisplay(self,'q','q exponent');
    5555                end % }}}
    5656                function marshall(self,md,fid) % {{{
    57                         yts=365.0*24.0*3600.0;
    5857
    5958                        WriteData(fid,'enum',FrictionLawEnum,'data',7,'format','Integer');
  • issm/trunk-jpl/src/m/classes/mismipbasalforcings.m

    r19481 r19707  
    7272                end % }}}
    7373                function disp(self) % {{{
    74                         disp(sprintf('   mismip basal forcings parameters:'));
     74                        disp(sprintf('   MISMIP+ basal melt parameterization:'));
    7575
    7676                        fielddisplay(self,'groundedice_melting_rate','basal melting rate (positive if melting) [m/yr]');
  • issm/trunk-jpl/src/m/classes/timestepping.py

    r18000 r19707  
    6666        def marshall(self,md,fid):    # {{{
    6767
    68                 yts=365.0*24.0*3600.0
     68                yts=md.constants.yts
    6969
    7070                WriteData(fid,'object',self,'fieldname','start_time','format','Double','scale',yts)
Note: See TracChangeset for help on using the changeset viewer.