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

Last change on this file since 5117 was 5117, checked in by seroussi, 15 years ago

more and more tests ...

  • Property svn:executable set to *
File size: 2.0 KB
RevLine 
[5117]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.numberofgrids,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.numberofgrids,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.numberofgrids,1);
26
27disp(' creating flow law paramter');
28md.rheology_B=6.81*10^(7)*ones(md.numberofgrids,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));
36
37disp(' creating velocities');
38constant=0.3;
39md.vx_obs=constant/2*md.x.*(md.thickness).^-1;
40md.vy_obs=constant/2*md.y.*(md.thickness).^-1;
41md.vel_obs=(sqrt((md.vx_obs).^2+(md.vy_obs).^2));
42md.vx=zeros(md.numberofgrids,1);
43md.vy=zeros(md.numberofgrids,1);
44md.vz=zeros(md.numberofgrids,1);
45md.pressure=zeros(md.numberofgrids,1);
46
47%Deal with boundary conditions:
48disp(' boundary conditions for diagnostic model: ');
49md=SetMarineIceSheetBC(md,'../Exp/RoundFrontEISMINT.exp');
50
51radius=sqrt((md.x).*md.x+(md.y).*md.y);
52pos=find(radius==min(radius));
53md.x(pos)=0; md.y(pos)=0; %the closest node to the center is changed to be exactly at the center
54
55md.spcvelocity(pos,1:3)=1;
56md.spcvelocity(pos,4:6)=0;
57
58%parallel options
59md.np=6;
60md.cluster=oshostname();
Note: See TracBrowser for help on using the repository browser.