source: issm/trunk/test/Par/RoundSheetStaticEISMINT.par@ 9425

Last change on this file since 9425 was 9425, checked in by Mathieu Morlighem, 14 years ago

no more md.observed_temperature

  • Property svn:executable set to *
File size: 1.9 KB
Line 
1disp(' creating thickness');
2hmin=0.01;
3hmax=2756.7;
4radius=(sqrt((md.x).^2+(md.y).^2));
5radiusmax=max(radius);
6md.thickness=hmin*ones(size(md.x,1),1)+hmax*(4*((1/2)^(4/3)*ones(size(md.x,1),1)-((radius)./(2*radiusmax)).^(4/3))).^(3/8);
7md.firn_layer=10*ones(md.numberofnodes,1);
8md.bed=0*md.thickness;
9md.surface=md.bed+md.thickness;
10
11disp(' creating drag');
12md.drag_type=2; %0 none 1 plastic 2 viscous
13md.drag_coefficient=20*ones(md.numberofnodes,1); %q=1. %no drag is specified in the analytical solution
14%Take care of iceshelves: no basal drag
15pos=find(md.elementoniceshelf);
16md.drag_coefficient(md.elements(pos,:))=0;
17md.drag_p=ones(md.numberofelements,1);
18md.drag_q=ones(md.numberofelements,1);
19
20disp(' creating temperatures');
21tmin=238.15; %K
22st=1.67*10^-2/1000; %k/m;
23md.temperature=(tmin+st*radius);
24md.geothermalflux=4.2*10^-2*ones(md.numberofnodes,1);
25
26disp(' creating flow law paramter');
27md.rheology_B=6.81*10^(7)*ones(md.numberofnodes,1); %to have the same B as the analytical solution
28md.rheology_n=3*ones(md.numberofelements,1);
29
30disp(' creating surface mass balance');
31smb_max=0.5; %m/yr
32sb=10^-2/1000; %m/yr/m
33rel=450*1000; %m
34md.surface_mass_balance=min(smb_max,sb*(rel-radius));
35
36disp(' creating velocities');
37constant=0.3;
38md.vx_obs=constant/2*md.x.*(md.thickness).^-1;
39md.vy_obs=constant/2*md.y.*(md.thickness).^-1;
40md.vel_obs=(sqrt((md.vx_obs).^2+(md.vy_obs).^2));
41md.vx=zeros(md.numberofnodes,1);
42md.vy=zeros(md.numberofnodes,1);
43md.vz=zeros(md.numberofnodes,1);
44md.pressure=zeros(md.numberofnodes,1);
45
46%Deal with boundary conditions:
47disp(' boundary conditions for diagnostic model: ');
48md=SetMarineIceSheetBC(md,'../Exp/RoundFrontEISMINT.exp');
49
50radius=sqrt((md.x).*md.x+(md.y).*md.y);
51pos=find(radius==min(radius));
52md.x(pos)=0; md.y(pos)=0; %the closest node to the center is changed to be exactly at the center
53
54md.spcvx(pos)=0;
55md.spcvy(pos)=0;
56md.spcvz(pos)=0;
Note: See TracBrowser for help on using the repository browser.