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