4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/seaice: |
8 |
|
diffusion with centered advection scheme (diffus.F & advect.F): |
9 |
|
- simplify S/R DIFFUS (put deltaT & DIFF1 factor outside, move EXCH outside) |
10 |
|
to just compute the laplacian of input-field. |
11 |
|
- unroll k loop (harmonic,biharmonic diff) in advect.F to save 1 exch call. |
12 |
|
- fix flux-form version in diffus.F to conserve tracer. |
13 |
|
update output of lab_sea.fd & lab_sea.hb87 (1rst set of modif affects |
14 |
|
machine truncation) and lab_sea.salt_plume (conservative flux-form modif) |
15 |
|
|
16 |
|
checkpoint62y (2011/05/26) |
17 |
|
o pkg/seaice: |
18 |
|
- seaice_growth.F : in EVOLUTION branch, always include |
19 |
|
a_QSWbyATM_cover in qnet (as it should be). |
20 |
|
- verification/global_ocean.cs32x15 : update results accordingly |
21 |
|
(output.seaice.txt output_adm.seaice.txt). |
22 |
|
o pkg/seaice + obcs: |
23 |
|
- use maskInW & maskInS in multi-dim advection and biharmonic diffusion: |
24 |
|
equivalent of assuming no tracer gradient outside the OB region. |
25 |
|
update output of seaice_obcs (uses DIFF1 <>0 => biharmonic diffusion) |
26 |
|
- remove calls to OBCS_COPY_TRACER after EXCH calls (no longer needed |
27 |
|
after changes above); |
28 |
|
- obcs+seaice cleaning: apply seaice-tracer OB values to tracer field |
29 |
|
only at OB location (instead of over a band of OLx width). |
30 |
|
o pkg/seaice: |
31 |
|
- fix wrong indices in old (non Flux-Form) diffusion default S/R diffus.F |
32 |
|
(dxG(I+1, ...) changed to dxG(I, ...), no impact on Lat-Lon grid) |
33 |
|
o pkg/obcs: |
34 |
|
- split header file "OBCS.h" into 4 separated files: |
35 |
|
OBCS_PARAMS.h, OBCS_GRID.h, OBCS_FIELDS.h & OBCS_SEAICE.h |
36 |
|
Note: OBCS_PARAMS.h & OBCS_GRID.h can be included without OBCS_OPTIONS.h |
37 |
|
(contain no conditional statement which depends on OBCS options). |
38 |
|
- move "useOBCSYearlyFields" from "data.obcs" (hold in OBCS_PARAMS.h) |
39 |
|
to parameter file "data.exf", namelist EXF_NML_OBCS (in EXF_PARAM.h). |
40 |
|
o ctrl, cost, grdchk & autodiff pkgs: |
41 |
|
- make options file more standard (like other {PKG}_OPTIONS.h file but |
42 |
|
with AD_CONFIG.h); clean-up some of the included header files. |
43 |
|
o pkg/obcs: |
44 |
|
- do not mask tracer when applying OB (tracer == 0 could generate problems) |
45 |
|
- apply tracer OB values to tracer field only at OB location (instead of |
46 |
|
over a band of OLx width) |
47 |
|
- clean-up obcs_apply_w.F & obcs_apply_eta.F (since less calls to these S/R) |
48 |
|
- remove OBCS_MULTIDIM_OLD_VERSION code in gad_advection.F and remove |
49 |
|
obcs_apply_tloc.F & obcs_apply_sloc.F |
50 |
|
o obcs in model/src: |
51 |
|
- call OBCS_APPLY_W only if NonHydrostatic. |
52 |
|
- call OBCS_APPLY_ETA only if NonLinFreeSurf. |
53 |
|
- reset dEtaHdt and wVel to zero outside OB interior region ; |
54 |
|
- leave tracer unchanged outside OB interior region: This has no effect |
55 |
|
on the solution but just to prevent unrealistic tracer value outside OB. |
56 |
|
- zero out velocity outside OB interior region: This has no effect on |
57 |
|
the solution but just to prevent unrealistic velocity outside OB. |
58 |
|
o obcs and non-lin free-surf: |
59 |
|
move call to OBCS_APPLY_R_STAR from update_r_star.F to calc_r_star.F |
60 |
|
and call to OBCS_APPLY_SURF_DR from update_surf_dr.F to calc_surf_dr.F |
61 |
|
+ add argument "etaFld" to OBCS_APPLY_R_STAR & OBCS_APPLY_SURF_DR: |
62 |
|
this fixes missing EXCH + get consistent eta OB value (+ fix restart). |
63 |
|
update results of test-exp. exp4(nlfs). |
64 |
|
o exp4 (nlfs) test-exp: |
65 |
|
use OBC for Eta at Western & Eastern OB (to test prescribing Eta |
66 |
|
with NonLin-FreeSurf); update output.nlfs.txt |
67 |
|
o obcs and 2d/3d solver norm: |
68 |
|
use interior masks (maskInC) to cancel out cg2d & cg3d matrix coeff at OB |
69 |
|
and outside OB interior region (will allow to place OB further inside the |
70 |
|
domain). Depending on the domain, can affects cg2d-Norm (previous |
71 |
|
cancellation outside OB was only partial), e.g. in exp4 & obcs_ctrl, |
72 |
|
and cg3d-Norm (previous Norm was computed before canceling OB terms), |
73 |
|
e.g. in tutorial_plume_on_slope. |
74 |
|
- update output of exp.: exp4 (x2), obcs_ctrl and tutorial_plume_on_slope. |
75 |
|
o pkg rbcs: |
76 |
|
- split RBCS.h into 3 files: RBCS_SIZE.h, RBCS_PARAMS.h & RBCS_FIELDS.h |
77 |
|
- add capability to apply relaxation to horizontal velocity uVel & vVel. |
78 |
|
o pkg/grdchk: add gradient check for control variable xx_shifwflx |
79 |
|
o pkg/shelfice/shelfice_init_fixed.F |
80 |
|
fix CPP-flag combinations |
81 |
|
o pkg/seaice: Merge iceage code of Pierre Rampal |
82 |
|
* update/change/correct ice age calculations |
83 |
|
* add age updates for pathological cases |
84 |
|
Probably needs more testing... |
85 |
|
|
86 |
|
checkpoint62x (2011/05/13) |
87 |
|
o pkg/mom_vecinv: |
88 |
|
high-order vorticity scheme: use interior masks (maskInW & S) |
89 |
|
to zero-out (outside OB) gradient of vorticity. |
90 |
|
o verification exp.: |
91 |
|
turn on "useEnergyConservingCoriolis" (better discretisation) in exp. |
92 |
|
hs94.128x64x5 and seaice_obcs ; update results. |
93 |
|
o pkg/obcs: |
94 |
|
fix bug in OBeta for YZ sections in obcs_exf_load.F |
95 |
|
o pkg/ctrl, pkg/shelfice, and optim: |
96 |
|
- add new control variable xx_shifwflx (fresh water flux underneath ice |
97 |
|
shelves). This is almost as tedious as obcs-ctrl, because the |
98 |
|
variables needs its own mask. |
99 |
|
- add a cost function term that penalizes the deviation of xx_shifwflx |
100 |
|
from the first guess (zero) in analogy to other control variables |
101 |
|
o pkg/shelfice: |
102 |
|
- start basic adjoint |
103 |
|
o pkg/ctrl: |
104 |
|
- remove extra 2D field "for good measure" when initializing in |
105 |
|
ctrl_set_globfld_[xy/xz/yz].F |
106 |
|
- replace hard coded precision 32 (a bug) in ctrl_map_ini_gen by ctrlprec |
107 |
|
- improve error messages in ctrl_set_unpack_* |
108 |
|
o OBC implementation in momentum: |
109 |
|
use interior masks (maskInC,W & S) in momentum S/R: |
110 |
|
- multiply divergence, tension and some del^i.u or del^j.v by maskInC |
111 |
|
- multiply del2u,del2v by maskInW/S (biharmonic viscosity) |
112 |
|
- multiply horiz. grad of vorticity by maskInW/S (in Leith scheme) |
113 |
|
- multiply gradient of wVel by maskInW/S in del2w calculation (NonHyd) |
114 |
|
Motivation: fix/clean implementation of OBC with biharmonic-viscosity |
115 |
|
(and also with Leith/Smagorinsky harmonic-viscosity). |
116 |
|
Update output of experiment dome and exp4 (+nlfs). |
117 |
|
o exp4 test-exp: |
118 |
|
- turn on: nonHydrostatic, exactConserv, viscA4 (with momDissip_In_AB=F) |
119 |
|
and prescribe time-varying OB (without pkg/exf) for zonal-velocity |
120 |
|
at Western & Eastern Boundaries (+/- 1 per-cent); Also prescribe |
121 |
|
time-varying OB at Western-side for wVel (NonHyd); update output. |
122 |
|
- add secondary set-up (.nlfs) using NonLin FreeSurf (z*) + mom_vecinv |
123 |
|
and biharmonic-viscosity ; also use prescribed time varying OB. |
124 |
|
o pkg/obcs: |
125 |
|
fix bug in OBWeta,OBWeta indices in obcs_apply_r_star.F |
126 |
|
o model/src: |
127 |
|
- fix startTime setting when baseTime<>0 & nIter0=0 are specified ; |
128 |
|
- initialise startTime & nIter0 with unlikely values: allows to set one |
129 |
|
from the other without ambiguity. |
130 |
|
o seaice_obcs test-exp.: |
131 |
|
add small diffK4T,S to test biharmonic diffusivity with OBCS ; update output. |
132 |
|
o pkg/obcs: |
133 |
|
- remove calls to OBCS_COPY_TRACER after EXCH for T,S & pTracer: |
134 |
|
no longer needed with maskInC,W,S in pkg/generic_advdiff. |
135 |
|
o pkg/seaice: |
136 |
|
- retired SEAICE_SALINITY and SEAICE_salinity in favor of |
137 |
|
SEAICE_VARIABLE_SALINITY and SIsalFRAC, respectively. |
138 |
|
- fixed bug in the initialization of sea ice salinity variable HSALT |
139 |
|
in seaice_init_varia.F (removed dependence on ICE2WATR) |
140 |
|
o fizhi-cs test exp.: |
141 |
|
switch reference output convention for these 2 non-standard test-exp, |
142 |
|
from: pgi 6.1-5 on faulks (FC.6, -of linux_ia32_pgf77+authors_fc5) |
143 |
|
to: ifort 11.1 on baudelaire (FC.13, -of linux_amd64_ifort11) |
144 |
|
reason: faulks might get retired soon and pkg/fizhi has still Pb with gfortran |
145 |
|
o model/inc: |
146 |
|
- change type of PmEpR array (from _RS to _RL) to fix restart (with "-use_r4") |
147 |
|
of exp. global_ocean.90x40x15 (Suncronous time-stepping + Real-FW + NonLin-FS) |
148 |
|
o pkg/seaice: |
149 |
|
- fix calculation of saltFlux and saltPlumeFlux when using SEAICE_SALINITY |
150 |
|
o verification/lab_sea, 1D_ocean_ice_column, seaice_obcs, global_ocean.cs32x15 |
151 |
|
- updated output*.txt files due to bug fixes in salt, saltPlumeFlux, |
152 |
|
and initial HSALT |
153 |
|
|
154 |
|
checkpoint62w (2011/04/26) |
155 |
|
o pkg/mom_fluxform: |
156 |
|
- fix calculation of del2u & del2v (no-slip BC) when using Non-Lin Free-Surf. |
157 |
|
- use parameter "sideDragFactor" in no-slip BC side-drag part. |
158 |
|
- update output of exp. global_ocean.90x40x15 |
159 |
|
o pkg/mom_vecinv: |
160 |
|
mask del2u & del2v (no effect on results, but cleaner & closer to mom_fluxform) |
161 |
|
o update seaice exp.: |
162 |
|
use more consistent parameter values (remove "backward compatability only": |
163 |
|
ICE2WATR, SEAICE_lhSublim, SEAICE_cpAir, SEAICE_rhoAir + set rhoConstFresh) |
164 |
|
related to thermodynamics seaice. Update output (fwd+AD) of exp.: |
165 |
|
1D_ocean_ice_column (x2), lab_sea (x8), ioffline_exf_seaice (x2) & seaice_obcs |
166 |
|
o update test-exp global_ocean.90x40x15: |
167 |
|
o use default CD_CODE_OPTIONS file (Adams-Bashforth on CD Mom & Coriolis). |
168 |
|
o increase Overlap size from 2 to 3 (to allow to test bi-harmonic Visc.) |
169 |
|
o new pickup-files from a 100.yr run with pkg/down_slope (input.dwnslp params) |
170 |
|
o turn on zStar & viscA4 in standard set-up (dir input/) |
171 |
|
and update output files: output.txt & output.dwnslp.txt |
172 |
|
o new AD-test experiment: obcs_ctrl |
173 |
|
(From Matt MITgcm_Contrib/SOSE/BoxAdj) to test OBCS as control vector. |
174 |
|
o pkg/dic: |
175 |
|
fix two bugs in handling water vapour pressure in carbonate chemistry |
176 |
|
and air-sea fluxes. Found by Val Bennington and Galen McKinley |
177 |
|
(add DIC Option = WATERVAP_BUG to recover old results) |
178 |
|
update output of tutorial_global_oce_biogeo (fwd+AD) & tutorial_dic_adjoffline |
179 |
|
o adding allowInteriorFreezing option to check for water below freezing point |
180 |
|
at depth and bring the negative heat anomaly to the surface level |
181 |
|
o pkgs _fields_load: |
182 |
|
- extend GET_PERIODIC_INTERVAL to deal with non-periodic case (from pkg/rbcs) |
183 |
|
- use new S/R GET_PERIODIC_INTERVAL in pkgs: |
184 |
|
bulk_force, cheapaml, cfc, dic, obcs (+ ctrl/ctrl_get_gen_rec), offline and |
185 |
|
rbcs to get interpolation weights and time reccord number. |
186 |
|
- fix multi-threading in aim_fields_load.F |
187 |
|
- apply EXCH to temp arrays [0,1] after reading in dic_fields_load.F |
188 |
|
o external_fields_load: |
189 |
|
new S/R GET_PERIODIC_INTERVAL to calculate which time-record (and linear |
190 |
|
interpolation weights) to use in a periodic time-series ; do not divide by |
191 |
|
time-step to convert to integer: |
192 |
|
- this fixes case where externForcingPeriod is not multiple of time-step |
193 |
|
(Thanks to Christopher L. Wolfe) |
194 |
|
- this fixes case where externForcingPeriod is an odd multiple of time-step |
195 |
|
(was wrong by half of time-step); update results of tutorial_global_oce_in_p. |
196 |
|
store index of time-record which is currently loaded: |
197 |
|
- works without any assumption on sequence of calls to EXTERNAL_FIELDS_LOAD ; |
198 |
|
- needed for the adjoint but not yet used because of extensive recomputations; |
199 |
|
(to be fixed soon) |
200 |
|
|
201 |
|
checkpoint62v (2011/04/02) |
202 |
|
o verification/1D_ocean_ice_column added to test Ian Fenty's |
203 |
|
pkg/seaice_growth.F modifications for improving sea ice code differentiability |
204 |
|
o update output of exp4, internal_wave, seaice_obcs, tutorial_plume_on_slope |
205 |
|
(new velocity statistics after changing maskInW & maskInS definition) |
206 |
|
o pkg/generic_advdiff with OBCS: |
207 |
|
use maksInW & maskInS in advective flux and in biharmonic diffusion calculation: |
208 |
|
equivalent to assumption of no tracer gradient outside the OB region. |
209 |
|
This will affect the results if using obcs+biharmonic diffusion. |
210 |
|
update output_adm.txt of experiment bottom_ctrl_5x5 (not expected since no obc) |
211 |
o pkg/obcs: |
o pkg/obcs: |
212 |
change definition of maskInW & maskInS: leave OB edges inside (maskIn=1) |
change definition of maskInW & maskInS: leave OB edges inside (maskIn=1) |
213 |
(e.g., maskInW(OB_Ie)=1 ) so that velocity normal-component at OB is still |
(e.g., maskInW(OB_Ie)=1 ) so that velocity normal-component at OB is still |