Warning, /verification/tutorial_global_oce_in_p/README is written in an unsupported language. File is not indexed.
view on githubraw file Latest commit d6a28d35 on 2014-03-10 01:35:18 UTC
d6a28d3589 Jean*0001 Tutorial Example: "P coordinate Global Ocean"
a4db914080 Jean*0002 (Global Ocean Simulation at 4o Resolution in Pressure Coordinates)
0003 ==================================================================
d6a28d3589 Jean*0004 (formerly "global_ocean_pressure")
a4db914080 Jean*0005
0006 Configure and compile the code:
0007 cd build
0008 ../../../tools/genmake2 -mods ../code [-of my_platform_optionFile]
0009 make depend
0010 make
d6a28d3589 Jean*0011 cd ..
a4db914080 Jean*0012
0013 To run:
d6a28d3589 Jean*0014 cd run
a4db914080 Jean*0015 ln -s ../input/* .
d6a28d3589 Jean*0016 ln -s ../build/mitgcmuv .
a4db914080 Jean*0017 ./mitgcmuv > output.txt
d6a28d3589 Jean*0018 cd ..
a4db914080 Jean*0019
0020 There is comparison output in the directory:
0021 results/output.txt
0022
0023 Comments:
d6a28d3589 Jean*0024 o the set up is similar to that of tutorial_global_oce_latlon
a4db914080 Jean*0025 o the code directory contains calc_phi_hyd.F, where the potential is computed
0026 according to the more natural finite volume discretization. Finite difference
0027 discretization is energy conserving, but the representation of the "fixed"
0028 surface (interface ocean-atmosphere) is less consistent.
0029 o the code directory also contains dynamics.F which calls
0030 remove_mean_rl.F, a generic routine, to remove the mean from the
0031 diagnostic variable phiHydLow (sea surface height/gravity in pressure
d6a28d3589 Jean*0032 coordinates)
a4db914080 Jean*0033
0034 changes: 07 Feb. 2003 (jmc):
0035 o find difficult to maintain the local version of dynamics.F up to date.
0036 therefore, has been remove from the code directory.
d6a28d3589 Jean*0037 One can recover the same version (but up to date) simply
a4db914080 Jean*0038 by activating the commented lines [between lines Cml( and Cml) ],
0039 at the end of the standard version of dynamics.F
0040 o finite volume form of calc_phi_hyd.F is now a standard option.
0041 only needs to set integr_GeoPot=1 in file "data" to select this form.