1 |
C $Header: /u/gcmpack/MITgcm/pkg/shelfice/SHELFICE.h,v 1.5 2007/10/10 09:26:39 mlosch Exp $ |
2 |
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 |
C SHELFICEtopoFile - File containing the topography of the |
20 |
C shelfice draught (unit=m) |
21 |
C SHELFICEloadAnomalyFile - name of shelfice load anomaly file |
22 |
C SHELFICEDragLinear - linear drag at bottom shelfice (1/s) |
23 |
C SHELFICEDragQuadratic - quadratic drag at bottom shelfice (1/m) |
24 |
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 |
C SHELFICElatentHeat - latent heat of fusion (J/kg) |
29 |
C useISOMIPTD - use simple ISOMIP thermodynamics |
30 |
C SHELFICEconserve - use conservative form of H&O-thermodynamics |
31 |
C following Jenkins et al. (2001, JPO) |
32 |
C SHELFICEboundaryLayer - turn on vertical merging of cells to for a |
33 |
C boundary layer of drF thickness |
34 |
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 |
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 |
C shelficeForcingS - analogue of surfaceForcingS |
50 |
C----------------------------------------------------------------------- |
51 |
C \ev |
52 |
CEOP |
53 |
|
54 |
COMMON /SHELFICE_PARMS_I/ kTopC |
55 |
INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
56 |
|
57 |
COMMON /SHELFICE_PARMS_R/ |
58 |
& SHELFICE_dumpFreq, SHELFICE_taveFreq, |
59 |
& SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff, |
60 |
& rhoShelfice, SHELFICEkappa, |
61 |
& SHELFICElatentHeat, recip_SHELFICElatentHeat, |
62 |
& SHELFICEheatCapacity_Cp, |
63 |
& SHELFICEthetaSurface, |
64 |
& SHELFICEDragLinear, SHELFICEDragQuadratic |
65 |
_RL SHELFICE_dumpFreq, SHELFICE_taveFreq |
66 |
_RL SHELFICEheatTransCoeff |
67 |
_RL SHELFICEsaltTransCoeff |
68 |
_RL SHELFICElatentHeat |
69 |
_RL SHELFICEheatCapacity_Cp |
70 |
_RL rhoShelfice |
71 |
_RL SHELFICEkappa |
72 |
_RL recip_SHELFICElatentHeat |
73 |
_RL SHELFICEDragLinear |
74 |
_RL SHELFICEDragQuadratic |
75 |
_RL SHELFICEthetaSurface |
76 |
|
77 |
COMMON /SHELFICE_FIELDS_RL/ |
78 |
& shelficeForcingT, |
79 |
& shelficeForcingS |
80 |
_RL shelficeForcingT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
81 |
_RL shelficeForcingS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
82 |
|
83 |
COMMON /SHELFICE_FIELDS_RS/ |
84 |
& R_shelfIce, |
85 |
& shelficeLoadAnomaly, |
86 |
& shelficeHeatFlux, |
87 |
& shelfIceFreshWaterFlux |
88 |
_RS R_shelfIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
89 |
_RS shelficeLoadAnomaly (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
90 |
_RS shelficeHeatFlux (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
91 |
_RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy) |
92 |
|
93 |
LOGICAL SHELFICEisOn |
94 |
LOGICAL useISOMIPTD |
95 |
LOGICAL SHELFICEconserve |
96 |
LOGICAL SHELFICEboundaryLayer |
97 |
LOGICAL no_slip_shelfice |
98 |
LOGICAL SHELFICEwriteState |
99 |
LOGICAL SHELFICE_dump_mdsio |
100 |
LOGICAL SHELFICE_tave_mdsio |
101 |
LOGICAL SHELFICE_dump_mnc |
102 |
LOGICAL SHELFICE_tave_mnc |
103 |
COMMON /SHELFICE_PARMS_L/ |
104 |
& SHELFICEisOn, |
105 |
& useISOMIPTD, |
106 |
& SHELFICEconserve, |
107 |
& SHELFICEboundaryLayer, |
108 |
& no_slip_shelfice, |
109 |
& SHELFICEwriteState, |
110 |
& SHELFICE_dump_mdsio, |
111 |
& SHELFICE_tave_mdsio, |
112 |
& SHELFICE_dump_mnc, |
113 |
& SHELFICE_tave_mnc |
114 |
|
115 |
CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile |
116 |
CHARACTER*(MAX_LEN_FNAM) SHELFICEtopoFile |
117 |
COMMON /SHELFICE_PARM_C/ |
118 |
& SHELFICEloadAnomalyFile, |
119 |
& SHELFICEtopoFile |
120 |
|
121 |
#endif /* ALLOW_SHELFICE */ |