Changeset 21604


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

NEW: changed NR test408 to coulomb friction law

Location:
issm/trunk-jpl/test
Files:
3 edited

Legend:

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

    r21056 r21604  
    33md=setmask(md,'../Exp/SquareShelf.exp','');
    44md=parameterize(md,'../Par/SquareSheetShelf.par');
     5md.geometry.bed=md.geometry.base;
     6pos=find(md.mask.groundedice_levelset<0);
     7md.geometry.bed(pos)=md.geometry.base(pos)-10;
     8md.friction=frictioncoulomb();
     9md.friction.coefficient=20.*ones(md.mesh.numberofvertices,1);
     10md.friction.p=ones(md.mesh.numberofelements,1);
     11md.friction.q=ones(md.mesh.numberofelements,1);
     12md.friction.coefficientcoulomb=0.02*ones(md.mesh.numberofvertices,1);
    513md=extrude(md,3,1);
    614md.transient.isthermal=0;
     15md.transient.isgroundingline=1;
    716md=setflowequation(md,'SSA','all');
    817md.cluster=generic('name',oshostname(),'np',3);
  • 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.