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

Last change on this file since 16560 was 16560, checked in by Mathieu Morlighem, 11 years ago

merged trunk-jpl and trunk for revision 16554

  • Property svn:executable set to *
File size: 2.3 KB
Line 
1%Ok, start defining model parameters here
2disp(' creating thickness');
3md.geometry.thickness=10.*ones(md.mesh.numberofvertices,1);
4md.geometry.bed=zeros(md.mesh.numberofvertices,1);
5md.geometry.surface=md.geometry.bed+md.geometry.thickness;
6
7disp(' creating drag');
8md.friction.coefficient=20.*ones(md.mesh.numberofvertices,1);
9md.friction.p=ones(md.mesh.numberofelements,1);
10md.friction.q=ones(md.mesh.numberofelements,1);
11
12disp(' creating temperatures');
13tmin=238.15; %K
14st=1.67*10^-2/1000.; %k/m
15radius=sqrt((md.mesh.x).^2+(md.mesh.y).^2);
16md.initialization.temperature=(tmin+st*radius);
17md.basalforcings.geothermalflux=4.2*10^-2*ones(md.mesh.numberofvertices,1);
18
19disp(' creating flow law parameter');
20md.materials.rheology_B=6.81*10^7*ones(md.mesh.numberofvertices,1); %to have the same B as the analytical solution
21md.materials.rheology_n=3.*ones(md.mesh.numberofelements,1);
22
23%Damage
24md.damage.D=zeros(md.mesh.numberofvertices,1);
25
26disp(' creating surface mass balance');
27smb_max=0.5; %m/yr
28sb=10^-2/1000.; %m/yr/m
29rel=450.*1000.; %m
30md.surfaceforcings.mass_balance=min(smb_max,sb*(rel-radius));
31
32disp(' creating velocities');
33constant=0.3;
34md.inversion.vx_obs=constant/2.*md.mesh.x.*(md.geometry.thickness).^-1;
35md.inversion.vy_obs=constant/2.*md.mesh.y.*(md.geometry.thickness).^-1;
36md.inversion.vel_obs=(sqrt((md.inversion.vx_obs).^2+(md.inversion.vy_obs).^2));
37md.initialization.vx=zeros(md.mesh.numberofvertices,1);
38md.initialization.vy=zeros(md.mesh.numberofvertices,1);
39md.initialization.vz=zeros(md.mesh.numberofvertices,1);
40md.initialization.pressure=zeros(md.mesh.numberofvertices,1);
41
42%Deal with boundary conditions:
43disp(' boundary conditions for stressbalance model:');
44md=SetMarineIceSheetBC(md,'../Exp/RoundFrontEISMINT.exp');
45
46radius=sqrt((md.mesh.x).^2+(md.mesh.y).^2);
47pos=find(radius==min(radius));
48md.mesh.x(pos)=0.; md.mesh.y(pos)=0.; %the closest node to the center is changed to be exactly at the center
49
50md.stressbalance.spcvx(pos)=0.;
51md.stressbalance.spcvy(pos)=0.;
52md.stressbalance.spcvz(pos)=0.;
53
54%parallel options
55md.timestepping.final_time=50000.;
56
57%Constants
58md.materials.rho_ice=910.;
59md.materials.thermalconductivity=2.1;
60md.materials.latentheat=3.35*10^5;
61md.materials.beta=8.66*10^-4/(md.materials.rho_ice*md.constants.g); %conversion from K/m to K/Pa
62md.constants.yts=31556926.;
Note: See TracBrowser for help on using the repository browser.