Changeset 23978 for issm/trunk-jpl/test/NightlyRun/test355.m
- Timestamp:
- 05/31/19 20:08:38 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test355.m
r23976 r23978 1 1 %Test Name: SquareSheetHydrologyGlaDS 2 cluster=generic('name',oshostname(),'np',1);3 2 4 3 %create model: … … 11 10 md=setmask(md,'',''); %everywhere grounded 12 11 md=setflowequation(md,'SSA','all'); 12 md.stressbalance.maxiter=2; %Make sure it runs quickly... 13 13 14 14 %Some constants 15 15 md.constants.g=9.8; 16 16 md.materials.rho_ice=910; 17 md.materials.rho_water=1000;18 17 19 18 %Geometry … … 31 30 32 31 %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); 32 md.materials.rheology_B = (5e-25)^(-1/3) * ones(md.mesh.numberofvertices,1); 33 md.materials.rheology_n = 3.*ones(md.mesh.numberofelements,1); 36 34 37 35 %Friction … … 39 37 md.friction.p=ones(md.mesh.numberofelements,1); 40 38 md.friction.q=ones(md.mesh.numberofelements,1); 41 md.friction.coupling=0;39 %md.friction.coupling=0; 42 40 43 41 %Boundary conditions: … … 66 64 md.hydrology.spcphi(pos) = md.materials.rho_ice * md.constants.g * md.geometry.thickness(pos); 67 65 68 md.cluster= cluster;66 md.cluster=generic('np',2); 69 67 md=solve(md,'Transient'); %or 'tr' 70 68
Note:
See TracChangeset
for help on using the changeset viewer.