Changeset 7026
- Timestamp:
- 01/11/11 16:35:47 (14 years ago)
- Location:
- issm/trunk/examples/SquareIceShelf
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/examples/SquareIceShelf/README
r815 r7026 4 4 md=parameterize(md,'Square.par'); 5 5 md=setelementstype(md,'macayeal','all'); 6 md=solve(md,'analysis_type','diagnostic','package','ice'); 7 plotmodel(md,'data',md.results.diagnostic.vel); 6 md=solve(md,'analysis_type',DiagnosticSolutionEnum); -
issm/trunk/examples/SquareIceShelf/Square.par
r438 r7026 1 1 %Start defining model parameters here 2 3 %dynamics4 md.dt=1*md.yts; %1 year5 md.ndt=md.dt*10;6 md.artificial_diffusivity=1;7 2 8 3 disp(' creating thickness'); … … 17 12 disp(' creating drag'); 18 13 md.drag_type=2; %0 none 1 plastic 2 viscous 19 md.drag=200*ones(md.numberofgrids,1); %q=1.20 %Take care of iceshelves: no basal drag21 14 pos=find(md.elementoniceshelf); 22 md.drag (md.elements(pos,:))=0;23 md. p=ones(md.numberofelements,1);24 md. q=ones(md.numberofelements,1);25 md. viscosity_overshoot=0.3;15 md.drag_coefficient=200*ones(md.numberofgrids,1); %q=1. 16 md.drag_coefficient(md.elements(pos,:))=0; 17 md.drag_p=ones(md.numberofelements,1); 18 md.drag_q=ones(md.numberofelements,1); 26 19 27 20 disp(' creating temperature'); … … 29 22 30 23 disp(' creating flow law paramter'); 31 md. B=paterson(md.observed_temperature);32 md. n=3*ones(md.numberofelements,1);24 md.rheology_B=paterson(md.observed_temperature); 25 md.rheology_n=3*ones(md.numberofelements,1); 33 26 34 %Deal with boundary conditions: 27 disp(' creating boundary conditions'); 35 28 md=SetIceShelfBC(md,'Front.exp'); 36 37 %Parallel options38 md.np=3;39 md.time=50;40 md.waitonlock=1;
Note:
See TracChangeset
for help on using the changeset viewer.