/[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.9 - (show annotations) (download)
Tue May 4 21:41:59 2010 UTC (14 years ago) by dimitri
Branch: MAIN
Changes since 1.8: +11 -12 lines
File MIME type: text/plain
Adding capability to read sub-glacial runoff files using pkg/exf.
As per pkg/obcs, all scalar parameters are defined in EXF_PARAMS.h
and the rest are defined in ICEFRONT.h.
Note that array addmass is set to zero at beginning of every time step
in do_oceanic_phys.F so that it can cumulate input from various sources.

1 C $Header: /u/gcmpack/MITgcm/pkg/icefront/ICEFRONT.h,v 1.8 2010/04/22 18:24:44 yunx 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 K_icefront - # of icefront model levels at every horizontal location (2D)
39 C R_icefront - icefront depth [m] (2D)
40 C icefrontlength - icefront horizontal length divided by grid cell area [m/m^2] (2D)
41 C icefront_TendT - temperature tendency (Kelvin/s)
42 C icefront_TendS - salinity tendency (psu/s)
43 C
44 C SGrunoffFile - name of subglacial runoff file (kg/s)
45 C 2D file containing mass of subglacial runoff
46 C added at bottom of model ocean
47 C SGrunoff - subglacial runoff (kg/s)
48 C Arrays *0 and *1 below are used for temporal interpolation.
49 C
50 C-----------------------------------------------------------------------
51 C \ev
52 CEOP
53
54 COMMON /ICEFRONT_PARMS_I/ K_icefront
55 INTEGER K_icefront (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
56
57 COMMON /ICEFRONT_PARMS_R/
58 & ICEFRONTheatTransCoeff, ICEFRONTsaltTransCoeff,
59 & rhoIcefront, ICEFRONTkappa,
60 & ICEFRONTlatentHeat, recip_ICEFRONTlatentHeat,
61 & ICEFRONTheatCapacity_Cp,
62 & ICEFRONTthetaSurface
63 _RL ICEFRONTheatTransCoeff
64 _RL ICEFRONTsaltTransCoeff
65 _RL ICEFRONTlatentHeat
66 _RL ICEFRONTheatCapacity_Cp
67 _RL rhoIcefront
68 _RL ICEFRONTkappa
69 _RL recip_ICEFRONTlatentHeat
70 _RL ICEFRONTthetaSurface
71
72 COMMON /ICEFRONT_FIELDS_RL/
73 & icefront_TendT,
74 & icefront_TendS
75 _RL icefront_TendT (1:sNx,1:sNy,Nr,nSx,nSy)
76 _RL icefront_TendS (1:sNx,1:sNy,Nr,nSx,nSy)
77
78 COMMON /ICEFRONT_FIELDS_RS/
79 & R_icefront,
80 & icefrontlength
81 _RS R_icefront (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
82 _RS icefrontlength (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
83
84 LOGICAL ICEFRONTisOn
85 LOGICAL applyIcefrontTendT
86 LOGICAL applyIcefrontTendS
87 COMMON /ICEFRONT_PARMS_L/
88 & ICEFRONTisOn,
89 & applyIcefrontTendT,
90 & applyIcefrontTendS
91
92 CHARACTER*(MAX_LEN_FNAM) ICEFRONTlengthFile
93 CHARACTER*(MAX_LEN_FNAM) ICEFRONTdepthFile
94 COMMON /ICEFRONT_PARM_C/
95 & ICEFRONTlengthFile,
96 & ICEFRONTdepthFile
97
98 #ifdef ALLOW_SUBGLACIAL_RUNOFF
99 CHARACTER*(MAX_LEN_FNAM) SGrunoffFile
100 COMMON /SUBGLACIAL_RUNOFF/
101 & SGrunoffFile
102 _RL SGrunoff (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
103 _RL SGrunoff0(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
104 _RL SGrunoff1(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
105 #endif /* ALLOW_SUBGLACIAL_RUNOFF */
106
107 #endif /* ALLOW_ICEFRONT */

  ViewVC Help
Powered by ViewVC 1.1.22