HOW TO GO FROM SLARTI FILES TO FOAM INPUT FILES
- Run
Slarti
- Start
up Slarti
- Click
‘New’ from the ‘File’ menu
- Check
the resolution you would like your atmosphere files interpolated to
- Check
the resolution your initial file is in
- Enter
an ocean depth file if you would like use something other than the
default values
- Enter
the initial file (including path)
- Check
the boxes that describe the initial file
- Enter
a vegetation and/or river flow file (optional)
- Click
ok. This is will setup the Slarti
environment.
- You
can view/edit the maps if you’d like
- Save
your run by selecting ‘Save’ from the ‘File’ menu
- Choose
the save you’d like to do and edit the maps if you need to.
- Select
a case name and save
- Create
a new f1.5data directory
- Copy
an existing f1.5data directory.
Make sure the resolutions are the same.
- Replace
the following files in the f1.5data directory with the slarti version:
1. All of the 128x128 files
2.
The mask.<r15, t31,t42> file
3.
The om3.geometry24 file
4.
The SEP1 and tibds files
- The
other files in your case directory are used by Slarti and have no
importance to FOAM
- Use
the files MakeCouplerRestart.py and restmake.f to create a restart coupler
file
These files are available off of
the FOAM ftp site
MakeCouplerRestart.py is a python
script used to make a coupler restart file starting with the mask.128x128 data.
Restmake.f is a f77 program used to
make a restart file.
a.
Run both programs in your new f1.5data directory.
b.
Set up a restart directory with the usual subdirectories (atmos,coupl,ocean). The atmos and ocean directories should
contain nothing, but the coupl directory should contain the *0000000* restart
coupler file you created.
- Make
the necessary changes to FOAM and recompile.
- undef
"RestartRun" in om3coupled.c or if you are running a slab
ocean, undef “RestartRun” in slabocean/om3cplslab.c.
- Set
the "-DFILTPHIS" flag in FOAM_OPTS. You no longer have to set the "-DFORCEHY" flag.
- Remove
pccm3uwsrc/spectral_dynamics/spetru.o
- “make
clean”
- “make”
- Make
the atmosphere do an initial run by setting NSREST to 0 in atmos_params. This will make it use the new SEP1 and
tibds files you created with slarti2ccm.
- In
run_params set FINISHED to 0000000