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

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

removed drag_type from NR

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