Changeset 19043 for issm/trunk-jpl/examples/Pig/Pig.par
- Timestamp:
- 01/27/15 05:10:08 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/examples/Pig/Pig.par ¶
r18205 r19043 7 7 md.mesh.hemisphere='s'; 8 8 9 % {{{NetCdf Loading9 %NetCdf Loading 10 10 disp(' Loading SeaRISE data from NetCDF'); 11 11 ncdata='../Data/Antarctica_5km_withshelves_v0.75.nc'; … … 47 47 y2=(ymax-ny*spacing)+(0:1:ny)'*spacing; 48 48 y2=double(y2); 49 % }}} 50 % {{{Geometry49 50 %Geometry 51 51 disp(' Interpolating surface and ice base'); 52 52 md.geometry.base = InterpFromGridToMesh(x1,y1,topg,md.mesh.x,md.mesh.y,0); … … 73 73 md.geometry.thickness(pos0)=1; 74 74 md.geometry.surface=md.geometry.thickness+md.geometry.base; 75 % }}} 76 % {{{Initialization parameters75 76 %Initialization parameters 77 77 disp(' Interpolating temperatures'); 78 78 md.initialization.temperature=InterpFromGridToMesh(x1,y1,temp,md.mesh.x,md.mesh.y,0)+273.15+Temp_change; … … 93 93 md.initialization.pressure=md.materials.rho_ice*md.constants.g*md.geometry.thickness; 94 94 95 % }}}96 97 95 disp(' Construct ice rheological properties'); 98 96 md.materials.rheology_n=3*ones(md.mesh.numberofelements,1); 99 97 md.materials.rheology_B=paterson(md.initialization.temperature); 100 98 101 % {{{Forcings99 %Forcings 102 100 disp(' Interpolating surface mass balance'); 103 101 md.surfaceforcings.mass_balance=InterpFromGridToMesh(x1,y1,smb,md.mesh.x,md.mesh.y,0); … … 108 106 md.basalforcings.geothermalflux=InterpFromGridToMesh(x1,y1,gflux,md.mesh.x,md.mesh.y,0); 109 107 clear gflux; 110 % }}}111 108 112 % {{{Friction and inversion set up109 %Friction and inversion set up 113 110 disp(' Construct basal friction parameters'); 114 111 md.friction.coefficient=friction_coefficient*ones(md.mesh.numberofvertices,1); … … 124 121 md.inversion.vy_obs=vy_obs; 125 122 md.inversion.vel_obs=vel_obs; 126 % }}}127 128 123 129 124 disp(' Set boundary conditions'); … … 133 128 md.thermal.spctemperature = [md.initialization.temperature;1]; %impose observed temperature on surface 134 129 md.masstransport.spcthickness = NaN*ones(md.mesh.numberofvertices,1); 135
Note:
See TracChangeset
for help on using the changeset viewer.