source: issm/trunk/test/Par/RoundSheetEISMINT.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
RevLine 
[5176]1%Ok, start defining model parameters here
2disp(' creating thickness');
[8305]3md.thickness=10*ones(md.numberofnodes,1);
4md.bed=zeros(md.numberofnodes,1);
[5176]5md.surface=md.bed+md.thickness;
6
7disp(' creating drag');
[8305]8md.drag_coefficient=20*ones(md.numberofnodes,1); %q=1. %no drag is specified in the analytical solution
[5176]9md.drag_p=ones(md.numberofelements,1);
10md.drag_q=ones(md.numberofelements,1);
11
12disp(' creating temperatures');
13tmin=238.15; %K
14st=1.67*10^-2/1000; %k/m;
[5181]15radius=sqrt((md.x).^2+(md.y).^2);
[9425]16md.temperature=(tmin+st*radius);
[8305]17md.geothermalflux=4.2*10^-2*ones(md.numberofnodes,1);
[5176]18
19disp(' creating flow law paramter');
[8305]20md.rheology_B=6.81*10^(7)*ones(md.numberofnodes,1); %to have the same B as the analytical solution
[5176]21md.rheology_n=3*ones(md.numberofelements,1);
22
[8399]23disp(' creating surface mass balance');
24smb_max=0.5; %m/yr
[5176]25sb=10^-2/1000; %m/yr/m
26rel=450*1000; %m
[8399]27md.surface_mass_balance=min(smb_max,sb*(rel-radius));
[5176]28
29disp(' creating velocities');
30constant=0.3;
31md.vx_obs=constant/2*md.x.*(md.thickness).^-1;
32md.vy_obs=constant/2*md.y.*(md.thickness).^-1;
33md.vel_obs=(sqrt((md.vx_obs).^2+(md.vy_obs).^2));
[8305]34md.vx=zeros(md.numberofnodes,1);
35md.vy=zeros(md.numberofnodes,1);
36md.vz=zeros(md.numberofnodes,1);
37md.pressure=zeros(md.numberofnodes,1);
[5176]38
39%Deal with boundary conditions:
40disp(' boundary conditions for diagnostic model: ');
41md=SetMarineIceSheetBC(md,'../Exp/RoundFrontEISMINT.exp');
42
43radius=sqrt((md.x).*md.x+(md.y).*md.y);
44pos=find(radius==min(radius));
45md.x(pos)=0; md.y(pos)=0; %the closest node to the center is changed to be exactly at the center
46
[8824]47md.spcvx(pos)=0;
48md.spcvy(pos)=0;
49md.spcvz(pos)=0;
[5176]50
51%parallel options
52md.ndt=50000;
53
54%Constants
55md.rho_ice=910;
56md.thermalconductivity=2.1;
57md.latentheat=3.35*10^5;
[5181]58md.beta=8.66*10^-4/(md.rho_ice*md.g); %conversion from K/m to K/Pa
[5176]59md.yts=31556926;
Note: See TracBrowser for help on using the repository browser.