/[MITgcm]/MITgcm/pkg/shelfice/SHELFICE.h
ViewVC logotype

Annotation of /MITgcm/pkg/shelfice/SHELFICE.h

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


Revision 1.12 - (hide annotations) (download)
Thu Apr 11 18:50:20 2013 UTC (12 years, 2 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64g
Changes since 1.11: +55 -50 lines
File MIME type: text/plain
allow to specify the Ice-Shelf mass per unit area (instead of shelficeLoadAnomaly)

1 jmc 1.12 C $Header: /u/gcmpack/MITgcm/pkg/shelfice/SHELFICE.h,v 1.11 2012/05/18 12:17:01 mlosch Exp $
2 mlosch 1.1 C $Name: $
3    
4     #ifdef ALLOW_SHELFICE
5    
6     CBOP
7     C !ROUTINE: SHELFICE.h
8    
9     C !DESCRIPTION: \bv
10 jmc 1.12 C *==========================================================*
11     C | SHELFICE.h
12     C | o Basic header thermodnynamic shelf ice package.
13     C | Contains all SHELFICE field declarations.
14     C *==========================================================*
15 mlosch 1.1
16     C-----------------------------------------------------------------------
17     C
18     C-- Constants that can be set in data.shelfice
19 jmc 1.12 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 SHELFICEDragLinear :: linear drag at bottom shelfice (1/s)
24     C SHELFICEDragQuadratic :: quadratic drag at bottom shelfice (1/m)
25     C SHELFICEheatTransCoeff :: heat transfer coefficient that determines
26 mlosch 1.3 C heat flux into shelfice (m/s)
27 jmc 1.12 C SHELFICEsaltTransCoeff :: salinity transfer coefficient that determines
28     C salt flux into shelfice (m/s)
29     C SHELFICElatentHeat :: latent heat of fusion (J/kg)
30     C useISOMIPTD :: use simple ISOMIP thermodynamics
31     C SHELFICEconserve :: use conservative form of H&O-thermodynamics
32     C following Jenkins et al. (2001, JPO)
33     C SHELFICEboundaryLayer :: turn on vertical merging of cells to for a
34     C boundary layer of drF thickness
35     C SHELFICEadvDiffHeatFlux :: use advective-diffusive heat flux into the ice shelf
36     C instead of diffusive heat flux (default), see Holland
37     C and Jenkins (1999), eq.21,22,26,31
38     C SHELFICEuseGammaFrict :: use velocity dependent exchange coefficients,
39     C see Holland and Jenkins (1999), eq.11-18
40     C no_slip_shelfice :: set slip conditions for shelfice separately,
41     C (by default the same as no_slip_bottom)
42     C SHELFICEwriteState :: enable output
43     C SHELFICE_dump_mnc :: use netcdf for snapshot output
44     C SHELFICE_tave_mnc :: use netcdf for time-averaged output
45     C SHELFICE_dumpFreq :: analoguous to dumpFreq (= default)
46     C SHELFICE_taveFreq :: analoguous to taveFreq (= default)
47 mlosch 1.1 C
48     C-- Fields
49 jmc 1.12 C ktopC :: index of the top "wet cell" (2D)
50     C R_shelfIce :: shelfice topography [m]
51     C shelficeMass :: ice-shelf mass (per unit area) [kg/m2]
52     C shelficeLoadAnomaly :: pressure load anomaly of shelfice [Pa]
53     C shelficeHeatFlux :: upward heat flux [W/m^2]
54     C shelficeFreshWaterFlux :: upward fresh water flux (virt. salt flux) [m/s]
55     C shelficeForcingT :: analogue of surfaceForcingT
56     C units are r_unit.Kelvin/s (=Kelvin.m/s if r=z)
57     C shelficeForcingS :: analogue of surfaceForcingS
58     C units are r_unit.psu/s (=psu.m/s if r=z)
59 mlosch 1.1 C-----------------------------------------------------------------------
60     C \ev
61     CEOP
62    
63     COMMON /SHELFICE_PARMS_I/ kTopC
64     INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
65    
66 jmc 1.12 COMMON /SHELFICE_PARMS_R/
67 mlosch 1.1 & SHELFICE_dumpFreq, SHELFICE_taveFreq,
68 mlosch 1.3 & SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff,
69     & rhoShelfice, SHELFICEkappa,
70 mlosch 1.1 & SHELFICElatentHeat, recip_SHELFICElatentHeat,
71 mlosch 1.3 & SHELFICEheatCapacity_Cp,
72     & SHELFICEthetaSurface,
73 heimbach 1.9 & SHELFICEDragLinear, SHELFICEDragQuadratic,
74 heimbach 1.10 & shiCdrag, shiZetaN, shiRc,
75     & shiPrandtl, shiSchmidt, shiKinVisc
76    
77 mlosch 1.1 _RL SHELFICE_dumpFreq, SHELFICE_taveFreq
78 mlosch 1.3 _RL SHELFICEheatTransCoeff
79     _RL SHELFICEsaltTransCoeff
80 mlosch 1.1 _RL SHELFICElatentHeat
81 mlosch 1.3 _RL SHELFICEheatCapacity_Cp
82     _RL rhoShelfice
83     _RL SHELFICEkappa
84 mlosch 1.1 _RL recip_SHELFICElatentHeat
85     _RL SHELFICEDragLinear
86     _RL SHELFICEDragQuadratic
87 mlosch 1.3 _RL SHELFICEthetaSurface
88 heimbach 1.9 _RL shiCdrag, shiZetaN, shiRc
89 heimbach 1.10 _RL shiPrandtl, shiSchmidt, shiKinVisc
90 heimbach 1.9
91 jmc 1.12 COMMON /SHELFICE_FIELDS_RL/
92 heimbach 1.9 & shelficeForcingT, shelficeForcingS,
93     & shiTransCoeffT, shiTransCoeffS
94 mlosch 1.1 _RL shelficeForcingT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
95     _RL shelficeForcingS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
96 heimbach 1.9 _RL shiTransCoeffT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
97     _RL shiTransCoeffS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
98 mlosch 1.1
99 jmc 1.12 COMMON /SHELFICE_FIELDS_RS/
100 mlosch 1.1 & R_shelfIce,
101 jmc 1.12 & shelficeMass,
102     & shelficeLoadAnomaly,
103 mlosch 1.1 & shelficeHeatFlux,
104     & shelfIceFreshWaterFlux
105     _RS R_shelfIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
106 jmc 1.12 _RS shelficeMass (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
107 mlosch 1.2 _RS shelficeLoadAnomaly (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
108 mlosch 1.1 _RS shelficeHeatFlux (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
109     _RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
110 mlosch 1.8
111 jmc 1.12 #ifdef ALLOW_SHIFWFLX_CONTROL
112 mlosch 1.8 COMMON /SHELFICE_MASKS_CTRL/ maskSHI
113     _RS maskSHI (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
114     #endif /* ALLOW_SHIFWFLX_CONTROL */
115 jmc 1.12
116 mlosch 1.1 LOGICAL SHELFICEisOn
117     LOGICAL useISOMIPTD
118 mlosch 1.5 LOGICAL SHELFICEconserve
119 mlosch 1.4 LOGICAL SHELFICEboundaryLayer
120 mlosch 1.1 LOGICAL no_slip_shelfice
121     LOGICAL SHELFICEwriteState
122     LOGICAL SHELFICE_dump_mdsio
123     LOGICAL SHELFICE_tave_mdsio
124     LOGICAL SHELFICE_dump_mnc
125     LOGICAL SHELFICE_tave_mnc
126 mlosch 1.11 LOGICAL SHELFICEadvDiffHeatFlux
127 heimbach 1.9 LOGICAL SHELFICEuseGammaFrict
128 mlosch 1.1 COMMON /SHELFICE_PARMS_L/
129     & SHELFICEisOn,
130     & useISOMIPTD,
131 mlosch 1.5 & SHELFICEconserve,
132 mlosch 1.4 & SHELFICEboundaryLayer,
133 mlosch 1.1 & no_slip_shelfice,
134     & SHELFICEwriteState,
135     & SHELFICE_dump_mdsio,
136     & SHELFICE_tave_mdsio,
137     & SHELFICE_dump_mnc,
138 heimbach 1.9 & SHELFICE_tave_mnc,
139 mlosch 1.11 & SHELFICEadvDiffHeatFlux,
140 heimbach 1.9 & SHELFICEuseGammaFrict
141 mlosch 1.1
142 mlosch 1.2 CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile
143 jmc 1.12 CHARACTER*(MAX_LEN_FNAM) SHELFICEmassFile
144 mlosch 1.6 CHARACTER*(MAX_LEN_FNAM) SHELFICEtopoFile
145 jmc 1.12 COMMON /SHELFICE_PARM_C/
146     & SHELFICEloadAnomalyFile,
147     & SHELFICEmassFile,
148 mlosch 1.6 & SHELFICEtopoFile
149 mlosch 1.2
150 mlosch 1.1 #endif /* ALLOW_SHELFICE */

  ViewVC Help
Powered by ViewVC 1.1.22