Ignore:
Timestamp:
03/10/17 20:40:07 (8 years ago)
Author:
seroussi
Message:

NEW: changed NR test408 to coulomb friction law

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test408.py

    r21408 r21604  
    99from setflowequation import *
    1010from solve import *
     11from frictioncoulomb import frictioncoulomb
    1112
    1213md=triangle(model(),'../Exp/Square.exp',150000.)
    1314md=setmask(md,'../Exp/SquareShelf.exp','')
    1415md=parameterize(md,'../Par/SquareSheetShelf.py')
     16md.geometry.bed=md.geometry.base
     17pos=numpy.nonzero(md.mask.groundedice_levelset<0.)
     18md.geometry.bed[pos]=md.geometry.base[pos]-10
     19md.friction=frictioncoulomb()
     20md.friction.coefficient=20*np.ones(md.mesh.numberofvertices)
     21md.friction.p=1*np.ones(md.mesh.numberofvertices)
     22md.friction.q=1*np.ones(md.mesh.numberofvertices)
     23md.friction.coefficientcoulomb=0.02*np.ones(md.mesh.numberofvertices)
     24md.transient.isthermal=False
     25md.transient.isgroundingline=True
    1526md.extrude(3,1.)
    1627md=setflowequation(md,'SSA','all')
    17 md.transient.isthermal=False
    1828md.cluster=generic('name',gethostname(),'np',3)
    1929md.transient.requested_outputs=['default','GroundedArea','FloatingArea','TotalFloatingBmb','TotalGroundedBmb','TotalSmb']
Note: See TracChangeset for help on using the changeset viewer.