Changeset 2897
- Timestamp:
- 01/22/10 17:08:54 (15 years ago)
- Location:
- issm/trunk/examples/IceStream
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/examples/IceStream/Stream.par
r2461 r2897 24 24 md.surface=zeros(md.numberofgrids,1); 25 25 pos=find(md.x>=0); 26 md.surface(pos)=50+4.5*sqrt(md.x(pos)); 26 md.surface(pos)=50+0.5*sqrt(md.x(pos)); 27 %md.surface(pos)=50+4.5*sqrt(md.x(pos)); 27 28 pos=find(md.x<0); 28 29 md.surface(pos)=50; … … 30 31 md.thickness=md.surface-md.bed; 31 32 33 %Add extra slope 34 pos=find(md.x>0); 35 md.bed(pos)=md.bed(pos)+500*betat*md.x(pos); 36 md.surface(pos)=md.surface(pos)+500*betat*md.x(pos); 37 32 38 disp(' creating drag'); 33 39 md.drag_type=2; %0 none 1 plastic 2 viscous 34 md.drag= 150*ones(md.numberofgrids,1); %q=1.40 md.drag=5000*ones(md.numberofgrids,1); %q=1. 35 41 in=ContourToMesh(md.elements,md.x,md.y,expread('drag.exp',1),'node',1); 36 42 md.drag(find(in))=10; … … 45 51 md.observed_temperature=(273-20)*ones(md.numberofgrids,1); 46 52 md.temperature=(273-20)*ones(md.numberofgrids,1); 53 md.pressure=md.g*md.rho_ice*(md.surface-md.z); %lithostatique 47 54 48 55 disp(' creating flow law paramter'); 49 56 md.B=5.2738*10^7*ones(md.numberofgrids,1); 50 57 in=ContourToMesh(md.elements,md.x,md.y,expread('WeakB.exp',1),'node',1); 51 md.B(find(in))=md.B(find(in))/3;58 %md.B(find(in))=md.B(find(in))/3; 52 59 md.n=3*ones(md.numberofelements,1); 53 60 … … 56 63 57 64 %Parallel options 58 md.np=6; 65 md.cluster='cosmos'; 66 md.time=60; 67 md.queue='shortq'; 68 md.np=10; 59 69 60 70 %dynamics 61 md.dt=0 .1; %1 year71 md.dt=0; %1 year 62 72 md.ndt=1; 63 73 md.artificial_diffusivity=1; -
issm/trunk/examples/IceStream/runme.m
r2461 r2897 1 cluster='astrid';2 1 3 2 md=model; 4 md=mesh(md,'DomainOutline.exp', 400);3 md=mesh(md,'DomainOutline.exp',500); 5 4 md=geography(md,'IceShelf.exp',''); 6 5 md=parameterize(md,'Stream.par'); 7 %md=extrude(md,3,1); 8 md=setelementstype(md,'macayeal','all'); 9 md.cluster=cluster; 10 md=solve(md,'analysis_type','transient'); 11 %md=solve(md,'analysis_type','diagnostic'); 6 md=extrude(md,10,1); 7 md=setelementstype(md,'pattyn','all'); 8 %md=setelementstype(md,'macayeal','all'); 9 %md=solve(md,'analysis_type','transient'); 10 md=solve(md,'analysis_type','diagnostic'); 11 %md=solve(md,'analysis_type','steadystate');
Note:
See TracChangeset
for help on using the changeset viewer.