/[MITgcm]/MITgcm/pkg/icefront/ICEFRONT.h
ViewVC logotype

Contents of /MITgcm/pkg/icefront/ICEFRONT.h

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


Revision 1.8 - (show annotations) (download)
Thu Apr 22 18:24:44 2010 UTC (14 years, 1 month ago) by yunx
Branch: MAIN
CVS Tags: checkpoint62f
Changes since 1.7: +22 -1 lines
File MIME type: text/plain
Add sub-glacial runoff.

1 C $Header: /u/gcmpack/MITgcm/pkg/icefront/ICEFRONT.h,v 1.7 2010/02/17 20:31:23 dimitri Exp $
2 C $Name: $
3
4 #ifdef ALLOW_ICEFRONT
5
6 CBOP
7 C !ROUTINE: ICEFRONT.h
8
9 C !DESCRIPTION: \bv
10 C /==========================================================\
11 C | ICEFRONT.h |
12 C | o Basic header thermodnynamic shelf ice package. |
13 C | Contains all ICEFRONT field declarations. |
14 C \==========================================================/
15
16 C-----------------------------------------------------------------------
17 C
18 C-- Constants that can be set in data.icefront
19 C- Namelist /ICEFRONT_PARM01/
20 C ICEFRONTdepthFile - name of icefront depth file (m)
21 C 2D file containing depth of the ice front
22 C at each model grid cell
23 C ICEFRONTlengthFile - name of icefront length file (m/m^2)
24 C 2D file containing the ratio of the horizontal
25 C length of the ice front in each model grid cell
26 C divided by the grid cell area
27 C ICEFRONTheatTransCoeff - heat transfer coefficient that determines
28 C heat flux into icefront (m/s)
29 C ICEFRONTsaltTransCoeff - salinity transfer coefficient that determines
30 C salt flux into icefront (m/s)
31 C ICEFRONTthetaSurface - surface temperature on the top of icefront (oC)
32 C interior temperture of the ice changes linearly
33 C from ICEFRONTthetaSurface at surface to 0 oC at
34 C the bottom
35 C ICEFRONTlatentHeat - latent heat of fusion (J/kg)
36 C applyIcefrontTendT/S -
37 C
38 C- Namelist /SGRUNOFF_PARMS/
39 C SGrunoffFile - name of subglacial runoff file (kg/s)
40 C 2D file containing the mass of subglacial runoff
41 C added at the bottom of ocean
42 C SGRUNOFF_period - period of subglacial runoff (eg. 1 month) in seconds
43 C use constant subglacial runoff when it equals 0.0
44 C SGRUNOFF_cycle - repeat time of forcing (eg. 1 year) in seconds
45 C
46 C-- Fields
47 C K_icefront - # of icefront model levels at every horizontal location (2D)
48 C R_icefront - icefront depth [m] (2D)
49 C icefrontlength - icefront horizontal length divided by grid cell area [m/m^2] (2D)
50 C icefront_TendT - temperature tendency (Kelvin/s)
51 C icefront_TendS - salinity tendency (psu/s)
52 C-----------------------------------------------------------------------
53 C \ev
54 CEOP
55
56 COMMON /ICEFRONT_PARMS_I/ K_icefront
57 INTEGER K_icefront (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
58
59 COMMON /ICEFRONT_PARMS_R/
60 & ICEFRONTheatTransCoeff, ICEFRONTsaltTransCoeff,
61 & rhoIcefront, ICEFRONTkappa,
62 & ICEFRONTlatentHeat, recip_ICEFRONTlatentHeat,
63 & ICEFRONTheatCapacity_Cp,
64 & ICEFRONTthetaSurface
65 _RL ICEFRONTheatTransCoeff
66 _RL ICEFRONTsaltTransCoeff
67 _RL ICEFRONTlatentHeat
68 _RL ICEFRONTheatCapacity_Cp
69 _RL rhoIcefront
70 _RL ICEFRONTkappa
71 _RL recip_ICEFRONTlatentHeat
72 _RL ICEFRONTthetaSurface
73
74 COMMON /ICEFRONT_FIELDS_RL/
75 & icefront_TendT,
76 & icefront_TendS
77 _RL icefront_TendT (1:sNx,1:sNy,Nr,nSx,nSy)
78 _RL icefront_TendS (1:sNx,1:sNy,Nr,nSx,nSy)
79
80 COMMON /ICEFRONT_FIELDS_RS/
81 & R_icefront,
82 & icefrontlength
83 _RS R_icefront (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
84 _RS icefrontlength (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
85
86 LOGICAL ICEFRONTisOn
87 LOGICAL applyIcefrontTendT
88 LOGICAL applyIcefrontTendS
89 COMMON /ICEFRONT_PARMS_L/
90 & ICEFRONTisOn,
91 & applyIcefrontTendT,
92 & applyIcefrontTendS
93
94 CHARACTER*(MAX_LEN_FNAM) ICEFRONTlengthFile
95 CHARACTER*(MAX_LEN_FNAM) ICEFRONTdepthFile
96 COMMON /ICEFRONT_PARM_C/
97 & ICEFRONTlengthFile,
98 & ICEFRONTdepthFile
99
100 #ifdef ALLOW_SUBGLACIAL_RUNOFF
101 CHARACTER*(MAX_LEN_FNAM) SGrunoffFile
102 _RL SGRUNOFF_Period, SGRUNOFF_Cycle
103 COMMON /SUBGLACIAL_RUNOFF/
104 & SGRUNOFF_Period, SGRUNOFF_Cycle,
105 & SGrunoffFile
106 #endif /* ALLOW_SUBGLACIAL_RUNOFF */
107
108 #endif /* ALLOW_ICEFRONT */

  ViewVC Help
Powered by ViewVC 1.1.22