4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/obcs: modify Stevens boundary conditions so that S/R obcs_calc_stevens |
8 |
|
computes tendency for temperature and salinity that is then applied to update |
9 |
|
theta and salt in S/R obcs_apply_ts; this requires proper masking of all |
10 |
|
horizontal advection and diffusion contributions on the boundary (in |
11 |
|
S/Rs gad_advection, gad_calc_rhs, gmredi_rtransport, gmredi_calc_diff), and |
12 |
|
removing the mask in S/R timestep_tracer. The advantage of this approach is |
13 |
|
that the updated tracer values include contributions from the surface |
14 |
|
forcing and vertical diffusion. |
15 |
|
This modification changes exp4.stevens because of vertical diffusion. |
16 |
|
o model/src: |
17 |
|
change non-curvilinear grid setting to also work with exch2 + blank tiles: |
18 |
|
- move delX,delY to new header file (SET_GRID.h) and adjust length to 1rst |
19 |
|
face dimensions. |
20 |
|
- new S/R INI_LOCAL_GRID to define model tile-local grid (using same units |
21 |
|
as delX,delY) and called from S/R INI_CARTESIAN_GRID, INI_CYLINDER_GRID |
22 |
|
and INI_SPHERICAL_POLAR_GRID. |
23 |
|
change test-experiment global_ocean.90x40x15: |
24 |
|
- split the domain in many more tiles (9x4 tiles of 10x10 each); |
25 |
|
- switch to exch2 and remove 1 blank-tile (but only for MPI test). |
26 |
|
- update results of both test (std & dwnslp). |
27 |
|
o pkg/diagnostics/diagstat_calc.F: fix problem with non-initialised halos in |
28 |
|
tmp-fields for TARGET_NEC_SX at the cost of extra loops and less vectorisation |
29 |
|
o model/src: |
30 |
|
- take sigma-coords related code out of update_etah.F into new S/R UPDATE_ETAWS |
31 |
|
and fix initialisation when using sigma-coords. |
32 |
|
o model/src: |
33 |
|
- improve Gael's changes from Jan 14, 2011 "addition of an 'update' of hfacc etc. |
34 |
|
to their current value at the beginning of forward_step.F": add a new run-time |
35 |
|
switch "doResetHFactors" (default=false) and use it to do (or not) the resetting. |
36 |
|
- set doResetHFactors=T in the following test exp: |
37 |
|
global_ocean.90x40x15/input (rStar) & input.dwnslp (linFS), |
38 |
|
global_ocean.cs32x15/input.seaice (rStar), hs94.cs-32x32x5/input.impIGW (linFS) |
39 |
|
and tutorial_global_oce_in_p (nonLinFS in p) |
40 |
|
o pkg/ecco |
41 |
|
- added IES cost term |
42 |
|
o verification/advect_xz |
43 |
|
- scale down the depth by 1/100 (from 200 km to just 2.km) |
44 |
|
- add secondary test using divergent flow, r-star and implicit vertical advection. |
45 |
|
- add note (check_conserve_TS.txt) and matlab script to check global |
46 |
|
conservation of T & S with NonLin-FreeSurf and Adams-Bashforth. |
47 |
|
o pkg/rbcs: |
48 |
|
- add missing relaxUFile & relaxVFile in namelist (in rbcs_readparms.F). |
49 |
|
o pkg/obcs (Stevens BCs): |
50 |
|
- fix various problems in the phase speed computations of the Stevens |
51 |
|
boundary conditions: |
52 |
|
- sign error for western and southern boundaries, |
53 |
|
- time tendencies were underestimated by factor of dTracerLev and some just |
54 |
|
zero (for multidim advection schemes) -> now estimate time tendencies |
55 |
|
from difference between previous (n) time level and the one before (n-1); |
56 |
|
this requires storing a field per tracer per boundary, also in the pickup |
57 |
|
files. |
58 |
|
- replace deltaTmom in cflMer/Zon computation with dTracerLev |
59 |
|
- set default phase velocity to cflMer/Zon |
60 |
|
- update verification experiment exp4.stevens |
61 |
|
o pkg/generic_advdiff (implicit_r): |
62 |
|
- fix implicit vertical advection conservation with AB and/or NonLin-FreeSurf |
63 |
|
(remove Tr*d/dz(w) in gad_implicit_r.F and add it in gad_calc_rhs.F); |
64 |
|
- fix implicit vertical diffusion or advection with NonLin FreeSurf |
65 |
|
(was using current recip_hFacC instead of future recip_hFacC): set future |
66 |
|
recip_hFac in thermodynamics.F and pass & use it in all vertical implicit |
67 |
|
solver S/R ; |
68 |
|
- fill diagnostics of vertical advective fluxes (computed from tendency) |
69 |
|
when using implicit vert. advection; |
70 |
|
- update output of exp that uses NonLin-FreeSurf & implicit vertical diffusion: |
71 |
|
global_ocean.90x40x15 (fwd+AD), global_ocean.cs32x15 (4 fwd +4 AD), |
72 |
|
tutorial_global_oce_in_p (fwd), tutorial_tracer_adjsens (AD) |
73 |
|
and cpl_aim+ocn (used in ocean); to be fixed: bottom_ctrl_5x5. |
74 |
|
o pkg/diagnostics: |
75 |
|
- add diags for T & S tendency which goes through Adams-Bashforth. |
76 |
|
|
77 |
|
checkpoint63f (2011/11/30) |
78 |
|
o pkg/obcs/obcs_calc_stevens.F: |
79 |
|
- join some loops to reduce number of if-statements |
80 |
|
- fix a bug in code for northern and southern boundaries. |
81 |
|
o pkg/seaice/seaice_init_varia.F |
82 |
|
- undo resetting UVM=0 that has slipped in unnoticed in r1.49 and |
83 |
|
caused zero ice-velocities for the B-grid code |
84 |
|
o pkg/seaice/seaice_init_fixed.F |
85 |
|
- fix a bug in the initialisation of the second metric terms |
86 |
|
k2AtC and k2AtZ: k2AtC was set to the value of k2AtZ and k2AtZ was 0. |
87 |
|
- this affects all seaice configurations with useCurviLinearGrid = .true. |
88 |
|
and SEAICEuseDynamics = .true. (default) and SEAICEuseMetricTerms |
89 |
|
= .true. (default) |
90 |
|
- the only verification experiment affected is global_ocean.cs32x15: |
91 |
|
icedyn, seaice, and seaice_dynmix (AD) |
92 |
|
o pkg/thsice/thsice_diagnostics_state.F |
93 |
|
- only for TARGET_NEC_SX: initialise all of tmpFld, so that overlap does |
94 |
|
not contain garbage that can lead to surprises in diagstats_calc.F |
95 |
|
o model/src: |
96 |
|
- move bi,bj loops inside INTEGR_CONTINUITY ; |
97 |
|
- call INTEGR_CONTINUITY directly from forward_step.F |
98 |
|
(previously called from momentum_correction_step.F) |
99 |
|
- call UPDATE_ETAH from integr_continuity.F and update initialise_varia.F, |
100 |
|
forward_step.F and pkg/ecco/the_main_loop.F |
101 |
|
o model/src/do_oceanic_phys.F: |
102 |
|
- reset addMass to zero only if useICEFRONT ; |
103 |
|
- separated k-loop for rhoInSitu calculation ; |
104 |
|
- add 2 diagnostics for wVel*delta^k(Rho) at constant pressure (= WdRHO_P) |
105 |
|
and at constant T,S (= WdRHOdP); |
106 |
|
NOTE: change diagnostics WRHOMASS : this is now simply the Vertical transport |
107 |
|
of In-Situ Density (Anomaly) (=wVel*rho^bar-k) (previously was Vertical |
108 |
|
transport of locally-referenced potential density); |
109 |
|
to recover old diag: (WRHOMASS)_old = (WRHOMASS)_new -1/2 * (WdRHOdP) |
110 |
|
o gluemnc: |
111 |
|
- replace ncrcat with ncks when adding variables to *.glob.nc |
112 |
|
- change the way variables without record dimensions are handled so that |
113 |
|
files that have variables with and without record variables can be glued: |
114 |
|
add a record dimension with a new unique name to be able to differentiate |
115 |
|
between variable with and without a-prior record dimensions. Remove |
116 |
|
this record dimension before adding the variable to the *.glob.nc file. |
117 |
|
This procedure automatically works also for grid.*.nc files that do not |
118 |
|
have any record dimension. |
119 |
|
o verification/cpl_aim+ocn: |
120 |
|
- generate new reference output on baudelaire (gfortran, mpich2) (previously |
121 |
|
from old aces-grid cluster, ao + ifort) and update 'run_cpl_test' script. |
122 |
|
o pkg/obcs/obcs_calc_stevens.F: |
123 |
|
- add code for northern and southern boundaries. |
124 |
|
- reorder some loops to save some operations and so that drFBar can be scalar |
125 |
|
o model/src: |
126 |
|
- re-arrange extrapolation calculation in Adams-Bashforth S/R (affects machine |
127 |
|
truncation) and add diagnostics for Adams-Bashforth tendency increment. |
128 |
|
- update test-exp. AD output: |
129 |
|
1D_ocean_ice_column, bottom_ctrl_5x5, lab_sea.noseaicedyn, obcs_ctrl; |
130 |
|
and FWD output: exp4 (x3), fizhi-cs-32x32x40, fizhi-cs-aqualev20, |
131 |
|
front_relax (x3), global_ocean.90x40x15 (x2), global_ocean.cs32x15 (x5), |
132 |
|
global_ocean_ebm, ideal_2D_oce, internal_wave, isomip (x3), lab_sea (x4), |
133 |
|
matrix_example, MLAdjust (x5), natl_box (x2), tutorial_advection_in_gyre, |
134 |
|
tutorial_global_oce_in_p, tutorial_global_oce_latlon and |
135 |
|
tutorial_plume_on_slope. |
136 |
|
o pkg/diagnostics/diagstats_calc.F: add special code for TARGET_NEC_SX |
137 |
|
that vectorises. This code uses 3 extra 2D fields, F90 array assignments |
138 |
|
and F90 intrinsic routines SUM, MINVAL, MAXVAL, but since TARGET_NEC_SX |
139 |
|
does not even come with an F77 compiler anymore, this should not be |
140 |
|
a limitation |
141 |
|
|
142 |
checkpoint63e (2011/11/06) |
checkpoint63e (2011/11/06) |
143 |
o pkg/seaice adjoint of LSR: |
o pkg/seaice adjoint of LSR: |
144 |
- substantially rework STORE dirs. |
- substantially rework STORE dirs. |