Parent Directory | Revision Log | Revision Graph
The pkg/bbl test has been changed so that only the initial conditions contain a density anomaly, as opposed to continuously forcing the density anomaly from the surface. This update is used to demonstrate the non-dispersive formulation of the updated pkg/bbl.
1 | % cd ~/mitgcm/bbl/MITgcm_contrib/bbl |
2 | |
3 | % generate bathymetry file - a periodic channel with sloping bottom |
4 | bathy=372*ones(25,15); |
5 | bathy(:,1)=0; |
6 | bathy(:,2)=3000; |
7 | bathy(:,3:5)=3600; |
8 | for j=6:12 |
9 | bathy(:,j)=3600-(3600-432)*(j-5)/7; |
10 | end |
11 | bathy(:,13)=412; |
12 | bathy(:,14)=392; |
13 | clf, mypcolor(-bathy'); thincolorbar |
14 | writebin('input/bathyFile.bin',-bathy); |
15 | |
16 | % generate initial salinity file |
17 | s=30*ones(25,15,25); |
18 | s(:,15,3)=30.1; |
19 | writebin('input/saltClim.bin',s); |
ViewVC Help | |
Powered by ViewVC 1.1.22 |