| 4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
| 5 |
============================== |
============================== |
| 6 |
|
|
| 7 |
|
o change forcing_In_AB to affects both T,S forcing and Momentum forcing |
| 8 |
|
(allow to differentiate between forcing components using new integer flags: |
| 9 |
|
momForcingOutAB=1/0 & tracForcingOutAB=1/0) |
| 10 |
|
and add new flag to put Dissipation tendency out of Adams-Bashforth. |
| 11 |
|
o ecco |
| 12 |
|
- enable trend removal from SSH anomaly obs. |
| 13 |
|
o adjoint |
| 14 |
|
- a fix for PmEpR when #undef EXACT_CONSERV |
| 15 |
|
- fix of "hidden" recomp. in thermodynamics (no TAF warnings) |
| 16 |
|
- try to fix "hidden" recomp. in forward_step for NLFS |
| 17 |
|
(NLFS seems broken sometimes after I checked it in) |
| 18 |
|
o seaice: |
| 19 |
|
- add c-grid version of the dynamic solver: |
| 20 |
|
+ three new routines that are the c-grid substitute lsr, dynsolver |
| 21 |
|
and ostres |
| 22 |
|
+ put a few fields that were local to dynsolver into global common |
| 23 |
|
blocks, so that I can move the computation of stresses etc into |
| 24 |
|
seaice_lsr (saves coding but may break the adjoint). |
| 25 |
|
- replace more hardwired parameters by runtime parameters |
| 26 |
|
- add ice masks that mask the rhs of the implicit solvers where there |
| 27 |
|
is no ice (commented out in seaice_dynsolver, because i am not sure |
| 28 |
|
if this works properly), eventually this should replace the clipping |
| 29 |
|
of ice velocities in seaice_dynsolver to +/-40cm/s. |
| 30 |
|
o remove the BUILD_INFO.h include from CPP_EEOPTIONS.h and explicitly |
| 31 |
|
include it only where its needed |
| 32 |
|
o move balancing of fluxes before the call of external_forcing_surf |
| 33 |
|
o seaice: |
| 34 |
|
- correct units of turning angles (now they are really in degrees) |
| 35 |
|
- move computation of GWATX/Y out of main routine into dynsolver |
| 36 |
|
- initialize GWATX/Y in seaice_init |
| 37 |
|
o Apply mask on Fresh-Water flux (needed for SSH forcing). |
| 38 |
|
update output.txt of exp. global_ocean_ebm & cpl_aim+ocn (affects cg2d residual) |
| 39 |
|
o seaice: add runtime flags for turning angles (default to zero) |
| 40 |
|
o Adding runtime parameter to exf/, ctrl/, to remove on-the-fly global mean |
| 41 |
|
and trend from exf forcing and ctrl control adjustments |
| 42 |
|
o fix variable aliasing in gad_calc_rhs that cannot be handled by TAF |
| 43 |
|
(since checkpoint57x_post) |
| 44 |
|
o change the default rotation period to 86164.s = the Earth rotation |
| 45 |
|
o 1rst implementation of Implicit IGW using the 3-D solver (use3Dsolver=T) |
| 46 |
|
and based on a reference stratification. Tested within hs94.cs-32x32x5. |
| 47 |
|
o seaice advection: add code for choosing between the default (2nd order |
| 48 |
|
central differences) and multiDim advection schemes provided by |
| 49 |
|
pkg/generic_advdiff |
| 50 |
|
o seaice: |
| 51 |
|
- removed all references to SEAICE_GRID.h fields from |
| 52 |
|
dynsolver, advect, diffus, lsr, without changing the results of lab_sea |
| 53 |
|
(cubed-sphere configuration will change a little) |
| 54 |
|
- grid computations in seaice_init are obsolete now. |
| 55 |
|
- cleaned up code a little so that is easier to read (hopefully). |
| 56 |
|
- added new (better?) discretizations of default advection and diffusion |
| 57 |
|
(turn on with SEAICEuseFluxForm) |
| 58 |
|
- replace 1 in 3d global fields by kSurface in growth.F |
| 59 |
|
|
| 60 |
|
checkpoint58a_post |
| 61 |
|
o seaice: |
| 62 |
|
- bug fix in advect.F |
| 63 |
|
o shelfice: |
| 64 |
|
- separate shelfice load anomaly from pload (breaks with time |
| 65 |
|
dependent forcing), => introduce constant field shelficeLoadAnomaly. |
| 66 |
|
Its default is 0., but it may be computed more cleverly from (unknown) |
| 67 |
|
t- and s-profiles (tRef, sRef) and actual EOS. For now this has to be |
| 68 |
|
done offline. A good approximation of the pressure load anomaly is |
| 69 |
|
necessary to avoid large initial adjustment processes underneath |
| 70 |
|
deep-reaching shelfice. |
| 71 |
|
- small fix in ISOMIP shelfice_thermodynamics |
| 72 |
|
- add more sophisticated thermodynamics of Hellmer (1989), this is |
| 73 |
|
now the default |
| 74 |
|
- give a few constants more intuitive names |
| 75 |
|
o add code to balance EmPmP and Qnet at the end of do_ocean_physics. Useful |
| 76 |
|
if bulk formulae are used in long integration (especially EmPmR). Turn |
| 77 |
|
on with balanceEmPmR = .true. or balanceQnet = .true. in data, PARM01 |
| 78 |
|
if balancePrintMean, the imbalance that is substracted is printed to |
| 79 |
|
STDOUT. |
| 80 |
|
o fix bug (typo) in obcs_apply_eta.F |
| 81 |
|
o add a new package shelfice which enables us to model the circulation |
| 82 |
|
underneath shelf-ice with draughts of hundreds of meters. |
| 83 |
|
- works |
| 84 |
|
- to do: + include improved thermodynamics |
| 85 |
|
+ check whether kSurfC (from model/inc/SURFACE.h) can be used |
| 86 |
|
instead of new field kTopC |
| 87 |
|
+ can we use topoFile, Ro_surf and existing code in ini_depth.F |
| 88 |
|
instead of new field R_shelfIce and new code in ini_depth.F |
| 89 |
|
and ini_mask_etc.F? |
| 90 |
|
+ adjust vertical mixing schemes? |
| 91 |
|
o seaice pkg: |
| 92 |
|
- add a cpp-flag to include a simple formula for a salinity dependent |
| 93 |
|
freezing point of sea water at the surface |
| 94 |
|
- change the contents of SEAICE_TEST_ICE_STRESS_1 so that zonal and |
| 95 |
|
meridional stresses are now different (and hopefully correct) |
| 96 |
|
o AIM pkg: change threshold on large-scale condensation to conserve Heat. |
| 97 |
|
update results of aim.5l_LatLon test ; fix title & units of AIM diagnostics |
| 98 |
|
and change 3 diagnostics names (OSR,OSRCLR,KM -> TSR,TSRCLR,DRAG) |
| 99 |
|
o pkg/diagnostics: add options and parameters for regional-statistics |
| 100 |
|
diagnostics ; define regions by reading a region-mask from a file |
| 101 |
|
(might add other options later) |
| 102 |
|
o pkg/bulk_force: |
| 103 |
|
- add option and parameters to use AIM surface-flux formulae. |
| 104 |
|
- Change loading part: S/R BULKF_FIELDS_LOAD only take care of bulkf_fields ; |
| 105 |
|
others forcing fields (defined in PARM05, parameter file "data") are loaded |
| 106 |
|
from S/R EXTERNAL_FIELDS_LOAD, as usually (with useBulkforce = T or F). |
| 107 |
|
- initialise all bulkf_fields in bulkf_init.F ; do in-lining of exf_bulkcdn.F |
| 108 |
|
- use the right EXCH call for uwind,vwind (to work on CS-grid). |
| 109 |
|
- re-arrange header files (move parameters from BULKF.h to BULKF_PARAMS.h) |
| 110 |
|
and parameters (note: calcWindStress replaces .NOT.readwindstress). |
| 111 |
|
- cleaner interface with pkg/thSIce (new S/R THSICE_GET_PRECIP). |
| 112 |
|
|
| 113 |
|
checkpoint58 |
| 114 |
|
o add "--embed-source" option to genmake2 which, when the supporting |
| 115 |
|
tools can be compiled (as determined by genmake2) will turn on the |
| 116 |
|
embed_files package which then embeds the entire MITgcm source code |
| 117 |
|
(*.[fFhc] + Makefile) used for the build within the executable |
| 118 |
|
- requested by CNH but off by default |
| 119 |
|
- adds a paltry <9MB to the mitgcmuv executable in most cases |
| 120 |
|
- only writes the output when useEMBEDSRC in eedata is true |
| 121 |
|
o clean up 3-dim. relaxation codes: |
| 122 |
|
* Fix I/O inconsistency in pkg/rbcs: replace precFloat32 by readBinaryPrec |
| 123 |
|
* Remove 3-dim. relaxation code from pkg/exf (now use only pkg/rbcs) |
| 124 |
|
* Thanks to Tom Haine for testing! |
| 125 |
|
|
| 126 |
|
checkpoint57z_post |
| 127 |
|
o make CG3D solver compatible with Free-surface at k > 1 (p-coordinate): |
| 128 |
|
affects output (@ truncation level) of exp. plume_on_slope ; updated. |
| 129 |
|
o fix the pickup behavior for obcs in combination with ptracers |
| 130 |
|
o fix a bug in ptracers_external_fields_load |
| 131 |
|
o no AB-2 at the first iteration for Gw (consistent with Gu,Gv,Gt,Gs ...) |
| 132 |
|
affects results of NH experiments (but all our NH tests have Gw[it=1]==0 !!) |
| 133 |
|
o transfered surface NH pressure to eta field (if exactConserv). |
| 134 |
|
o gmredi: fix bugs in slope tapering ldd97 (depthZ had the wrong sign) |
| 135 |
|
and update lab_sea output.txt file. |
| 136 |
|
o completing 3-dim. relaxation code: additional term |
| 137 |
|
1/tau*( theta(i,j,k) - thetaStar(i,j,k) ) |
| 138 |
|
in S/R EXTERNAL_FORCING_T (file external_forcing.F) |
| 139 |
|
* At compile time, in "EXF_OPTIONS.h" set |
| 140 |
|
#define ALLOW_CLIMTEMP_RELAXATION |
| 141 |
|
#define ALLOW_CLIMSALT_RELAXATION |
| 142 |
|
* At runtime in "data", under &PARM03 set (e.g., units in seconds) |
| 143 |
|
tauThetaClimRelax3Dim = 15552000.0, |
| 144 |
|
tauSaltClimRelax3Dim = 15552000.0, |
| 145 |
|
* 3 cases: |
| 146 |
|
1) Use a constant-in-time 3-dim. field |
| 147 |
|
2) Provide 12 3-dim. fields corresponding to Jan., ... , Dec. |
| 148 |
|
3) Real-time relax. to time-evolving prescribed field |
| 149 |
|
o Adding Laplacian-type smoothness constraint on |
| 150 |
|
initial and boundary (forcing) controls (ic, bc) |
| 151 |
|
* enable at compile-time via |
| 152 |
|
ALLOW_SMOOTH_IC_COST_CONTRIBUTION, ALLOW_SMOOTH_BC_COST_CONTRIBUTION |
| 153 |
|
* enable at run-time via mult_smooth_ic = 1, mult_smooth_bc = 1 |
| 154 |
|
* Absolute scale somewhat unclear so far |
| 155 |
|
* no area weighting was included since no other cost term does so far |
| 156 |
|
|
| 157 |
|
checkpoint57y_post |
| 158 |
|
First step for a NLFS adjoint |
| 159 |
|
o initially suppress rStar (new flag DISABLE_RSTAR_CODE) |
| 160 |
|
o new init. routines for calc_r_star, calc_surf_dr |
| 161 |
|
o still need to deal with ini_masks_etc |
| 162 |
|
o testreport seemed happy |
| 163 |
|
checkpoint57y_pre |
| 164 |
|
|
| 165 |
|
o obcs: always reset wVel & eta (to zero or prescribe it) at the OBs. |
| 166 |
|
o add new package rbcs (for relaxing ptracers at boundaries/depth/surface etc) |
| 167 |
|
o add new offset feature to offline pkg (plus minor cleanup) |
| 168 |
|
o cfc fixes for final year of integration |
| 169 |
|
o clean up GCHEM_OPTIONS.h/DIC_OPTIONS.h (all options should |
| 170 |
|
be in GCHEM_OPTIONS). |
| 171 |
|
|
| 172 |
|
checkpoint57x_post |
| 173 |
|
o fix testreport Pb in multiple test experiment. |
| 174 |
|
o cleanup our namelist syntax in verification: |
| 175 |
|
- make it more F95 standards compliant (some work still needed) |
| 176 |
|
- allows the vast majority of our tests to work with gfortran |
| 177 |
o Non-Hydrostatic: |
o Non-Hydrostatic: |
| 178 |
- put all NH variables (formerly in DYNVARS.h & GW.h) in NH_VARS.h |
- put all NH variables (formerly in DYNVARS.h & GW.h) in NH_VARS.h |
| 179 |
- fix exchange calls for CS-grid using the new EXCH_S3D_RL. |
- fix exchange calls for CS-grid using the new EXCH_S3D_RL. |