source:
issm/oecreview/Archive/20545-21336/ISSM-20751-20752.diff@
21337
Last change on this file since 21337 was 21337, checked in by , 8 years ago | |
---|---|
File size: 2.3 KB |
-
../trunk-jpl/examples/MeltingSensitivity/runme.m
1 step=[ 1];1 step=[4]; 2 2 3 3 if step==1 %Transient Run #1 4 4 5 md = loadmodel('. /Models/PIG.Control_drag');5 md = loadmodel('../Pig/Models/PIG.Control_drag'); 6 6 7 7 md.inversion.iscontrol=0; 8 8 md.transient.ismasstransport=1; … … 11 11 md.transient.ismovingfront=0; 12 12 md.transient.isthermal=0; 13 13 14 pos=find(md.mask.groundedice_levelset<0); 14 15 md.basalforcings.groundedice_melting_rate=zeros(md.mesh.numberofvertices,1); 15 md.basalforcings.floatingice_melting_rate= 30*ones(md.mesh.numberofvertices,1);16 md.basalforcings.floatingice_melting_rate=25*ones(md.mesh.numberofvertices,1); 16 17 17 18 md.timestepping.time_step=0.1; 18 19 md.timestepping.final_time=10; … … 43 44 md = loadmodel('./Models/PIG.Transient'); 44 45 45 46 md.basalforcings.groundedice_melting_rate=zeros(md.mesh.numberofvertices,1); 46 md.basalforcings.floatingice_melting_rate= 30*ones(md.mesh.numberofvertices,1);47 md.basalforcings.floatingice_melting_rate=25*ones(md.mesh.numberofvertices,1); 47 48 48 md.smb.mass_balance= 2*md.smb.mass_balance;49 md.smb.mass_balance=0*md.smb.mass_balance; 49 50 50 51 md.timestepping.time_step=0.1; 51 52 md.timestepping.final_time=10; … … 60 61 if step==4 %Ice Front retreat 61 62 md = loadmodel('./Models/PIG.Transient'); 62 63 63 md.basalforcings.groundedice_melting_rate=zeros(md.mesh.numberofvertices,1); 64 md.basalforcings.floatingice_melting_rate=30*ones(md.mesh.numberofvertices,1); 64 md2=extract(md,'FrontRetreat.exp'); 65 65 66 md.timestepping.time_step=0.1; 67 md.timestepping.final_time=10; 68 md.transient.requested_outputs={'default','IceVolume','IceVolumeAboveFloatation'} 66 md2=SetMarineIceSheetBC(md2); 69 67 70 md=solve(md,TransientSolutionEnum); 68 md2.basalforcings.groundedice_melting_rate=zeros(md2.mesh.numberofvertices,1); 69 md2.basalforcings.floatingice_melting_rate=25*ones(md2.mesh.numberofvertices,1); 71 70 72 save ./Models/PIG.HighMelt md; 71 md2.timestepping.time_step=0.1; 72 md2.timestepping.final_time=10; 73 md2.transient.requested_outputs={'default','IceVolume','IceVolumeAboveFloatation'} 74 75 md2=solve(md2,TransientSolutionEnum); 76 77 save ./Models/PIG.FrontRetreat md2; 73 78 end
Note:
See TracBrowser
for help on using the repository browser.