source: issm/trunk/test/Validation/ThermalTests/Melting/Square.par@ 4876

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

Validation tests Thermaltests

  • Property svn:executable set to *
File size: 1.6 KB
RevLine 
[16]1%Ok, start defining model parameters here
2
[900]3%parallelization
4md.cluster='none';
[4876]5md.np=3;
6md.dt=0;
[16]7
[900]8disp(' creating thickness');
9h=1000;
10md.thickness=h*ones(md.numberofgrids,1);
11md.firn_layer=10*ones(md.numberofgrids,1);
12md.bed=-1000*ones(md.numberofgrids,1);
13md.surface=md.bed+md.thickness;
[16]14
[900]15disp(' creating velocities');
16md.vx_obs=zeros(md.numberofgrids,1);
17md.vy_obs=zeros(md.numberofgrids,1);
18md.vel_obs=sqrt(md.vx_obs.^2+md.vy_obs.^2);
[16]19
[900]20disp(' creating drag');
21md.drag_type=2; %0 none 1 plastic 2 viscous
[3768]22md.drag_coefficient=200*ones(md.numberofgrids,1); %q=1.
[900]23%Take care of iceshelves: no basal drag
24pos=find(md.elementoniceshelf);
[3768]25md.drag_coefficient(md.elements(pos,:))=0;
26md.drag_p=ones(md.numberofelements,1);
27md.drag_q=ones(md.numberofelements,1);
[16]28
[900]29disp(' creating temperatures');
30md.observed_temperature=273.15*ones(md.numberofgrids,1);
[16]31
[900]32disp(' creating flow law paramter');
[3768]33md.rheology_B=paterson(md.observed_temperature);
34md.rheology_n=3*ones(md.numberofelements,1);
[900]35
36disp(' creating accumulation rates');
[3768]37md.accumulation_rate=ones(md.numberofgrids,1)/md.yts; %1m/a
38md.melting_rate=0*ones(md.numberofgrids,1)/md.yts; %1m/a
[900]39
40%Deal with boundary conditions:
41
42disp(' boundary conditions for diagnostic model');
[4876]43md=SetMarineIceSheetBC(md,'Front.exp');
[900]44
45disp(' boundary conditions for thermal model');
[4876]46md.temperature=md.observed_temperature;
47md.spctemperature(:,1)=ones(md.numberofgrids,1); %surface temperature
48md.spctemperature(:,2)=md.observed_temperature;
[900]49md.geothermalflux=zeros(md.numberofgrids,1);
50pos=find(md.elementonicesheet);md.geothermalflux(md.elements(pos,:))=1*10^-3; %1 mW/m^2
Note: See TracBrowser for help on using the repository browser.