/[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.9 - (hide annotations) (download)
Wed Jun 29 16:24:10 2011 UTC (13 years, 3 months ago) by heimbach
Branch: MAIN
CVS Tags: checkpoint63h, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint63
Changes since 1.8: +12 -5 lines
File MIME type: text/plain
Implement friction velocity-dependent transfer coefficients following
Holland and Jenkins, JPO, 1999
Original code by M. Losch with small modifs.

1 heimbach 1.9 C $Header: /u/gcmpack/MITgcm/pkg/shelfice/SHELFICE.h,v 1.8 2011/05/10 07:33:14 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     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 mlosch 1.6 C SHELFICEtopoFile - File containing the topography of the
20     C shelfice draught (unit=m)
21 mlosch 1.2 C SHELFICEloadAnomalyFile - name of shelfice load anomaly file
22 mlosch 1.1 C SHELFICEDragLinear - linear drag at bottom shelfice (1/s)
23     C SHELFICEDragQuadratic - quadratic drag at bottom shelfice (1/m)
24 mlosch 1.3 C SHELFICEheatTransCoeff - heat transfer coefficient that determines
25     C heat flux into shelfice (m/s)
26     C SHELFICEsaltTransCoeff - salinity transfer coefficient that determines
27     C salt flux into shelfice (m/s)
28 mlosch 1.1 C SHELFICElatentHeat - latent heat of fusion (J/kg)
29     C useISOMIPTD - use simple ISOMIP thermodynamics
30 mlosch 1.5 C SHELFICEconserve - use conservative form of H&O-thermodynamics
31     C following Jenkins et al. (2001, JPO)
32 mlosch 1.4 C SHELFICEboundaryLayer - turn on vertical merging of cells to for a
33     C boundary layer of drF thickness
34 mlosch 1.1 C no_slip_shelfice - set slip conditions for shelfice separately,
35     C (by default the same as no_slip_bottom)
36     C SHELFICEwriteState - enable output
37     C SHELFICE_dump_mnc - use netcdf for snapshot output
38     C SHELFICE_tave_mnc - use netcdf for time-averaged output
39     C SHELFICE_dumpFreq - analoguous to dumpFreq (= default)
40     C SHELFICE_taveFreq - analoguous to taveFreq (= default)
41     C
42     C-- Fields
43 mlosch 1.2 C ktopC - index of the top "wet cell" (2D)
44     C R_shelfIce - shelfice topography [m]
45     C shelficeLoadAnomaly - pressure load anomaly of shelfice [Pa]
46     C shelficeHeatFlux - upward heat flux [W/m^2]
47     C shelficeFreshWaterFlux - upward fresh water flux (virt. salt flux) [m/s]
48     C shelficeForcingT - analogue of surfaceForcingT
49 dimitri 1.7 C units are r_unit.Kelvin/s (=Kelvin.m/s if r=z)
50 mlosch 1.2 C shelficeForcingS - analogue of surfaceForcingS
51 dimitri 1.7 C units are r_unit.psu/s (=psu.m/s if r=z)
52 mlosch 1.1 C-----------------------------------------------------------------------
53     C \ev
54     CEOP
55    
56     COMMON /SHELFICE_PARMS_I/ kTopC
57     INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
58    
59     COMMON /SHELFICE_PARMS_R/
60     & SHELFICE_dumpFreq, SHELFICE_taveFreq,
61 mlosch 1.3 & SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff,
62     & rhoShelfice, SHELFICEkappa,
63 mlosch 1.1 & SHELFICElatentHeat, recip_SHELFICElatentHeat,
64 mlosch 1.3 & SHELFICEheatCapacity_Cp,
65     & SHELFICEthetaSurface,
66 heimbach 1.9 & SHELFICEDragLinear, SHELFICEDragQuadratic,
67     & shiCdrag, shiZetaN, shiRc
68 mlosch 1.1 _RL SHELFICE_dumpFreq, SHELFICE_taveFreq
69 mlosch 1.3 _RL SHELFICEheatTransCoeff
70     _RL SHELFICEsaltTransCoeff
71 mlosch 1.1 _RL SHELFICElatentHeat
72 mlosch 1.3 _RL SHELFICEheatCapacity_Cp
73     _RL rhoShelfice
74     _RL SHELFICEkappa
75 mlosch 1.1 _RL recip_SHELFICElatentHeat
76     _RL SHELFICEDragLinear
77     _RL SHELFICEDragQuadratic
78 mlosch 1.3 _RL SHELFICEthetaSurface
79 heimbach 1.9 _RL shiCdrag, shiZetaN, shiRc
80    
81 mlosch 1.1
82     COMMON /SHELFICE_FIELDS_RL/
83 heimbach 1.9 & shelficeForcingT, shelficeForcingS,
84     & shiTransCoeffT, shiTransCoeffS
85 mlosch 1.1 _RL shelficeForcingT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
86     _RL shelficeForcingS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
87 heimbach 1.9 _RL shiTransCoeffT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
88     _RL shiTransCoeffS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
89 mlosch 1.1
90     COMMON /SHELFICE_FIELDS_RS/
91     & R_shelfIce,
92 mlosch 1.2 & shelficeLoadAnomaly,
93 mlosch 1.1 & shelficeHeatFlux,
94     & shelfIceFreshWaterFlux
95     _RS R_shelfIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
96 mlosch 1.2 _RS shelficeLoadAnomaly (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
97 mlosch 1.1 _RS shelficeHeatFlux (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
98     _RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
99 mlosch 1.8
100     #ifdef ALLOW_SHIFWFLX_CONTROL
101     COMMON /SHELFICE_MASKS_CTRL/ maskSHI
102     _RS maskSHI (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
103     #endif /* ALLOW_SHIFWFLX_CONTROL */
104 mlosch 1.1
105     LOGICAL SHELFICEisOn
106     LOGICAL useISOMIPTD
107 mlosch 1.5 LOGICAL SHELFICEconserve
108 mlosch 1.4 LOGICAL SHELFICEboundaryLayer
109 mlosch 1.1 LOGICAL no_slip_shelfice
110     LOGICAL SHELFICEwriteState
111     LOGICAL SHELFICE_dump_mdsio
112     LOGICAL SHELFICE_tave_mdsio
113     LOGICAL SHELFICE_dump_mnc
114     LOGICAL SHELFICE_tave_mnc
115 heimbach 1.9 LOGICAL SHELFICEuseGammaFrict
116 mlosch 1.1 COMMON /SHELFICE_PARMS_L/
117     & SHELFICEisOn,
118     & useISOMIPTD,
119 mlosch 1.5 & SHELFICEconserve,
120 mlosch 1.4 & SHELFICEboundaryLayer,
121 mlosch 1.1 & no_slip_shelfice,
122     & SHELFICEwriteState,
123     & SHELFICE_dump_mdsio,
124     & SHELFICE_tave_mdsio,
125     & SHELFICE_dump_mnc,
126 heimbach 1.9 & SHELFICE_tave_mnc,
127     & SHELFICEuseGammaFrict
128 mlosch 1.1
129 mlosch 1.2 CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile
130 mlosch 1.6 CHARACTER*(MAX_LEN_FNAM) SHELFICEtopoFile
131 mlosch 1.2 COMMON /SHELFICE_PARM_C/
132 mlosch 1.6 & SHELFICEloadAnomalyFile,
133     & SHELFICEtopoFile
134 mlosch 1.2
135 mlosch 1.1 #endif /* ALLOW_SHELFICE */

  ViewVC Help
Powered by ViewVC 1.1.22