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

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

wrong sign

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