Ignore:
Timestamp:
05/31/19 20:08:38 (6 years ago)
Author:
Mathieu Morlighem
Message:

CHG: updated NR test

File:
1 edited

Legend:

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

    r23976 r23978  
    11%Test Name: SquareSheetHydrologyGlaDS
    2 cluster=generic('name',oshostname(),'np',1);
    32
    43%create model:
     
    1110md=setmask(md,'',''); %everywhere grounded
    1211md=setflowequation(md,'SSA','all');
     12md.stressbalance.maxiter=2; %Make sure it runs quickly...
    1313
    1414%Some constants
    1515md.constants.g=9.8;
    1616md.materials.rho_ice=910;
    17 md.materials.rho_water=1000;
    1817
    1918%Geometry
     
    3130
    3231%Materials
    33 md.materials.rheology_B    = paterson(md.initialization.temperature);
    34 md.materials.rheology_B(:) = (5e-25)^(-1/3);
    35 md.materials.rheology_n    = 3.*ones(md.mesh.numberofelements,1);
     32md.materials.rheology_B = (5e-25)^(-1/3) * ones(md.mesh.numberofvertices,1);
     33md.materials.rheology_n = 3.*ones(md.mesh.numberofelements,1);
    3634
    3735%Friction
     
    3937md.friction.p=ones(md.mesh.numberofelements,1);
    4038md.friction.q=ones(md.mesh.numberofelements,1);
    41 md.friction.coupling=0;
     39%md.friction.coupling=0;
    4240
    4341%Boundary conditions:
     
    6664md.hydrology.spcphi(pos) = md.materials.rho_ice * md.constants.g * md.geometry.thickness(pos);
    6765
    68 md.cluster=cluster;
     66md.cluster=generic('np',2);
    6967md=solve(md,'Transient'); %or 'tr'
    7068
Note: See TracChangeset for help on using the changeset viewer.