/[MITgcm]/MITgcm_contrib/bbl/make_input.m
ViewVC logotype

Contents of /MITgcm_contrib/bbl/make_input.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Thu Nov 18 04:00:04 2010 UTC (14 years, 7 months ago) by dimitri
Branch: MAIN
This is a first sketch of a bottom boundary layer parameterization
for MITgcm.  The hooks to main model currently reside with pkg/mypackage
and it is temporarily checked in MITgcm_contrib until it clears the
App Store vetting process.  Instructions on running a simple test
integration in a periodic channel are in MITgcm_contrib/bbl/readme.txt
and some output can be viewed using lookat_output.m in same directory.

1 % cd ~/mitgcm/bbl/MITgcm_contrib/bbl
2
3 bathy=372*ones(25,15);
4 bathy(:,1)=0;
5 bathy(:,2)=3000;
6 bathy(:,3:5)=3600;
7 for j=6:12
8 bathy(:,j)=3600-(3600-432)*(j-5)/7;
9 end
10 bathy(:,13)=412;
11 bathy(:,14)=392;
12 clf, mypcolor(-bathy'); thincolorbar
13 writebin('input/bathyFile.bin',-bathy);
14
15 sss=30*ones(25,15,2);
16 sss(:,15,:)=30.1;
17 clf, mypcolor(sss(:,:,2)'); thincolorbar
18 writebin('input/saltClim.bin',sss);

  ViewVC Help
Powered by ViewVC 1.1.22