4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o adjoint monitor: |
8 |
|
- Add adjoint monitor output for packages exf, seaice |
9 |
|
and update relevant testreport output |
10 |
o pkg/seaice: |
o pkg/seaice: |
11 |
- seaice_growth.F : in EVOLUTION branch, always include |
- re-order diags inits so that they appear in order in available_diagnostics.log |
12 |
|
- added diags: hsnow thermo. rates of change, area preceeding ridiging process, |
13 |
|
area/heff/hsnow preceeding thermodynamic growth/melt. |
14 |
|
- modified diag: SIdA; output actual effect, as the description states. |
15 |
|
- modified description: SIqneti, SIqneto, SIuheff, SIvheff, SIdAb*, HSNOW. |
16 |
|
- retired redundant diags: SIyneg, SIfice, SIsnwice, SIthdgrh. |
17 |
|
(SIyneg->SIdHbOCN; SIfice->SIdHbATC; SIsnwice->SIdHbFLO; |
18 |
|
and SIthdgrh->SIdHbOCN+SIdHbATC+SIdHbATO) |
19 |
|
- modified diags (2) : switch all SIdA*, SIdH*, SIdS* from delta to rates. |
20 |
|
- added diagnostics for seaice generic tracers (SItr*). |
21 |
|
- added SItrUnit and SItrNameLong run time param (for SItr* diags). |
22 |
|
- in diag names, replaced 'PrTh' abbrev. of 'preceeding thermo' with 'PT'. |
23 |
|
I. Fenty: 18-Jun-2011: |
24 |
|
Minor changes to seaice package: |
25 |
|
1) Retired old variables (A22, SEAICE_lhsublim, areaMax, areaMin, hiceMin) and |
26 |
|
added some new ones (SEAICE_area_reg, SEAICE_hice_reg, SEAICE_area_floor) |
27 |
|
- Differentiated "regularization variables" from "floor variables" |
28 |
|
* areaMin became SEAICE_area_reg (old A22) and SEAICE_area_floor |
29 |
|
* hiceMin became SEAICE_hice_reg (old hiceMin) |
30 |
|
(with _reg meaning regularization variable) |
31 |
|
- SEAICE_lhSublim becomes lhSublim, the sum of SEAICE_lhEvap and SEAICE_lhFusion |
32 |
|
so as to ensure energy conservation when going between phases |
33 |
|
- A22 was not used anywhere |
34 |
|
2) Changed regularization procedure for heffActual and hsnowActual to ensure |
35 |
|
well-boundedness and smooth adjoint in seaice_growth.F |
36 |
|
3) Fixed a bug where seaice_solve4temp would not recognize ice-free grid cells |
37 |
|
because the old regularization always set heffActual >= 0.05 cm |
38 |
|
4) Changed the model so that the default behavior is to put a small (10^-5) "floor" |
39 |
|
on AREA when HEFF > 0. |
40 |
|
- went from requiring ALLOW_PRECLUDE_INFINITESIMAL_AREA to be defined to |
41 |
|
requiring that DISABLE_AREA_FLOOR *not* be defined |
42 |
|
Affected verifications: |
43 |
|
- 1D_ocean_ice_column (output.txt output_adm.txt) |
44 |
|
- global_ocean.cs32x15 (output.seaice.txt output_adm.seaice.txt) |
45 |
|
o pkg/diagnostics: |
46 |
|
- move MNC code from diagnostics_out.F into new diagnostics_mnc_out.F (2 S/R). |
47 |
|
- rename S/R GETDIAG to DIAGNOSTICS_GET_DIAG and change type of 1rst argument |
48 |
|
(was _RL, now integer) with option = 0 to retrieve all levels. |
49 |
|
- add pieces of code to compute velocity potential at each level (new diagnostics |
50 |
|
PhiVEL, works only when UVELMASS & VVELMASS are also turned on); |
51 |
|
for now, using same params as CG2D (target-resisual, max Nb of iter ...). |
52 |
|
- fix few issues with counter diagnostics in diagnostics_setdiag.F & |
53 |
|
diagstats_setdiag.F (if diagnostic counter is itself a counter diag) |
54 |
|
and in diagnostics_fract_fill.F (do not need a valid pointer for the |
55 |
|
diagnostics counter-mate); check that definition of counter-diagnostic |
56 |
|
includes a valid counter-mate (in diagnostics_set_levels.F). |
57 |
|
o model/src (rStar): |
58 |
|
- add rStar scaling factor in diags_phi_hyd.F (similar to calc_grad_phi_hyd.F); |
59 |
|
affect solution only if z* with full pressure in EOS; |
60 |
|
update output of test-exp global_ocean.90x40x15. |
61 |
|
o pkg/seaice: |
62 |
|
- introduce siEps=1e-5 parameter |
63 |
|
- use areaMax in AREA update (part 4), consistent with ridging step (part 2.5). |
64 |
|
- re-organize SEAICE_ADD_SUBLIMATION_TO_FWBUDGET code. |
65 |
|
- introduce ALLOW_SITRACER and seaice_tracer_phys.F to handle generic seaice tracer. |
66 |
|
For now it covers, and was tested for, ice salinity and age (attached to HEFF), |
67 |
|
as well as ice cover age and ridging index (attached to AREA). |
68 |
|
For now the run time parameters (in data.seaice/SEAICE_PARM03) are |
69 |
|
SItrName (e.g. 'age') and SItrMate ('HEFF', which is the default, or 'AREA'). |
70 |
|
Up to SItrMaxNum=3 tracers can be used simultaneously. |
71 |
|
o pkg/salt_plume: |
72 |
|
-introduce SPsalFRAC run time parameter that sets the fraction of the |
73 |
|
salt by-product of ice growth (SPsalFRAC*(1-SIsalFRAC)*salt typically) |
74 |
|
that gets vertically redistributed (fluxed down) by pkg/salt_plume. |
75 |
|
o model debug options: |
76 |
|
- Switch reading of debugMode from S/R INI_PARMS (parameter file "data", stored |
77 |
|
in PARAMS.h) to S/R EESET_PARMS (parameter file "eedata", stored in EEPARAMS.h). |
78 |
|
- Refine debug-msg printing selection (3 new levels): |
79 |
|
debugMode : controls printing of debug messages (sequence of S/R calls). |
80 |
|
debugLevel : controls printing of algorithm-relevant auxiliary/debug messages |
81 |
|
debLevZero = 0 ; /* level of disabled aux. msg printing */ |
82 |
|
debLevA = 1 ; /* level of minimum aux. msg printing */ |
83 |
|
debLevB = 2 ; /* level of low aux. print (report read-file opening)*/ |
84 |
|
debLevC = 3 ; /* level of moderate debug prt (most pkgs debug msg) */ |
85 |
|
debLevD = 4 ; /* level of enhanced debug prt (add DEBUG_STATS prt) */ |
86 |
|
debLevE = 5 ; /* level of extensive debug printing */ |
87 |
|
New debugLevel default: with default debugMode value (=F), |
88 |
|
= 2 (debLevB) or = 1 (debLevA) in case ALLOW_AUTODIFF is defined.; |
89 |
|
and if debugMode=T, default debugLevel = 4 (debLevD). |
90 |
|
Relation with previous settings: |
91 |
|
debLevB (=2) corresponds to former debLevA (=1) |
92 |
|
debLevD (=4) corresponds to former debLevB (=2) |
93 |
|
Note: |
94 |
|
a) if debugLevel=0, skip WRITE_GRID call when nIter0 > 0 (same as before); |
95 |
|
b) default debugLevel=1 is convenient in AD runs (avoid many file opening msgs); |
96 |
|
to recover previous default, set debugLevel=2 (e.g. AD-test hs94.1x64x5) |
97 |
|
- Add new parameter (printResidualFreq, read from PARM02 namelist) to print |
98 |
|
detailed CG solvers convergence; off (=0) by default, except if debugLevel=5. |
99 |
|
o pkg/obcs: |
100 |
|
- change OBCSfixTopo default from True to False (should not change the results); |
101 |
|
keep OBCSfixTopo=T in verification-exp. seaice_obcs. |
102 |
|
o pkg/thsice: |
103 |
|
- fix bug in thsice_calc_thickn.F (was introduced in version 1.18) in |
104 |
|
2nd layer seaice sublimation (unlikely to happen) |
105 |
|
- use Interior mask for OBCS in thsice_advection.F (similar to what is |
106 |
|
done in gad_advection & seaice_advection). |
107 |
|
o adjoint: |
108 |
|
bug fix spotted by Gael Forget: |
109 |
|
seaice_advection and thsice_advection still had |
110 |
|
legacy CPP options to avoid CS corner updates for adjoint |
111 |
|
o pkg/seaice: |
112 |
|
=> Change some of the defaults (2011/05/29): |
113 |
|
- change SEAICEuseFluxForm default (from False to True) |
114 |
|
- change DIFF1 default (from 0.004 m/s to 0. m/s) |
115 |
|
And print warnings if DIFF1 is not set in data.seaice and centered |
116 |
|
avection scheme is used without any diffusion. |
117 |
|
also: |
118 |
|
- fix seaice_diffusion calls in default AdvScheme part of seaice_advdiff.F; |
119 |
|
- set SEAICEdiffKh[] default in the same way as SEAICEadvSch[] |
120 |
|
- stop if DIFF1<>0 with SEAICEadvScheme <> 2, if DIFF1<>0 with any |
121 |
|
other non-zero SEAICEdiffKh[] diffusivity, if SEAICEadvSalt=T with |
122 |
|
#undef SEAICE_VARIABLE_SALINITY, if SEAICEadvAge=T with #undef SEAICE_AGE. |
123 |
|
update results of test exp.: |
124 |
|
lab_sea: output.fd (switch to AdvScheme=33 with diffKh=20) |
125 |
|
output.hb87, output_adm.evp (SEAICEuseFluxForm=T and diffKh=200) |
126 |
|
output_adm.noseaicedyn (SEAICEuseFluxForm=T) |
127 |
|
offline_exf_seaice: output.seaicetd, output_adm (SEAICEuseFluxForm=T) |
128 |
|
seaice_obcs: output (SEAICEuseFluxForm=T) |
129 |
|
and prescribe old default for SEAICEuseFluxForm (=F) and DIFF1 (=0.004) |
130 |
|
for standard fwd & AD lab_sea tests (to keep the same output). |
131 |
|
o pkg/seaice/seaice_growth.F: |
132 |
|
- use Ian Fenty's capping formulas for actual ice |
133 |
|
thickness thoughout EVOLUTION branch. |
134 |
|
- put treatment pathological case #2) in CPP brackets |
135 |
|
(ALLOW_AVOID_INFINITESIMAL_AREA, undef by default). |
136 |
|
- update global_ocean.cs32x15 and 1D_ocean_ice_colum results accordingly. |
137 |
|
o pkg/seaice: |
138 |
|
- seaice_diffusion.F : remove the min(DX,DY) factor permanently; |
139 |
|
pass the Laplacian diffusivity (in m^2/s) diffKh as a parameter; |
140 |
|
also pass fac as a param, which can be 1. (to update the tendency |
141 |
|
field) or the time step (to update the field itself). |
142 |
|
- seaice_advdiff.F: for multidim, call seaice_diffusion with |
143 |
|
e.g. SEAICEdiffKhHeff and with fac=1; for single-dim, call |
144 |
|
seaice_diffusion with e.g. SEAICEdiffKhHeff and with fac=time step. |
145 |
|
- SEAICE_PARAMS.h, seaice_readparms.F, seaice_check.F : |
146 |
|
hooks to handle SEAICEdiffKhHeff, SEAICEdiffKhArea, etc. |
147 |
|
o pkg/seaice: |
148 |
|
diffusion with centered advection scheme (diffus.F & advect.F): |
149 |
|
- simplify S/R DIFFUS (put deltaT & DIFF1 factor outside, move EXCH outside) |
150 |
|
to just compute the laplacian of input-field. |
151 |
|
- unroll k loop (harmonic,biharmonic diff) in advect.F to save 1 exch call. |
152 |
|
- fix flux-form version in diffus.F to conserve tracer. |
153 |
|
update output of lab_sea.fd & lab_sea.hb87 (1rst set of modif affects |
154 |
|
machine truncation) and lab_sea.salt_plume (conservative flux-form modif) |
155 |
|
|
156 |
|
checkpoint62y (2011/05/26) |
157 |
|
o pkg/seaice: |
158 |
|
- seaice_growth.F : in EVOLUTION branch, always include |
159 |
a_QSWbyATM_cover in qnet (as it should be). |
a_QSWbyATM_cover in qnet (as it should be). |
160 |
- verification/global_ocean.cs32x15 : update results accordingly |
- verification/global_ocean.cs32x15 : update results accordingly |
161 |
(output.seaice.txt output_adm.seaice.txt). |
(output.seaice.txt output_adm.seaice.txt). |
162 |
o pkg/seaice + obcs: |
o pkg/seaice + obcs: |
163 |
- use maskInW & maskInS in multi-dim advection and biharmonic diffusion: |
- use maskInW & maskInS in multi-dim advection and biharmonic diffusion: |
164 |
equivalent of assuming no tracer gradient outside the OB region. |
equivalent of assuming no tracer gradient outside the OB region. |