source: issm/trunk/test/Miscellaneous/GJM_test1/SquareShelf.par@ 9684

Last change on this file since 9684 was 9684, checked in by seroussi, 13 years ago

added initialization class

  • Property svn:executable set to *
File size: 1.1 KB
Line 
1%Start defining model parameters here
2
3%Geometry
4hmin=300;
5hmax=1000;
6ymin=min(md.y);
7ymax=max(md.y);
8md.thickness=hmax+(hmin-hmax)*(md.y-ymin)/(ymax-ymin);
9md.bed=-md.materials.rho_ice/md.materials.rho_water*md.thickness;
10md.surface=md.bed+md.thickness;
11
12%Materials
13md.observed_temperature=(273-20)*ones(md.numberofnodes,1);
14md.materials.rheology_B=paterson(md.observed_temperature);
15md.materials.rheology_n=3*ones(md.numberofelements,1);
16md.initialization.temperature=md.observed_temperature;
17
18%Friction
19pos=find(md.mask.elementonfloatingice);
20md.drag_type=2;
21md.drag_coefficient=20*ones(md.numberofnodes,1);
22md.drag_coefficient(md.elements(pos,:))=0;
23md.drag_p=ones(md.numberofelements,1);
24md.drag_q=ones(md.numberofelements,1);
25
26%Numerical parameters
27md.viscosity_overshoot=0.3;
28md.prognostic.stabilization=1;
29md.thermal.stabilization=1;
30md.waitonlock=30;
31md.verbose=verbose(0);
32md.eps_res=0.10;
33md.eps_rel=0.02;
34md.eps_abs=NaN;
35md.dt=1;
36md.ndt=3;
37
38%Boundary conditions:
39md=SetIceShelfBC(md,'SquareFront.exp');
40
41%Change name so that no test have the same name
42A=dbstack;
43if (length(A)>2), md.miscellaneous.name=A(3).file(1:end-2); end
Note: See TracBrowser for help on using the repository browser.