Changeset 26863
- Timestamp:
- 02/08/22 20:18:43 (3 years ago)
- Location:
- issm/trunk-jpl/test
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/test/NightlyRun/test4003.m
r26739 r26863 4 4 %Script control parameters 5 5 steps=1:11; 6 %steps=[1:3 6:11];7 6 8 7 %To download and recompile MITgcm from scratch: … … 41 40 jEnd = Ny*3/4; % where ice-shelf ends 42 41 j2 = jEnd+1; 42 43 % initial ocean conditions 44 T_sfc = -2; 45 T_bot = -1.9; 46 S_sfc = 34.2; 47 S_bot = 34.3; 43 48 44 49 savedata(org, Nx, Ny, nPx, nPy, Nz, dLong, dLat, delZ, xgOrigin, ygOrigin, ... 45 rho_ice, rho_water, di, H, Hmin, Hmax, jEnd, j2, gravity, prec); 50 rho_ice, rho_water, di, H, Hmin, Hmax, jEnd, j2, gravity, prec, ... 51 T_sfc,T_bot,S_sfc,S_bot); 46 52 end 47 53 % }}} … … 82 88 draft(i,:)=Hmin+dHdy*[-1:Ny-2]*dLat; 83 89 end 90 draft(:,j2:Ny)=0; 84 91 85 92 ice_mask=ones(Nx,Ny); … … 149 156 fid=fopen(namF,'w','b'); fwrite(fid,dMdt,prec);fclose(fid); 150 157 151 T_sfc = -1.9;152 T_bot = 2;153 158 del_T = (T_bot - T_sfc)/(59*delZ); 154 159 tref=zeros(1,Nz); … … 161 166 fid=fopen(namF,'w','b'); fwrite(fid,tref,prec);fclose(fid); 162 167 163 S_sfc = 34.2;164 S_bot = 34.7;165 168 del_S = (S_bot - S_sfc)/(59*delZ); 166 169 sref=zeros(1,Nz); … … 428 431 fid=fopen(namF,'w','b'); fwrite(fid,dMdt,prec);fclose(fid); 429 432 430 T_sfc = -1.9;431 T_bot = 2;432 433 del_T = (T_bot - T_sfc)/(59*delZ); 433 434 tref=zeros(1,Nz); … … 440 441 fid=fopen(namF,'w','b'); fwrite(fid,tref,prec);fclose(fid); 441 442 442 S_sfc = 34.2;443 S_bot = 34.7;444 443 del_S = (S_bot - S_sfc)/(59*delZ); 445 444 sref=zeros(1,Nz);
Note:
See TracChangeset
for help on using the changeset viewer.