[MITgcm-devel] Stretched grid code
Chris Hill
cnh at mit.edu
Sun Aug 8 10:58:46 EDT 2004
Hi Baylor,
I did a quick check for nice examples of stretched grids. So far all we
have checked in to the MITgcm CVS repository are things on the cube sphere
(CS). These are relevant but not as useful to you as a simple cartesian
coord system example would be. An example of the list of files needed in a
CS case is at
http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/verification/advect_cs/input/
For any stretched grid all the UPPER_CASE.bin files are needed except LONC,
LATC which are only used for getting f on the globe (so would not be
replaced in a cartesian coord channel with files called XC, YC etc...) and
for interpolating fields on the fly. The programs used to create the DXC
etc... files can be found in
http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm_contrib/high_res_cube/matlab-gr
id-generator/
however, because the grid generation algorithm for the cube is quite
involved then they are not the most useful starting examples. The bit that
writes the DXC etc... is a small section somewhere at the end!
Probably we should get together and make a simple Matlab example for a
general grid generation in carteisan coords. It would be useful to have.
Also - I believe Gianmaria who is in 54-1516 with Patrick this month did
generate a stretech grid configurationa for the Mediterranean which might
also be a useful template - we should talk to him.
Got to go do family stuff now,
Chris
More information about the MITgcm-devel
mailing list