4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o model/src: |
8 |
|
- improve Gael's changes from Jan 14, 2011 "addition of an 'update' of hfacc etc. |
9 |
|
to their current value at the beginning of forward_step.F": add a new run-time |
10 |
|
switch "doResetHFactors" (default=false) and use it to do (or not) the resetting. |
11 |
|
- set doResetHFactors=T in the following test exp: |
12 |
|
global_ocean.90x40x15/input (rStar) & input.dwnslp (linFS), |
13 |
|
global_ocean.cs32x15/input.seaice (rStar), hs94.cs-32x32x5/input.impIGW (linFS) |
14 |
|
and tutorial_global_oce_in_p (nonLinFS in p) |
15 |
|
o pkg/ecco |
16 |
|
- added IES cost term |
17 |
|
o verification/advect_xz |
18 |
|
- scale down the depth by 1/100 (from 200 km to just 2.km) |
19 |
|
- add secondary test using divergent flow, r-star and implicit vertical advection. |
20 |
|
- add note (check_conserve_TS.txt) and matlab script to check global |
21 |
|
conservation of T & S with NonLin-FreeSurf and Adams-Bashforth. |
22 |
|
o pkg/rbcs: |
23 |
|
- add missing relaxUFile & relaxVFile in namelist (in rbcs_readparms.F). |
24 |
|
o pkg/obcs (Stevens BCs): |
25 |
|
- fix various problems in the phase speed computations of the Stevens |
26 |
|
boundary conditions: |
27 |
|
- sign error for western and southern boundaries, |
28 |
|
- time tendencies were underestimated by factor of dTracerLev and some just |
29 |
|
zero (for multidim advection schemes) -> now estimate time tendencies |
30 |
|
from difference between previous (n) time level and the one before (n-1); |
31 |
|
this requires storing a field per tracer per boundary, also in the pickup |
32 |
|
files. |
33 |
|
- replace deltaTmom in cflMer/Zon computation with dTracerLev |
34 |
|
- set default phase velocity to cflMer/Zon |
35 |
|
- update verification experiment exp4.stevens |
36 |
|
o pkg/generic_advdiff (implicit_r): |
37 |
|
- fix implicit vertical advection conservation with AB and/or NonLin-FreeSurf |
38 |
|
(remove Tr*d/dz(w) in gad_implicit_r.F and add it in gad_calc_rhs.F); |
39 |
|
- fix implicit vertical diffusion or advection with NonLin FreeSurf |
40 |
|
(was using current recip_hFacC instead of future recip_hFacC): set future |
41 |
|
recip_hFac in thermodynamics.F and pass & use it in all vertical implicit |
42 |
|
solver S/R ; |
43 |
|
- fill diagnostics of vertical advective fluxes (computed from tendency) |
44 |
|
when using implicit vert. advection; |
45 |
|
- update output of exp that uses NonLin-FreeSurf & implicit vertical diffusion: |
46 |
|
global_ocean.90x40x15 (fwd+AD), global_ocean.cs32x15 (4 fwd +4 AD), |
47 |
|
tutorial_global_oce_in_p (fwd), tutorial_tracer_adjsens (AD) |
48 |
|
and cpl_aim+ocn (used in ocean); to be fixed: bottom_ctrl_5x5. |
49 |
|
o pkg/diagnostics: |
50 |
|
- add diags for T & S tendency which goes through Adams-Bashforth. |
51 |
|
|
52 |
|
checkpoint63f (2011/11/30) |
53 |
|
o pkg/obcs/obcs_calc_stevens.F: |
54 |
|
- join some loops to reduce number of if-statements |
55 |
|
- fix a bug in code for northern and southern boundaries. |
56 |
|
o pkg/seaice/seaice_init_varia.F |
57 |
|
- undo resetting UVM=0 that has slipped in unnoticed in r1.49 and |
58 |
|
caused zero ice-velocities for the B-grid code |
59 |
|
o pkg/seaice/seaice_init_fixed.F |
60 |
|
- fix a bug in the initialisation of the second metric terms |
61 |
|
k2AtC and k2AtZ: k2AtC was set to the value of k2AtZ and k2AtZ was 0. |
62 |
|
- this affects all seaice configurations with useCurviLinearGrid = .true. |
63 |
|
and SEAICEuseDynamics = .true. (default) and SEAICEuseMetricTerms |
64 |
|
= .true. (default) |
65 |
|
- the only verification experiment affected is global_ocean.cs32x15: |
66 |
|
icedyn, seaice, and seaice_dynmix (AD) |
67 |
|
o pkg/thsice/thsice_diagnostics_state.F |
68 |
|
- only for TARGET_NEC_SX: initialise all of tmpFld, so that overlap does |
69 |
|
not contain garbage that can lead to surprises in diagstats_calc.F |
70 |
|
o model/src: |
71 |
|
- move bi,bj loops inside INTEGR_CONTINUITY ; |
72 |
|
- call INTEGR_CONTINUITY directly from forward_step.F |
73 |
|
(previously called from momentum_correction_step.F) |
74 |
|
- call UPDATE_ETAH from integr_continuity.F and update initialise_varia.F, |
75 |
|
forward_step.F and pkg/ecco/the_main_loop.F |
76 |
|
o model/src/do_oceanic_phys.F: |
77 |
|
- reset addMass to zero only if useICEFRONT ; |
78 |
|
- separated k-loop for rhoInSitu calculation ; |
79 |
|
- add 2 diagnostics for wVel*delta^k(Rho) at constant pressure (= WdRHO_P) |
80 |
|
and at constant T,S (= WdRHOdP); |
81 |
|
NOTE: change diagnostics WRHOMASS : this is now simply the Vertical transport |
82 |
|
of In-Situ Density (Anomaly) (=wVel*rho^bar-k) (previously was Vertical |
83 |
|
transport of locally-referenced potential density); |
84 |
|
to recover old diag: (WRHOMASS)_old = (WRHOMASS)_new -1/2 * (WdRHOdP) |
85 |
|
o gluemnc: |
86 |
|
- replace ncrcat with ncks when adding variables to *.glob.nc |
87 |
|
- change the way variables without record dimensions are handled so that |
88 |
|
files that have variables with and without record variables can be glued: |
89 |
|
add a record dimension with a new unique name to be able to differentiate |
90 |
|
between variable with and without a-prior record dimensions. Remove |
91 |
|
this record dimension before adding the variable to the *.glob.nc file. |
92 |
|
This procedure automatically works also for grid.*.nc files that do not |
93 |
|
have any record dimension. |
94 |
|
o verification/cpl_aim+ocn: |
95 |
|
- generate new reference output on baudelaire (gfortran, mpich2) (previously |
96 |
|
from old aces-grid cluster, ao + ifort) and update 'run_cpl_test' script. |
97 |
|
o pkg/obcs/obcs_calc_stevens.F: |
98 |
|
- add code for northern and southern boundaries. |
99 |
|
- reorder some loops to save some operations and so that drFBar can be scalar |
100 |
|
o model/src: |
101 |
|
- re-arrange extrapolation calculation in Adams-Bashforth S/R (affects machine |
102 |
|
truncation) and add diagnostics for Adams-Bashforth tendency increment. |
103 |
|
- update test-exp. AD output: |
104 |
|
1D_ocean_ice_column, bottom_ctrl_5x5, lab_sea.noseaicedyn, obcs_ctrl; |
105 |
|
and FWD output: exp4 (x3), fizhi-cs-32x32x40, fizhi-cs-aqualev20, |
106 |
|
front_relax (x3), global_ocean.90x40x15 (x2), global_ocean.cs32x15 (x5), |
107 |
|
global_ocean_ebm, ideal_2D_oce, internal_wave, isomip (x3), lab_sea (x4), |
108 |
|
matrix_example, MLAdjust (x5), natl_box (x2), tutorial_advection_in_gyre, |
109 |
|
tutorial_global_oce_in_p, tutorial_global_oce_latlon and |
110 |
|
tutorial_plume_on_slope. |
111 |
|
o pkg/diagnostics/diagstats_calc.F: add special code for TARGET_NEC_SX |
112 |
|
that vectorises. This code uses 3 extra 2D fields, F90 array assignments |
113 |
|
and F90 intrinsic routines SUM, MINVAL, MAXVAL, but since TARGET_NEC_SX |
114 |
|
does not even come with an F77 compiler anymore, this should not be |
115 |
|
a limitation |
116 |
|
|
117 |
|
checkpoint63e (2011/11/06) |
118 |
|
o pkg/seaice adjoint of LSR: |
119 |
|
- substantially rework STORE dirs. |
120 |
|
- add new flag SEAICE_LSR_ADJOINT_ITER and parameter SOLV_MAX_FIXED |
121 |
|
this flag will do SOLV_MAX_ITERS but only store SOLV_MAX_FIXED fields |
122 |
|
and only perform SOLV_MAX_FIXED adjoint iters. |
123 |
|
If flag SEAICE_LSR_ADJOINT_ITER is undef-ined, the store in the iteration |
124 |
|
always goes to same record, meaning that the last forward field will be |
125 |
|
the one used in the adjoint - an approximation. |
126 |
|
- now produces non-zero LSR-related gradients, and acceptable gradients for |
127 |
|
An's zonal (x-z) test case (to be checked in) |
128 |
|
- lab_sea: produces acceptable gradients for lab_sea with forward/backward LSR |
129 |
|
(but these are screwed up by the thermodynamics in the first place); |
130 |
|
reduce from 4 to 3 timesteps to avoid t.d. issue as temporary solution; |
131 |
|
output_adm.txt also reflects changes to seaice_lsr |
132 |
|
- global_ocean.cs32x15: |
133 |
|
* the "default" input_ad.seaice has been re-defined to always exclude dynamics |
134 |
|
(output_adm.seaice.txt was updated) |
135 |
|
* new input_ad.seaice_dynmix tests a forward LSR / backward free-drift |
136 |
|
(output_adm.seaice_dynmix.txt) |
137 |
|
o test-exp. exp4+stevens: |
138 |
|
- switch off pTracers and nonHydrostatic (restart problems with NH); update output |
139 |
|
o pkg/seaice (lsr solver): |
140 |
|
- put coriolis term into FORCEX,Y (as in seaice_evp.F; previously in rhsU,V only); |
141 |
|
update output (change truncation) of FWD test exp lab_sea & global_ocean.cs32x15 |
142 |
|
- fix SEAICEuseFREEDRIFT for new OBCS version (ndef OBCS_UVICE_OLD) |
143 |
|
- new parameter "LSR_mixIniGuess" allows (if=2,4) to mix free-drift solution |
144 |
|
into initial guess for linearised solver; use weight ~ (1/err)^2,4. |
145 |
|
- compute (with new S/R) and print initial (+ free-driff sol. if available) |
146 |
|
and final residual of linearised system. |
147 |
|
o pkg/pp81: add diagnostics for vertical eddy viscosity and diffusivity |
148 |
|
(requires new subroutines pp81_init_fixed.F/pp81_diagnostics_init.F) |
149 |
|
o pkg/obcs: Stevens BCs (still only for east and west) |
150 |
|
- fix Stevens BCs by using intermediate velocities of previous |
151 |
|
time step as "baroclinic" contribution rather velocity of one grid cell |
152 |
|
inside the boundaries; more consistent but makes the entire treatment |
153 |
|
more complicated, requires new pickup files and two new S/Rs: |
154 |
|
obcs_copy_uv_n and obcs_save_uv_n |
155 |
|
keep old version with flag OBCS_STEVENS_USE_INTERIOR_VELOCITY |
156 |
|
(undefined by default) |
157 |
|
- silently move computation of some grid factors into separate loops to |
158 |
|
save some recomputations |
159 |
|
- add a hack for non-linear free surface |
160 |
|
- add a verification experiment to exp4 that tests this code |
161 |
|
o make gluemnc/xplodemnc work with (moron) non-GNU shell tools |
162 |
|
|
163 |
checkpoint63d (2011/10/25) |
checkpoint63d (2011/10/25) |
164 |
o pkg/obcs + seaice-dynamics: |
o pkg/obcs + seaice-dynamics: |
165 |
- new implementation calls OBCS_APPLY_UVICE (in seaice_dynsolver.F) before |
- new implementation calls OBCS_APPLY_UVICE (in seaice_dynsolver.F) before |