4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o gmredi (Visbeck-variable-K): |
8 |
|
- fix the "OLD_VISBECK_CALC" option + move the #undef to GMREDI_OPTIONS.h |
9 |
|
- change computation of Visbeck-K where Slope > Smax : |
10 |
|
now: N*min(Slope,Smax) (similar to OLD_VISBECK_CALC with gkw91 taperFct) |
11 |
|
previously was: M*sqrt(min(Slope,Smax)) ; update ideal_2D_oce output. |
12 |
|
o bottom-drag in P-coord.: change units of bottomDragLinear & bottomDragQuadratic |
13 |
|
to be the same as with Z-coord. (i.e., m/s & no-units respectively). |
14 |
|
o calc_viscosity: fix index range (was wrong for CD-Scheme & explicit Visc) |
15 |
|
o pkg gmredi, linear & fm07 tapering: put an upper limit on Slope^2 so that Kwz |
16 |
|
does not become too large (to avoid precision problems in implicit-diffusion |
17 |
|
solver); update ideal_2D_oce output. |
18 |
|
o pkg ggl90: |
19 |
|
- in ggl90_cal.F: compute only one set of visc/diff, used to |
20 |
|
step forward TKE/T/S/momentum |
21 |
|
- default value of GGL90viscMax/GGL90diffMax larger and equal (to |
22 |
|
have Prandlt =1) |
23 |
|
o gmredi (fm07): |
24 |
|
- add lower limit on Transition layer thickness + lower limit on 1/lambda |
25 |
|
- allow to set few more params from data.gmredi |
26 |
|
o pkg ggl90: |
27 |
|
- add missing sqrt(2) factor in computation of mixing length |
28 |
|
scale in ggl90_calc.F |
29 |
|
(see Eq. (2.35) in Blanke and Delecluse, JPO, 1993) |
30 |
|
|
31 |
|
checkpoint61d |
32 |
|
o adjoint modifs |
33 |
|
- adapt to new field rhoInSitu |
34 |
|
- allow to revert from StoreDynVars2D, StoreDynVars3D |
35 |
|
to individual fields |
36 |
|
(switches AUTODIFF_USE_OLDSTORE_2D, AUTODIFF_USE_OLDSTORE_3D) |
37 |
|
o store 3-D (in-situ) density in commom block (DYNVARS.h) |
38 |
|
- save 1 rho computation. |
39 |
|
- no longer modify T & S inland when using down_slope pkg. |
40 |
|
o gad_som : allow to switch to SOM advection for T & S without corresponding |
41 |
|
pickup files (using new S/R: MDS_CHECK4FILE). |
42 |
|
o keep removing _BEGIN/_END_MASTER between MDSIO S/R call |
43 |
|
(for useSingleCpuIO to work in multi-threaded) |
44 |
|
o pkg/shelfice: |
45 |
|
- disentangle parameters: retire shelfIceFile in data/PARM05 and substitute |
46 |
|
with SHELFICEtopoFile in data.shelfice |
47 |
|
- move code for reading ice shelf topography and modifying hFacC into separate |
48 |
|
subroutines of the shelfice package |
49 |
|
- separate initialisation of "fixed" and "variable" variables |
50 |
|
- kTopC is not (yet) replaced by kSurfC, although this is possible |
51 |
|
o fix broken diagnostic SIatmFW and changed the units from m/s to kg/m^2/s |
52 |
|
o add initialisation of deepFac if using Pcoords (new S/R set_grid_factors) |
53 |
|
and rename: |
54 |
|
ini_phiref.F --> set_ref_state.F (+ set anelastic factors) |
55 |
|
ini_reference_state.F --> load_ref_files.F (- set anelastic factors) |
56 |
|
o change FIND_RHO_SCALAR : return rho (instead of rho - rhoConst) |
57 |
|
|
58 |
|
checkpoint61c |
59 |
|
o add option ALLOW_ADDFLUID and run-time selector "selectAddFluid" |
60 |
|
to add mass source/sink of fluid in the interior (3-D generalisation |
61 |
|
of oceanic real-fresh water flux). |
62 |
|
o pkg/monitor: fix recip_dr argument in mon_advcflw2 call (-> advcfl_W_hf_max) |
63 |
|
o vermix test experiment: switch from LINEAR EOS to MDJWF (not tested before) |
64 |
|
o new pkg: down_slope |
65 |
|
density-driven downsloping flow parameterisation (Tellus, 1999, 412-430). |
66 |
|
- presently, modify T & S inland (dwnslp_calc_rho.F). |
67 |
|
can be avoided if rho was stored in common bloc and used in calc_phi_hyd. |
68 |
|
- implementation for ocean in P-coords not tested. |
69 |
|
- add secondary test to global_ocean.90x40x15 (input.dwnslp) to check this pkg. |
70 |
|
o move kSurfC,kSurfW & kSurfS from SURFACE.h to GRID.h (next to kLowC) |
71 |
|
(to facilitate conversion of oceanic pkg to p-coordinate). |
72 |
|
o change FIND_RHO to FIND_RHO_2D : |
73 |
|
pass arguments tFld & sFld as local (tile) 2D-arrays ; +fix EOS_CHECK. |
74 |
|
o new pkg: cheapaml |
75 |
|
|
76 |
|
checkpoint61b |
77 |
|
o exch2: |
78 |
|
change index bounds in rx2_cube exchanges (new S/R: EXCH2_GET_UV_BOUNDS) |
79 |
|
- no longer depend on the order sequence (N,S,E,W). |
80 |
|
- 3rd exchange no longer needed (tested with 24 tiles). |
81 |
|
- same modif to hand-written adjoint S/R (global_ocean.cs32x15: zero diff) |
82 |
|
- exch_UV_A-grid readily available (but not yet tested). |
83 |
|
comment out 3rd exch call and remove copy of V to U at SE & NE face-corners |
84 |
|
(both are no longer needed) in exch_uv: no effect in forward run; but |
85 |
|
get truncation error differences with adjoint exch. |
86 |
|
o exch2: |
87 |
|
- change index-bounds storage (moved from target to local tile, |
88 |
|
more intuitive this way) ; rename/remove some variables. |
89 |
|
- change utils/exch2/matlab-topology-generator & code_mods accordingly. |
90 |
|
|
91 |
|
checkpoint61a |
92 |
|
o exch2/matlab-topology-generator: |
93 |
|
fix bug in index bounds for N-S internal exchange (hard to tell if this |
94 |
|
had any effect on the solution). |
95 |
|
o pkg/mnc: small fix in mnc_handle_err: make sure that length of msgbuf |
96 |
|
is exceeded |
97 |
|
o testreport: modify syntax of awk, so that it works also with |
98 |
|
awk, and not only with nawk and gawk |
99 |
|
|
100 |
|
checkpoint61 |
101 |
|
o autodiff |
102 |
|
Change default for TAF usage by removing argument '-nonew_arg' |
103 |
|
This changes TAF subroutine argument list (ordering of active var.) |
104 |
|
Omission of this flag leads to incompatibility w.r.t. TAMC |
105 |
|
To restore TAMC-compatibility, need following modifs: |
106 |
|
* use adoptfile tools/adjoint_options/adjoint_tamc_compatibility |
107 |
|
* use CPP option #define AUTODIFF_TAMC_COMPATIBILITY |
108 |
|
Tested TAF version is 1.9.22 |
109 |
|
N.B.: exch2 hand-written adjoint code currently not TAMC compatible |
110 |
|
|
111 |
|
checkpoint60 |
112 |
|
--->>> This is the last checkpoint for which generating the adjoint |
113 |
|
--->>> is done via the TAMC-compatibility TAF-flag "-nonewarg" |
114 |
|
--->>> by default. |
115 |
|
--->>> Future checkpoints will ommit this flag by default. |
116 |
|
o pkg/generic_advdiff, os7mp: simplify and avoid division by zero. |
117 |
|
o pkg/grdchk: Add gradient check to etan0 perturbations. |
118 |
|
o pkg/exf: read ice area from file (#ifdef ALLOW_ICE_AREAMASK). |
119 |
|
o pkg/autodiff: more flexibility in zeroadj. |
120 |
|
model/src: modifying do_oceanic_phys.F accordingly. |
121 |
|
o pkg/ctrl: Bounds for (kapgm,kapredi,eddypsi) parameter estimation. |
122 |
|
o model/src and pkg/gmredi: GMREDI_WITH_STABLE_ADJOINT CPP option |
123 |
|
special setup of gmredi for which the adjoint is stable |
124 |
|
enough for parameter optimization. |
125 |
|
o bridging the gap between eddy stress and GM. |
126 |
|
-> eddyTau is replaced with eddyPsi (eddyTau = f x rho0 x eddyPsi) |
127 |
|
along with a change in CPP option (now ALLOW_EDDYPSI). |
128 |
|
-> when using GM w/ GM_AdvForm: |
129 |
|
The total eddy streamfunction (Psi = eddyPsi + K x Slope) |
130 |
|
is applied either in the tracer Eq. or in momentum Eq. |
131 |
|
depending on data.gmredi (intro. GM_InMomAsStress). |
132 |
|
-> ALLOW_EDDYPSI_CONTROL for estimation purpose. |
133 |
|
The key modifications are in model/src/taueddy_external_forcing.F |
134 |
|
pkg/gmredi/gmredi_calc_*F pkg/gmredi/gmredi_*transport.F |
135 |
|
|
136 |
|
checkpoint59r |
137 |
|
o new S/R (pkg/mdsio/mdsio_facef_read.F) reading of sNx+1 x sNy+1 array |
138 |
|
from per-face file (take S/R READSYMTILE_RS out of ini_curvilinear_grid.F); |
139 |
|
fix option to read coriolis(@ cell-corner) from files with CS-grid. |
140 |
|
o pkg/mnc: add some attributes to standard 1D-coordinate variables |
141 |
|
o pkg/diagnostics: enforce missing_value attribute for scalar variables at |
142 |
|
mass points, when using mnc for output |
143 |
|
- add runtime parameter (missing_value, missing_value_int) to override |
144 |
|
default (which is the value of getcon('UNDEF')) |
145 |
|
o pkg/mnc: prepare mnc for the actual use of missing values with the |
146 |
|
diagnostics package: small fix in mnc_cw_readwrite.template and more |
147 |
|
initialisation of never used fields |
148 |
|
- replace mnc_common.h and mnc_id_header.h with corresponding upper case |
149 |
|
versions |
150 |
|
o pkg/thsice/thsice_ini_vars.F added default initial values so that |
151 |
|
thermodynamics sea ice solver does not blow up when some initial fields |
152 |
|
are missing. |
153 |
|
o move from external_forcing_surf.F to ini_forcing.F |
154 |
|
the p-coord. hack consisting in using pLoad to set phi0surf ; |
155 |
|
update output of tutorial_global_oce_in_p (affected @ truncation level). |
156 |
|
o Freshen up a bit hs94.1x64x5, notably: |
157 |
|
remove rotationPeriod and tRef=5*0. (adjoint only), and add |
158 |
|
exactConserv=.TRUE. |
159 |
|
o pkg/generic_advdiff: |
160 |
|
change option GAD_ALLOW_SOM_ADVECT to GAD_ALLOW_TS_SOM_ADV which only |
161 |
|
applies to files where Temperature & Salinity 2nd Order moments are used. |
162 |
|
o pkg/ptracers: add second-order moment advection schemes (80 and 81); |
163 |
|
this uses a dynamically allocated internal state data structure |
164 |
|
(#define PTRACERS_ALLOW_DYN_STATE in PTRACERS_OPTIONS.h) |
165 |
|
and requires a fortran 90 compiler |
166 |
|
|
167 |
|
checkpoint59q |
168 |
|
o pkg/mom_vecinv: Add energy & enstrophy conserving scheme (selectVortScheme=3) |
169 |
|
(from Sadourny, described by Burridge & Haseler, ECMWF Rep.4, 1977) |
170 |
|
o Refresh tutorial_global_oce_biogeo, notably: |
171 |
|
- change bathymetry (put back seamounts in ACC, use hFacs) |
172 |
|
- change EOS (POLY3 --> JMD95Z) |
173 |
|
- use Bryan-Lewis vertical diffusivity |
174 |
|
- use multidimensional advection |
175 |
|
- remove old virtual virtual in dic pkg, now done through ptracer pkg |
176 |
|
- change a couple of parameters in dic pkg |
177 |
o pkg/ctrl: change formula in adctrl_bound.F and add a parameter to ctrl_map_ini_gen.F |
o pkg/ctrl: change formula in adctrl_bound.F and add a parameter to ctrl_map_ini_gen.F |
178 |
o pkg/obcs: change default to OBCSfixTopo = .true., |
o pkg/obcs: change default to OBCSfixTopo = .true., |
179 |
- set OBCSfixTopo=.false. in exp4/input/data.obcs to reproduce old result |
- set OBCSfixTopo=.false. in exp4/input/data.obcs to reproduce old result |