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

Last change on this file since 8317 was 8317, checked in by seroussi, 14 years ago

forcing_accumulation default values for transient

  • Property svn:executable set to *
File size: 2.0 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.observed_temperature=(tmin+st*radius);
24md.temperature=md.observed_temperature;
25md.geothermalflux=4.2*10^-2*ones(md.numberofnodes,1);
26
27disp(' creating flow law paramter');
28md.rheology_B=6.81*10^(7)*ones(md.numberofnodes,1); %to have the same B as the analytical solution
29md.rheology_n=3*ones(md.numberofelements,1);
30
31disp(' creating accumulation rates');
32acc_max=0.5; %m/yr
33sb=10^-2/1000; %m/yr/m
34rel=450*1000; %m
35md.accumulation_rate=min(acc_max,sb*(rel-radius));
36md.forcing_accumulation=[min(acc_max,sb*(rel-radius));1];
37
38disp(' creating velocities');
39constant=0.3;
40md.vx_obs=constant/2*md.x.*(md.thickness).^-1;
41md.vy_obs=constant/2*md.y.*(md.thickness).^-1;
42md.vel_obs=(sqrt((md.vx_obs).^2+(md.vy_obs).^2));
43md.vx=zeros(md.numberofnodes,1);
44md.vy=zeros(md.numberofnodes,1);
45md.vz=zeros(md.numberofnodes,1);
46md.pressure=zeros(md.numberofnodes,1);
47
48%Deal with boundary conditions:
49disp(' boundary conditions for diagnostic model: ');
50md=SetMarineIceSheetBC(md,'../Exp/RoundFrontEISMINT.exp');
51
52radius=sqrt((md.x).*md.x+(md.y).*md.y);
53pos=find(radius==min(radius));
54md.x(pos)=0; md.y(pos)=0; %the closest node to the center is changed to be exactly at the center
55
56md.spcvelocity(pos,1:3)=1;
57md.spcvelocity(pos,4:6)=0;
58
59%parallel options
60md=SetParallel(md,8);
Note: See TracBrowser for help on using the repository browser.