4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o pkg/exf (interpolation): |
8 |
|
- add a set of run-time param ({inputfield}_interpMethod), one for |
9 |
|
each interpolated input field, to select the interpolation method |
10 |
|
with a value of zero switching off the interpolation; |
11 |
|
- print interpolation parameters to standard output; |
12 |
|
- refine exf_check.F accordingly ; stop if USE_NO_INTERP_RUNOFF is defined |
13 |
|
(to use instead runoff_interpMethod=0 in data.exf). |
14 |
|
o pkg/exf/exf_radiation.F: add the factor ocean_emissivity to lwdown, for |
15 |
|
within #ifdef EXF_LWDOWN_WITH_EMISSIVITY/#endif. Unless ocean_emissivity=1. |
16 |
|
this factor is absolutely required, because the lw exitance (= out-going |
17 |
|
long wave radiation) is emissivity*stefanBoltzmann*T^4 + rho*lwdown, |
18 |
|
where the reflectivity rho = 1-emissivity for conservation reasons. Once |
19 |
|
this is established, we can remove the CPP-Flag (if we want to). |
20 |
|
o pkg/seaice: |
21 |
|
- qualify a stop statement in S/R seaice_check: EXF_READ_EVAP and |
22 |
|
ALLOW_BULKFORMULAE are only required if SEAICE_EXTERNAL_FLUXES is defined |
23 |
|
- sort out emissivity and long wave radiation, step 1: make SEAICE_emissivity |
24 |
|
what the name implies (and not emissivity*BoltzmannConstant), this means |
25 |
|
the old default value of 5.5e-8 now means |
26 |
|
5.5e-8/5.670e-8 = 0.97001763668430343479 as ocean_emissivity in |
27 |
|
S/R exf_readparms |
28 |
|
- FV-discretization of the B-grid LSOR solver, turn on with |
29 |
|
SEAICE_LSRBNEW. This new solver also involves a slight re-organization |
30 |
|
of the calling routine dynsolver, so that B and C-grid code look a |
31 |
|
little more alike. |
32 |
|
- fix index bugs in ostres.F (B-grid code) |
33 |
|
o pkg/seaice/seaice_ocean_budget.F: change (unused) code to make it look better |
34 |
|
o pkg/seaice/seaice_readparms.F: make ocean_emissivity*stefanBoltzmann the |
35 |
|
default for SEAICE_emissivity, if useEXF; requires setting a wrong |
36 |
|
parameter value in global_ocean.cs32x15/input.seaice/data.seaice for |
37 |
|
backward compatiblity |
38 |
|
o model/src: use sigmaR in calc_ivdc |
39 |
|
|
40 |
|
checkpoint63g (2011/12/16) |
41 |
|
o pkg/seaice/seaice_growth.F: |
42 |
|
fix heat conservation of the coupled ocean-seaice system. |
43 |
|
when SEAICE_HEAT_CONSERV_FIX is defined, the mismatch of |
44 |
|
solid vs liquid water treatment is resolved via QNET. |
45 |
|
o pkg/seaice/seaice_growth.F: |
46 |
|
add missing term for sublimation in saltFlux, which was breaking conservation. |
47 |
|
o pkg/seaice/seaice_model.F: |
48 |
|
Remove this patholigical case treatment in evolution branch, |
49 |
|
where it is un-necessary and breaks conservation. |
50 |
|
Update global_ocean.cs32x15/results accordingly for |
51 |
|
output.seaice.txt output_adm.seaice.txt and output_adm.seaice_dynmix.txt |
52 |
|
o model/src: |
53 |
|
useRealFreshWaterFlux: remove masking of EmPmP (using maskInC) in |
54 |
|
external_forcing_surf.F and apply mask directly in S/R SOLVE_FOR_PRESSURE. |
55 |
|
o pkg/obcs: |
56 |
|
modify Stevens boundary conditions so that S/R obcs_calc_stevens computes |
57 |
|
tendency for temperature and salinity that is then applied to update |
58 |
|
theta and salt in S/R obcs_apply_ts; this requires proper masking of all |
59 |
|
horizontal advection and diffusion contributions on the boundary (in |
60 |
|
S/Rs gad_advection, gad_calc_rhs, gmredi_rtransport, gmredi_calc_diff), and |
61 |
|
removing the mask in S/R timestep_tracer. The advantage of this approach is |
62 |
|
that the updated tracer values include contributions from the surface |
63 |
|
forcing and vertical diffusion. |
64 |
|
This modification changes exp4.stevens because of vertical diffusion. |
65 |
|
o model/src: |
66 |
|
change non-curvilinear grid setting to also work with exch2 + blank tiles: |
67 |
|
- move delX,delY to new header file (SET_GRID.h) and adjust length to 1rst |
68 |
|
face dimensions. |
69 |
|
- new S/R INI_LOCAL_GRID to define model tile-local grid (using same units |
70 |
|
as delX,delY) and called from S/R INI_CARTESIAN_GRID, INI_CYLINDER_GRID |
71 |
|
and INI_SPHERICAL_POLAR_GRID. |
72 |
|
change test-experiment global_ocean.90x40x15: |
73 |
|
- split the domain in many more tiles (9x4 tiles of 10x10 each); |
74 |
|
- switch to exch2 and remove 1 blank-tile (but only for MPI test). |
75 |
|
- update results of both test (std & dwnslp). |
76 |
|
o pkg/diagnostics/diagstat_calc.F: fix problem with non-initialised halos in |
77 |
|
tmp-fields for TARGET_NEC_SX at the cost of extra loops and less vectorisation |
78 |
|
o model/src: |
79 |
|
- take sigma-coords related code out of update_etah.F into new S/R UPDATE_ETAWS |
80 |
|
and fix initialisation when using sigma-coords. |
81 |
|
o model/src: |
82 |
|
- improve Gael's changes from Jan 14, 2011 "addition of an 'update' of hfacc etc. |
83 |
|
to their current value at the beginning of forward_step.F": add a new run-time |
84 |
|
switch "doResetHFactors" (default=false) and use it to do (or not) the resetting. |
85 |
|
- set doResetHFactors=T in the following test exp: |
86 |
|
global_ocean.90x40x15/input (rStar) & input.dwnslp (linFS), |
87 |
|
global_ocean.cs32x15/input.seaice (rStar), hs94.cs-32x32x5/input.impIGW (linFS) |
88 |
|
and tutorial_global_oce_in_p (nonLinFS in p) |
89 |
|
o pkg/ecco |
90 |
|
- added IES cost term |
91 |
|
o verification/advect_xz |
92 |
|
- scale down the depth by 1/100 (from 200 km to just 2.km) |
93 |
|
- add secondary test using divergent flow, r-star and implicit vertical advection. |
94 |
|
- add note (check_conserve_TS.txt) and matlab script to check global |
95 |
|
conservation of T & S with NonLin-FreeSurf and Adams-Bashforth. |
96 |
|
o pkg/rbcs: |
97 |
|
- add missing relaxUFile & relaxVFile in namelist (in rbcs_readparms.F). |
98 |
|
o pkg/obcs (Stevens BCs): |
99 |
|
- fix various problems in the phase speed computations of the Stevens |
100 |
|
boundary conditions: |
101 |
|
- sign error for western and southern boundaries, |
102 |
|
- time tendencies were underestimated by factor of dTracerLev and some just |
103 |
|
zero (for multidim advection schemes) -> now estimate time tendencies |
104 |
|
from difference between previous (n) time level and the one before (n-1); |
105 |
|
this requires storing a field per tracer per boundary, also in the pickup |
106 |
|
files. |
107 |
|
- replace deltaTmom in cflMer/Zon computation with dTracerLev |
108 |
|
- set default phase velocity to cflMer/Zon |
109 |
|
- update verification experiment exp4.stevens |
110 |
|
o pkg/generic_advdiff (implicit_r): |
111 |
|
- fix implicit vertical advection conservation with AB and/or NonLin-FreeSurf |
112 |
|
(remove Tr*d/dz(w) in gad_implicit_r.F and add it in gad_calc_rhs.F); |
113 |
|
- fix implicit vertical diffusion or advection with NonLin FreeSurf |
114 |
|
(was using current recip_hFacC instead of future recip_hFacC): set future |
115 |
|
recip_hFac in thermodynamics.F and pass & use it in all vertical implicit |
116 |
|
solver S/R ; |
117 |
|
- fill diagnostics of vertical advective fluxes (computed from tendency) |
118 |
|
when using implicit vert. advection; |
119 |
|
- update output of exp that uses NonLin-FreeSurf & implicit vertical diffusion: |
120 |
|
global_ocean.90x40x15 (fwd+AD), global_ocean.cs32x15 (4 fwd +4 AD), |
121 |
|
tutorial_global_oce_in_p (fwd), tutorial_tracer_adjsens (AD) |
122 |
|
and cpl_aim+ocn (used in ocean); to be fixed: bottom_ctrl_5x5. |
123 |
|
o pkg/diagnostics: |
124 |
|
- add diags for T & S tendency which goes through Adams-Bashforth. |
125 |
|
|
126 |
|
checkpoint63f (2011/11/30) |
127 |
|
o pkg/obcs/obcs_calc_stevens.F: |
128 |
|
- join some loops to reduce number of if-statements |
129 |
|
- fix a bug in code for northern and southern boundaries. |
130 |
|
o pkg/seaice/seaice_init_varia.F |
131 |
|
- undo resetting UVM=0 that has slipped in unnoticed in r1.49 and |
132 |
|
caused zero ice-velocities for the B-grid code |
133 |
|
o pkg/seaice/seaice_init_fixed.F |
134 |
|
- fix a bug in the initialisation of the second metric terms |
135 |
|
k2AtC and k2AtZ: k2AtC was set to the value of k2AtZ and k2AtZ was 0. |
136 |
|
- this affects all seaice configurations with useCurviLinearGrid = .true. |
137 |
|
and SEAICEuseDynamics = .true. (default) and SEAICEuseMetricTerms |
138 |
|
= .true. (default) |
139 |
|
- the only verification experiment affected is global_ocean.cs32x15: |
140 |
|
icedyn, seaice, and seaice_dynmix (AD) |
141 |
|
o pkg/thsice/thsice_diagnostics_state.F |
142 |
|
- only for TARGET_NEC_SX: initialise all of tmpFld, so that overlap does |
143 |
|
not contain garbage that can lead to surprises in diagstats_calc.F |
144 |
|
o model/src: |
145 |
|
- move bi,bj loops inside INTEGR_CONTINUITY ; |
146 |
|
- call INTEGR_CONTINUITY directly from forward_step.F |
147 |
|
(previously called from momentum_correction_step.F) |
148 |
|
- call UPDATE_ETAH from integr_continuity.F and update initialise_varia.F, |
149 |
|
forward_step.F and pkg/ecco/the_main_loop.F |
150 |
|
o model/src/do_oceanic_phys.F: |
151 |
|
- reset addMass to zero only if useICEFRONT ; |
152 |
|
- separated k-loop for rhoInSitu calculation ; |
153 |
|
- add 2 diagnostics for wVel*delta^k(Rho) at constant pressure (= WdRHO_P) |
154 |
|
and at constant T,S (= WdRHOdP); |
155 |
|
NOTE: change diagnostics WRHOMASS : this is now simply the Vertical transport |
156 |
|
of In-Situ Density (Anomaly) (=wVel*rho^bar-k) (previously was Vertical |
157 |
|
transport of locally-referenced potential density); |
158 |
|
to recover old diag: (WRHOMASS)_old = (WRHOMASS)_new -1/2 * (WdRHOdP) |
159 |
|
o gluemnc: |
160 |
|
- replace ncrcat with ncks when adding variables to *.glob.nc |
161 |
|
- change the way variables without record dimensions are handled so that |
162 |
|
files that have variables with and without record variables can be glued: |
163 |
|
add a record dimension with a new unique name to be able to differentiate |
164 |
|
between variable with and without a-prior record dimensions. Remove |
165 |
|
this record dimension before adding the variable to the *.glob.nc file. |
166 |
|
This procedure automatically works also for grid.*.nc files that do not |
167 |
|
have any record dimension. |
168 |
|
o verification/cpl_aim+ocn: |
169 |
|
- generate new reference output on baudelaire (gfortran, mpich2) (previously |
170 |
|
from old aces-grid cluster, ao + ifort) and update 'run_cpl_test' script. |
171 |
|
o pkg/obcs/obcs_calc_stevens.F: |
172 |
|
- add code for northern and southern boundaries. |
173 |
|
- reorder some loops to save some operations and so that drFBar can be scalar |
174 |
o model/src: |
o model/src: |
175 |
- re-arrange extrapolation calculation in Adams-Bashforth S/R (affects machine |
- re-arrange extrapolation calculation in Adams-Bashforth S/R (affects machine |
176 |
truncation) and add diagnostics for Adams-Bashforth tendency increment. |
truncation) and add diagnostics for Adams-Bashforth tendency increment. |