4 |
Notes on tags used in MITgcmUV |
Notes on tags used in MITgcmUV |
5 |
============================== |
============================== |
6 |
|
|
7 |
|
o eesupp/src: |
8 |
|
fix flow dir for exch1_z_RX_cube, exch1_uv_RX_cube & exch1_bg_RX_cube |
9 |
|
o pkg/seaice/seaice_growth.F |
10 |
|
Revision 1.89 of seaice_growth.F completes the overall october 2010 revision and |
11 |
|
merging process. The merged routine has two branches, and one activates the 'evolution' |
12 |
|
branch by setting SEAICE_GROWTH_LEGACY to undef (at the top of the routine for now). |
13 |
|
In summary, here is what the '10/10 revision' did consist of |
14 |
|
part 1: seaice_growth.F revisions 1.71 to 1.75 |
15 |
|
- Preliminary seaice_growth.F clean-up, keeping test results strictly unchanged. |
16 |
|
The emphasis here was on improving readability (e.g. by trying to use meaningful |
17 |
|
variable names) and modularity (e.g. by adding arrays to store heff etc. updates). |
18 |
|
part 1.5: |
19 |
|
- revising the lab_sea experiment to make it a more useful (i.e. stable |
20 |
|
and representative of an actual model run). This was done by generating a |
21 |
|
(winter) pickup to start from, switching back the main experiment dynamic |
22 |
|
solver from evp to lsr, having one of the experiments use the free drift solution. |
23 |
|
part 2: seaice_growth.F revisions 1.76 to 1.85 |
24 |
|
- Sorting out hard-coded constants that prevented heat and fresh water conservation. |
25 |
|
- Sorting out the various fields units and sign (set early on and reset at the end) |
26 |
|
to avoid numerous scalings/re-scalings. By v1.85 the basic unit for ice, heat and |
27 |
|
fresh water stock is 'effective ice meters', and >0 implies more ice/snow. |
28 |
|
- Using tendency terms arrays (d_HEFF* etc.) to alleviate remaining code locks, |
29 |
|
and simplifying logical expressions to further improve readibility. |
30 |
|
part 3: seaice_growth.F revisions 1.86 to 1.89 |
31 |
|
- Re-organize the blocks of code more logically. |
32 |
|
- Merging the '_if.F' pieces that add something new. |
33 |
|
o pkg/thsice: |
34 |
|
- vectorize thsice_solve4temp and thsice_get_exf. |
35 |
|
Problem: thsice_solve4temp has an unvectorizable statement that |
36 |
|
might also be problematic for TAF |
37 |
|
- thsice_get_exf: add the ALLOW_BULK_LARGEYEAGER04 CPP-flag. This |
38 |
|
does not change the verifcation experiment, but will change all |
39 |
|
experiments that have this flag undefined (not tested in verification); |
40 |
|
a little reorganization to save a few 2D fields and recomputations |
41 |
|
- 1st step of revisiting thsice adjoint (major recomp. sorted out) |
42 |
|
o pkg/obcs: add support for exch2 |
43 |
|
- the position of the boundary and prescribed values are specified using |
44 |
|
a global domain with exch2 facets stacked |
45 |
|
- in x for N,S boundaries (like W2_mapIO=-1) |
46 |
|
- in y for E,W boundaries (so E,W boundaries do not overlap) |
47 |
|
o pkg/mdsio: add support for writing global sections with exch2 |
48 |
|
file layout is as for obcs described above: |
49 |
|
- for x-z sections, facets are stacked in x (like W2_mapIO=-1) |
50 |
|
- for y-z sections, facets are stacked in y |
51 |
|
o pkg/thsice: |
52 |
|
- change a few routines for better vectorization: thsice_albedo.F, |
53 |
|
thsice_step_temp.F, and in thsice_calc_thickn.F. Results are |
54 |
|
not affected, but in particular the latter routine has changed |
55 |
|
dramatically (not necessarily easier to read now). |
56 |
|
- re-arrange calculation in THSICE_SOLVE4TEMP: move outside of i,j loops |
57 |
|
iteration loop and call to S/R THSICE_GET_BULKF & THSICE_GET_EXF. |
58 |
|
o verification/lab_sea: |
59 |
|
- overhaul of the forward model experiments. The main motivation |
60 |
|
for this revision is that lab_sea has proven quite fragile (when |
61 |
|
changing the sea-ice code, and switching platforms) to a point |
62 |
|
when failures were very hard to attribute to specific code problems. |
63 |
|
- the suspected reason for this fragility is noise amplification by evp so, |
64 |
|
to start with, we decided to replace evp with lsr in the main experiment. |
65 |
|
- the input.lsr experiment thus became obsolete and was removed. |
66 |
|
- it was replaced with the input.fd experiment that uses an |
67 |
|
analytical "free drift" solution as the ice velocity field. |
68 |
|
- Taken together, input (lsr), input.fd (free drift) and input.hb87 (evp) |
69 |
|
will hopefully allow us to discriminate problems due to dynamic solvers |
70 |
|
from problems due to the thermodynamic code. input.salt_plume (lsr) allows |
71 |
|
us to test additional options, along with the salt plume package. |
72 |
|
- Finally a pickup was generated (at the end of a one year run) to |
73 |
|
make the tests more representative of an actual model run. Previously |
74 |
|
the tests starting point was a 1m thickness of ice everywhere. |
75 |
|
o pkg/seaice: |
76 |
|
- introducing S\R seaice_freedrift.F that compute the |
77 |
|
analytical solution to an approximate ice momentum |
78 |
|
equation (i.e. the simple stress/coriolis balance). |
79 |
|
- define SEAICE_ALLOW_FREEDRIFT to trigger the computation |
80 |
|
of the free drift velocity field, and enable its use. |
81 |
|
To actually use the free drift solution as the model ice |
82 |
|
velocity field set SEAICEuseFREEDRIFT to .TRUE. in data.seaice. |
83 |
|
o move "useOASIS" from PARAMS.h to EEPARAMS.h and read it from "eedata" |
84 |
|
|
85 |
|
checkpoint62l (2010/10/04) |
86 |
o pkg/seaice: |
o pkg/seaice: |
87 |
-fix the USE_ORIGINAL_SBI version (for variable freezing point); |
-fix the USE_ORIGINAL_SBI version (for variable freezing point); |
88 |
-use "celsius2K" in SEAICE_VARIABLE_FREEZING_POINT and in new |
-use "celsius2K" in SEAICE_VARIABLE_FREEZING_POINT and in new |