/[MITgcm]/MITgcm/pkg/thsice/THSICE_PARAMS.h
ViewVC logotype

Contents of /MITgcm/pkg/thsice/THSICE_PARAMS.h

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


Revision 1.17 - (show annotations) (download)
Wed Nov 21 01:53:34 2012 UTC (11 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint65, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, HEAD
Changes since 1.16: +4 -2 lines
File MIME type: text/plain
add a run-time parameter to by-pass thermodynamics calculation

1 C $Header: /u/gcmpack/MITgcm/pkg/thsice/THSICE_PARAMS.h,v 1.16 2012/08/01 18:20:55 jmc Exp $
2 C $Name: $
3
4 #ifdef ALLOW_THSICE
5 C *==========================================================*
6 C | THSICE_PARAMS.h
7 C | o Header file for Therm_SeaIce package parameters:
8 C | - basic parameter ( I/O frequency, etc ...)
9 C | - physical constants (used in therm_SeaIce pkg)
10 C *==========================================================*
11
12 C----------------------------------------------------------------------------
13 C.. Common blocks for almost everything that the sea ice model passes around.
14 C----------------------------------------------------------------------------
15
16 C-- COMMON / THSICE_PHYSPAR_R / physical (real) parameter
17 C.. densities
18 C rhos :: density of snow [kg/m^3]
19 C rhoi :: density of ice [kg/m^3]
20 C rhosw :: density of seawater [kg/m^3]
21 C rhofw :: density of fresh water [kg/m^3]
22 C floodFac :: flooding factor = (rhosw-rhoi)/rhos [dimensionless]
23 C.. specific heats
24 C cpIce :: specific heat of fresh ice [J/kg/K]
25 C cpWater :: specific heat of water [J/kg/K]
26 C .. thermal conductivity. QQ check units
27 C kIce :: thermal conductivity of pure ice [W/m/K]
28 C kSnow :: thermal conductivity of snow [W/m/K]
29 C .. heat transfer coefficient
30 C bMeltCoef :: base-melting heat transfer coefficient
31 C (between ice & water) [no unit]
32 C .. latent heat
33 C Lfresh :: latent heat of melting of pure ice [J/kg]
34 C .. Enthalpy
35 C qsnow :: snow enthalpy [J/kg]
36 C .. Albedo
37 C albColdSnow :: albedo of cold (=dry) new snow (Tsfc < tempSnowAlb)
38 C albWarmSnow :: albedo of warm (=wet) new snow (Tsfc = 0)
39 C tempSnowAlb :: temperature transition from ColdSnow to WarmSnow Alb. [oC]
40 C albOldSnow :: albedo of old snow (snowAge > 35.d)
41 C albIceMax :: max albedo of bare ice (thick ice)
42 C albIceMin :: minimum ice albedo (very thin ice)
43 C hAlbIce :: ice thickness for albedo transition: thin/thick ice albedo
44 C hAlbSnow :: snow thickness for albedo transition: snow/ice albedo
45 C hNewSnowAge :: new snow thickness that refresh the snow-age (by 1/e)
46 C snowAgTime :: snow aging time scale [s]
47 C .. Solar parameters
48 C i0swFrac :: fraction of penetrating solar rad
49 C ksolar :: bulk solar abs coeff of sea ice [m^-1]
50 C dhSnowLin :: half slope of linear distribution of snow thickness within
51 C the grid-cell (from hSnow-dhSnow to hSnow+dhSnow, if full
52 C ice & snow cover) [m] ; (only used for SW radiation).
53 C .. Salinity
54 C saltIce :: salinity of ice [g/kg]
55 C S_winton :: Winton salinity of ice [g/kg]
56 C .. melting
57 C Tf0kel :: Freezing temp of fresh water in Kelvin = 273.15
58 C mu_Tf :: linear dependance of melting temperature on Salinity [oC/psu]
59 C Tf(sea-water) = -mu_Tf * S
60 C Tmlt1 :: Winton melting temperature: Tmlt1 = -mu_Tf * S_winton
61 C Terrmax :: Temperature convergence criteria [oC]
62 C .. Min/Max
63 C hIceMin :: Minimum ice thickness [m]
64 C hiMax :: Maximum ice thickness [m]
65 C hsMax :: Maximum snow thickness [m]
66 C .. for fractional ice
67 C iceMaskMax :: maximum Ice fraction (=1 for no fractional ice)
68 C iceMaskMin :: mimimum Ice fraction (=1 for no fractional ice)
69 C fracEnFreez :: fraction of energy going to lateral freezing (vs height increase)
70 C fracEnMelt :: fraction of energy going to lateral melting (vs height decrease)
71 C (=0 for no fract. ice)
72 C hThinIce :: ice height above which fracEnMelt/Freez are applied [m]
73 C (=hIceMin for no fractional ice)
74 C hThickIce :: ice height below which fracEnMelt/Freez are applied [m]
75 C (=large for no fractional ice)
76 C hNewIceMax :: new ice maximum thickness [m]
77 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
78
79 COMMON / THSICE_PHYSPAR_R /
80 & rhos, rhoi, rhosw, rhofw, floodFac,
81 & cpIce, cpWater,
82 & kIce, kSnow,
83 & bMeltCoef, Lfresh, qsnow,
84 & albColdSnow, albWarmSnow, tempSnowAlb,
85 & albOldSnow, hNewSnowAge, snowAgTime,
86 & albIceMax, albIceMin, hAlbIce, hAlbSnow,
87 & i0swFrac, ksolar, dhSnowLin,
88 & saltIce, S_winton, mu_Tf,
89 & Tf0kel, Tmlt1, Terrmax,
90 & hIceMin, hiMax, hsMax,
91 & iceMaskMax, iceMaskMin,
92 & fracEnMelt, fracEnFreez,
93 & hThinIce, hThickIce, hNewIceMax
94
95 _RL rhos
96 _RL rhoi
97 _RL rhosw
98 _RL rhofw
99 _RL floodFac
100 _RL cpIce
101 _RL cpWater
102 _RL kIce
103 _RL kSnow
104 _RL bMeltCoef
105 _RL Lfresh
106 _RL qsnow
107 _RL albColdSnow
108 _RL albWarmSnow
109 _RL tempSnowAlb
110 _RL albOldSnow
111 _RL hNewSnowAge
112 _RL snowAgTime
113 _RL albIceMax
114 _RL albIceMin
115 _RL hAlbIce
116 _RL hAlbSnow
117 _RL i0swFrac
118 _RL ksolar
119 _RL dhSnowLin
120 _RL saltIce
121 _RL S_winton
122 _RL mu_Tf
123 _RL Tf0kel
124 _RL Tmlt1
125 _RL Terrmax
126 _RL hIceMin
127 _RL hiMax
128 _RL hsMax
129 _RL iceMaskMax
130 _RL iceMaskMin
131 _RL fracEnMelt
132 _RL fracEnFreez
133 _RL hThinIce
134 _RL hThickIce
135 _RL hNewIceMax
136
137 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
138
139 C-- COMMON / THSICE_PAR_L / ice model (logical) parameters
140 C stepFwd_oceMxL :: step forward mixed-layer T & S (slab-ocean)
141 C thSIce_skipThermo :: by-pass seaice thermodynamics
142 C thSIce_calc_albNIR :: calculate Near Infra-Red Albedo
143 C thSIce_tave_mdsio :: write TimeAverage output using MDSIO
144 C thSIce_snapshot_mdsio :: write snap-shot output using MDSIO
145 C thSIce_mon_stdio :: write monitor to std-outp
146 C thSIce_tave_mnc :: write TimeAverage output using MNC
147 C thSIce_snapshot_mnc :: write snap-shot output using MNC
148 C thSIce_mon_mnc :: write monitor to netcdf file
149 C thSIce_pickup_read_mnc :: pickup read w/ MNC
150 C thSIce_pickup_write_mnc :: pickup write w/ MNC
151 C thSIce_pickup_write_mdsio :: pickup write w/ MDSIO
152 COMMON / THSICE_PAR_L /
153 & stepFwd_oceMxL, thSIce_skipThermo,
154 & thSIce_calc_albNIR,
155 & thSIce_tave_mdsio, thSIce_snapshot_mdsio, thSIce_mon_stdio,
156 & thSIce_tave_mnc, thSIce_snapshot_mnc, thSIce_mon_mnc,
157 & thSIce_pickup_read_mnc,
158 & thSIce_pickup_write_mdsio,
159 & thSIce_pickup_write_mnc
160
161 LOGICAL stepFwd_oceMxL
162 LOGICAL thSIce_skipThermo
163 LOGICAL thSIce_calc_albNIR
164 LOGICAL thSIce_tave_mdsio, thSIce_snapshot_mdsio, thSIce_mon_stdio
165 LOGICAL thSIce_tave_mnc, thSIce_snapshot_mnc, thSIce_mon_mnc
166 LOGICAL thSIce_pickup_read_mnc
167 LOGICAL thSIce_pickup_write_mdsio
168 LOGICAL thSIce_pickup_write_mnc
169
170 C-- COMMON / THSICE_PAR_I / ice model (integer) parameters
171 C startIceModel :: =1 : start ice model at nIter0 ; =0 : use pickup files
172 C :: -1 : start from a small pickup (without Mix.Layer)
173 C nitMaxTsf :: maximum Nb of iter to find Surface Temp (Trsf)
174 C thSIceAdvScheme :: thSIce Advection scheme selector
175 C thSIceBalanceAtmFW :: select balancing Fresh-Water flux from Atm+Land
176 C :: =0 : none ; =1 : uniform ; =2 : scaled by Precip
177 COMMON / THSICE_PAR_I /
178 & startIceModel, nitMaxTsf, thSIceAdvScheme, thSIceBalanceAtmFW
179
180 INTEGER startIceModel
181 INTEGER nitMaxTsf
182 INTEGER thSIceAdvScheme
183 INTEGER thSIceBalanceAtmFW
184
185 C-- COMMON / THSICE_PAR_R / ice model (real) parameters
186 C thSIce_deltaT :: ice model time-step, seaice thicken/extend [s]
187 C thSIce_dtTemp :: ice model time-step, solve4temp [s]
188 C ocean_deltaT :: ocean mixed-layer time-step [s]
189 C tauRelax_MxL :: Relaxation time scale for MixLayer T [s]
190 C tauRelax_MxL_salt :: Relaxation time scale for MixLayer S [s]
191 C hMxL_default :: default value for ocean MixLayer thickness [m]
192 C sMxL_default :: default value for salinity in MixLayer [psu]
193 C vMxL_default :: default value for ocean current velocity in MxL [m/s]
194 C thSIce_diffK :: thickness (horizontal) diffusivity [m^2/s]
195 C stressReduction :: reduction factor for wind-stress under sea-ice [0-1]
196 C thSIce_taveFreq :: Frequency^-1 for time-Aver. output [s]
197 C thSIce_diagFreq :: Frequency^-1 for diagnostic output [s]
198 C thSIce_monFreq :: Frequency^-1 for monitor output [s]
199 COMMON / THSICE_PAR_R /
200 & thSIce_deltaT, thSIce_dtTemp, ocean_deltaT,
201 & tauRelax_MxL, tauRelax_MxL_salt,
202 & hMxL_default, sMxL_default, vMxL_default,
203 & thSIce_diffK, stressReduction,
204 & thSIce_taveFreq, thSIce_diagFreq, thSIce_monFreq
205
206 _RL thSIce_deltaT, thSIce_dtTemp, ocean_deltaT
207 _RL tauRelax_MxL, tauRelax_MxL_salt
208 _RL hMxL_default, sMxL_default, vMxL_default
209 _RL thSIce_diffK, stressReduction
210 _RL thSIce_taveFreq, thSIce_diagFreq, thSIce_monFreq
211
212 C-- COMMON / THSICE_PAR_C / ice model (character) parameters
213 C thSIceFract_InitFile :: File name for initial ice fraction
214 C thSIceThick_InitFile :: File name for initial ice thickness
215 C thSIceSnowH_InitFile :: File name for initial snow thickness
216 C thSIceSnowA_InitFile :: File name for initial snow Age
217 C thSIceEnthp_InitFile :: File name for initial ice enthalpy
218 C thSIceTsurf_InitFile :: File name for initial surf. temp
219 COMMON / THSICE_PAR_C /
220 & thSIceFract_InitFile,
221 & thSIceThick_InitFile,
222 & thSIceSnowH_InitFile,
223 & thSIceSnowA_InitFile,
224 & thSIceEnthp_InitFile,
225 & thSIceTsurf_InitFile
226 CHARACTER*(MAX_LEN_FNAM) thSIceFract_InitFile
227 CHARACTER*(MAX_LEN_FNAM) thSIceThick_InitFile
228 CHARACTER*(MAX_LEN_FNAM) thSIceSnowH_InitFile
229 CHARACTER*(MAX_LEN_FNAM) thSIceSnowA_InitFile
230 CHARACTER*(MAX_LEN_FNAM) thSIceEnthp_InitFile
231 CHARACTER*(MAX_LEN_FNAM) thSIceTsurf_InitFile
232
233 C---+----1----+----2----+----3----+----4----+----5----+----6----+----7-|--+----|
234
235 #endif /* ALLOW_THSICE */
236
237 CEH3 ;;; Local Variables: ***
238 CEH3 ;;; mode:fortran ***
239 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22