source: issm/trunk/test/Par/RoundSheetEISMINT.par@ 8399

Last change on this file since 8399 was 8399, checked in by schlegel, 14 years ago

change accumulation rate to surface mass balance; introduce surface ablation and surface accumulation

  • Property svn:executable set to *
File size: 2.0 KB
RevLine 
[5176]1%Ok, start defining model parameters here
2disp(' creating thickness');
[8305]3md.thickness=10*ones(md.numberofnodes,1);
4md.bed=zeros(md.numberofnodes,1);
[5176]5md.surface=md.bed+md.thickness;
6
7disp(' creating drag');
8md.drag_type=2; %0 none 1 plastic 2 viscous
[8305]9md.drag_coefficient=20*ones(md.numberofnodes,1); %q=1. %no drag is specified in the analytical solution
[5176]10md.drag_p=ones(md.numberofelements,1);
11md.drag_q=ones(md.numberofelements,1);
12
13disp(' creating temperatures');
14tmin=238.15; %K
15st=1.67*10^-2/1000; %k/m;
[5181]16radius=sqrt((md.x).^2+(md.y).^2);
[5176]17md.observed_temperature=(tmin+st*radius);
18md.temperature=md.observed_temperature;
[8305]19md.geothermalflux=4.2*10^-2*ones(md.numberofnodes,1);
[5176]20
21disp(' creating flow law paramter');
[8305]22md.rheology_B=6.81*10^(7)*ones(md.numberofnodes,1); %to have the same B as the analytical solution
[5176]23md.rheology_n=3*ones(md.numberofelements,1);
24
[8399]25disp(' creating surface mass balance');
26smb_max=0.5; %m/yr
[5176]27sb=10^-2/1000; %m/yr/m
28rel=450*1000; %m
[8399]29md.surface_mass_balance=min(smb_max,sb*(rel-radius));
30md.forcings.surface_mass_balance=[min(smb_max,sb*(rel-radius));1];
[5176]31
32disp(' creating velocities');
33constant=0.3;
34md.vx_obs=constant/2*md.x.*(md.thickness).^-1;
35md.vy_obs=constant/2*md.y.*(md.thickness).^-1;
36md.vel_obs=(sqrt((md.vx_obs).^2+(md.vy_obs).^2));
[8305]37md.vx=zeros(md.numberofnodes,1);
38md.vy=zeros(md.numberofnodes,1);
39md.vz=zeros(md.numberofnodes,1);
40md.pressure=zeros(md.numberofnodes,1);
[5176]41
42%Deal with boundary conditions:
43disp(' boundary conditions for diagnostic model: ');
44md=SetMarineIceSheetBC(md,'../Exp/RoundFrontEISMINT.exp');
45
46radius=sqrt((md.x).*md.x+(md.y).*md.y);
47pos=find(radius==min(radius));
48md.x(pos)=0; md.y(pos)=0; %the closest node to the center is changed to be exactly at the center
49
50md.spcvelocity(pos,1:3)=1;
51md.spcvelocity(pos,4:6)=0;
52
53%parallel options
[5966]54md=SetParallel(md,8);
[5176]55md.ndt=50000;
56
57%Constants
58md.rho_ice=910;
59md.thermalconductivity=2.1;
60md.latentheat=3.35*10^5;
[5181]61md.beta=8.66*10^-4/(md.rho_ice*md.g); %conversion from K/m to K/Pa
[5176]62md.yts=31556926;
Note: See TracBrowser for help on using the repository browser.