/[MITgcm]/MITgcm_contrib/ksnow/press_release/code_expt/SHELFICE.h
ViewVC logotype

Contents of /MITgcm_contrib/ksnow/press_release/code_expt/SHELFICE.h

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.5 - (show annotations) (download)
Fri Nov 17 16:26:52 2017 UTC (7 years, 8 months ago) by dgoldberg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +3 -1 lines
File MIME type: text/plain
add array for horiz avg press profile

1 C $Header: /u/gcmpack/MITgcm_contrib/ksnow/press_release/code_expt/SHELFICE.h,v 1.4 2017/02/13 15:24:16 ksnow Exp $
2 C $Name: $
3
4 #ifdef ALLOW_SHELFICE
5
6 CBOP
7 C !ROUTINE: SHELFICE.h
8
9 C !DESCRIPTION: \bv
10 C *==========================================================*
11 C | SHELFICE.h
12 C | o Basic header thermodnynamic shelf ice package.
13 C | Contains all SHELFICE field declarations.
14 C *==========================================================*
15
16 C-----------------------------------------------------------------------
17 C
18 C-- Constants that can be set in data.shelfice
19 C SHELFICEtopoFile :: File containing the topography of the
20 C shelfice draught (unit=m)
21 C SHELFICEmassFile :: name of shelfice Mass file
22 C SHELFICEloadAnomalyFile :: name of shelfice load anomaly file
23 C SHELFICEMassDynTendFile :: file name for other mass tendency
24 C (e.g. dynamics)
25 C useISOMIPTD :: use simple ISOMIP thermodynamics, def: F
26 C SHELFICEconserve :: use conservative form of H&O-thermodynamics
27 C following Jenkins et al. (2001, JPO), def: F
28 C SHELFICEMassStepping :: flag to step forward ice shelf mass/thickness
29 C accounts for melting/freezing & dynamics
30 C (from file or from coupling), def: F
31 C SHELFICEDynMassOnly :: step ice mass ONLY with Shelficemassdyntendency
32 C (not melting/freezing) def: F
33 C SHELFICEboundaryLayer :: turn on vertical merging of cells to for a
34 C boundary layer of drF thickness, def: F
35 C SHELFICErealFWflux :: ensure vert advective flux at bdry uses top cell
36 C value rather than "boundary layer" value F
37 C SHELFICEadvDiffHeatFlux :: use advective-diffusive heat flux into the
38 C ice shelf instead of default diffusive heat
39 C flux, see Holland and Jenkins (1999),
40 C eq.21,22,26,31; def: F
41 C SHELFICEheatTransCoeff :: constant heat transfer coefficient that
42 C determines heat flux into shelfice
43 C (def: 1e-4 m/s)
44 C SHELFICEsaltTransCoeff :: constant salinity transfer coefficient that
45 C determines salt flux into shelfice
46 C (def: 5.05e-3 * 1e-4 m/s)
47 C -----------------------------------------------------------------------
48 C SHELFICEuseGammaFrict :: use velocity dependent exchange coefficients,
49 C see Holland and Jenkins (1999), eq.11-18,
50 C with the following parameters (def: F):
51 C shiCdrag :: quadratic drag coefficient to compute uStar
52 C (def: 0.0015)
53 C shiZetaN :: ??? (def: 0.052)
54 C shiRc :: ??? (not used, def: 0.2)
55 C shiPrandtl, shiSchmidt :: constant Prandtl (13.8) and Schmidt (2432.0)
56 C numbers used to compute gammaTurb
57 C shiKinVisc :: constant kinetic viscosity used to compute
58 C gammaTurb (def: 1.95e-5)
59 C SHELFICERemeshFrequency :: Frequency that size of etaN is checked to
60 C trigger remesh
61 C SHELFICESplitThreshold :: Max size of etaN allowed before a remesh
62 C SHELFICEMergeThreshold :: Min size of etaN allowed before a remesh
63 C -----------------------------------------------------------------------
64 C SHELFICEDragLinear :: linear drag at bottom shelfice (1/s)
65 C SHELFICEDragQuadratic :: quadratic drag at bottom shelfice (default
66 C = shiCdrag or bottomDragQuadratic)
67 C no_slip_shelfice :: set slip conditions for shelfice separately,
68 C (by default the same as no_slip_bottom, but
69 C really should be false when there is linear
70 C or quadratic drag)
71 C SHELFICElatentHeat :: latent heat of fusion (def: 334000 J/kg)
72 C SHELFICEwriteState :: enable output
73 C SHELFICEHeatCapacity_Cp :: heat capacity of ice shelf (def: 2000 J/K/kg)
74 C rhoShelfIce :: density of ice shelf (def: 917.0 kg/m^3)
75 C
76 C SHELFICE_dump_mnc :: use netcdf for snapshot output
77 C SHELFICE_tave_mnc :: use netcdf for time-averaged output
78 C SHELFICE_dumpFreq :: analoguous to dumpFreq (= default)
79 C SHELFICE_taveFreq :: analoguous to taveFreq (= default)
80 C
81 C-- Fields
82 C ktopC :: index of the top "wet cell" (2D)
83 C R_shelfIce :: shelfice topography [m]
84 C shelficeMassInit :: ice-shelf mass (per unit area) (kg/m^2)
85 C shelficeMass :: ice-shelf mass (per unit area) (kg/m^2)
86 C shelfIceMassDynTendency :: other mass balance tendency (kg/m^2/s)
87 C :: (e.g., from dynamics)
88 C shelficeLoadAnomaly :: pressure load anomaly of shelfice (Pa)
89 C shelficeHeatFlux :: upward heat flux (W/m^2)
90 C shelficeFreshWaterFlux :: upward fresh water flux (virt. salt flux)
91 C (kg/m^2/s)
92 C shelficeForcingT :: analogue of surfaceForcingT
93 C units are r_unit.Kelvin/s (=Kelvin.m/s if r=z)
94 C shelficeForcingS :: analogue of surfaceForcingS
95 C units are r_unit.psu/s (=psu.m/s if r=z)
96 C conserve_ssh :: KS16. Use the obcs to conserve net open
97 C ocean eta to 0m
98 C-----------------------------------------------------------------------
99 C \ev
100 CEOP
101
102 COMMON /SHELFICE_PARMS_I/ kTopC,
103 & SHELFICEselectDragQuadr,
104 & shelfice_etarestore_spongewidth
105 INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
106 INTEGER SHELFICEselectDragQuadr
107 INTEGER shelfice_etarestore_spongewidth
108
109 COMMON /SHELFICE_PARMS_R/
110 & SHELFICE_dumpFreq, SHELFICE_taveFreq,
111 & SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff,
112 & rhoShelfice, SHELFICEkappa,
113 & SHELFICElatentHeat,
114 & SHELFICEheatCapacity_Cp,
115 & SHELFICEthetaSurface,
116 & SHELFICEDragLinear, SHELFICEDragQuadratic,
117 & shiCdrag, shiZetaN, shiRc,
118 & shiPrandtl, shiSchmidt, shiKinVisc,
119 & SHELFICERemeshFrequency,
120 & SHELFICESplitThreshold,
121 & SHELFICEMergeThreshold,
122 & shelficeEtaRelax,
123 & depthMinMelt
124 _RL SHELFICE_dumpFreq, SHELFICE_taveFreq
125 _RL SHELFICEheatTransCoeff
126 _RL SHELFICEsaltTransCoeff
127 _RL SHELFICElatentHeat
128 _RL SHELFICEheatCapacity_Cp
129 _RL rhoShelfice
130 _RL SHELFICEkappa
131 _RL SHELFICEDragLinear
132 _RL SHELFICEDragQuadratic
133 _RL SHELFICEMergeThreshold
134 _RL SHELFICEthetaSurface, SHELFICESplitThreshold
135 _RL shiCdrag, shiZetaN, shiRc
136 _RL SHELFICERemeshFrequency
137 _RL shiPrandtl, shiSchmidt, shiKinVisc
138 _RL SHELFICEGroundW, SHELFICEGroundC, shelficeEtaRelax
139 _RL depthMinMelt
140 COMMON /SHELFICE_FIELDS_RL/
141 & shelficeMass, shelficeMassInit,
142 & shelficeLoadAnomaly,
143 & shelficeForcingT, shelficeForcingS,
144 & shiTransCoeffT, shiTransCoeffS, EFFMASS
145 _RL shelficeMass (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
146 _RL shelficeMassInit (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
147 _RL shelficeLoadAnomaly (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
148 _RL shelficeForcingT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
149 _RL shelficeForcingS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
150 _RL shiTransCoeffT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
151 _RL shiTransCoeffS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
152 _RL EFFMASS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
153 _RL SeaLevelRestore (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
154
155 COMMON /SHELFICE_FIELDS_RS/
156 & R_shelfIce, R_MWCT,
157 & shelficeHeatFlux,
158 & shelfIceFreshWaterFlux,
159 & shelfIceMassDynTendency
160 & , phiHydC_m
161 #ifdef ALLOW_SHELFICE_GROUNDED_ICE
162 & , GrdFactor
163 #endif
164
165 _RS R_shelfIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
166 _RS R_MWCT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
167 _RS shelficeHeatFlux (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
168 _RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
169 _RS
170 & shelfIceMassDynTendency(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
171 #ifdef ALLOW_SHELFICE_GROUNDED_ICE
172 _RS GrdFactor (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
173 #endif
174 _RL phiHydC_m (nR)
175
176 #ifdef ALLOW_SHIFWFLX_CONTROL
177 COMMON /SHELFICE_MASKS_CTRL/ maskSHI
178 _RS maskSHI (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
179 #endif /* ALLOW_SHIFWFLX_CONTROL */
180
181 LOGICAL SHELFICEisOn
182 LOGICAL useISOMIPTD
183 LOGICAL SHELFICEconserve
184 LOGICAL SHELFICEboundaryLayer
185 LOGICAL SHELFICEthickBoundaryLayer
186 LOGICAL SHELFICErealFWflux
187 LOGICAL no_slip_shelfice
188 LOGICAL SHELFICEwriteState
189 LOGICAL SHELFICE_dump_mdsio
190 LOGICAL SHELFICE_tave_mdsio
191 LOGICAL SHELFICE_dump_mnc
192 LOGICAL SHELFICE_tave_mnc
193 LOGICAL SHELFICEadvDiffHeatFlux
194 LOGICAL SHELFICEuseGammaFrict
195 LOGICAL SHELFICEMassStepping
196 LOGICAL SHELFICEDynMassOnly
197 LOGICAL SHELFICEEtaSponge
198 LOGICAL SHELFICE_dig_ice
199 LOGICAL SHELFICE_massmin_truedens
200 C KS16 put var here
201 LOGICAL conserve_ssh
202 COMMON /SHELFICE_PARMS_L/
203 & SHELFICEisOn,
204 & useISOMIPTD,
205 & SHELFICEconserve,
206 & SHELFICErealFWflux,
207 & SHELFICEboundaryLayer,
208 & SHELFICEthickBoundaryLayer,
209 & no_slip_shelfice,
210 & SHELFICEwriteState,
211 & SHELFICE_dump_mdsio,
212 & SHELFICE_tave_mdsio,
213 & SHELFICE_dump_mnc,
214 & SHELFICE_tave_mnc,
215 & SHELFICEadvDiffHeatFlux,
216 & SHELFICEuseGammaFrict,
217 & SHELFICEMassStepping,
218 & SHELFICEDynMassOnly,
219 & SHELFICEEtaSponge,
220 & SHELFICE_dig_ice,
221 & SHELFICE_massmin_truedens,
222 C KS16 and here;
223 & conserve_ssh
224
225 CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile
226 CHARACTER*(MAX_LEN_FNAM) SHELFICEmassFile
227 CHARACTER*(MAX_LEN_FNAM) SHELFICEGroundTopoFile
228 CHARACTER*(MAX_LEN_FNAM) SHELFICEtopoFile
229 CHARACTER*(MAX_LEN_FNAM) SHELFICEMassDynTendFile
230 CHARACTER*(MAX_LEN_FNAM) SHELFICEGroundInitFile
231 CHARACTER*(MAX_LEN_FNAM) SHELFICETransCoeffTFile
232
233
234 COMMON /SHELFICE_PARM_C/
235 & SHELFICEloadAnomalyFile,
236 & SHELFICEmassFile,
237 & SHELFICEtopoFile,
238 & SHELFICEGroundTopoFile,
239 & SHELFICEMassDynTendFile,
240 & SHELFICEGroundInitFile,
241 & SHELFICETransCoeffTFile
242
243 #endif /* ALLOW_SHELFICE */

  ViewVC Help
Powered by ViewVC 1.1.22