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

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

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


Revision 1.8 - (show annotations) (download)
Tue May 10 07:33:14 2011 UTC (13 years, 4 months ago) by mlosch
Branch: MAIN
CVS Tags: checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.7: +6 -1 lines
File MIME type: text/plain
add new control variable xx_shifwflx (fresh water flux underneath ice
shelves). This is almost as tedious as obcs-ctrl, because the
variables needs its own mask. The mask is defined here.

1 C $Header: /u/gcmpack/MITgcm/pkg/shelfice/SHELFICE.h,v 1.7 2010/01/29 01:05:27 dimitri 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 units are r_unit.Kelvin/s (=Kelvin.m/s if r=z)
50 C shelficeForcingS - analogue of surfaceForcingS
51 C units are r_unit.psu/s (=psu.m/s if r=z)
52 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 & SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff,
62 & rhoShelfice, SHELFICEkappa,
63 & SHELFICElatentHeat, recip_SHELFICElatentHeat,
64 & SHELFICEheatCapacity_Cp,
65 & SHELFICEthetaSurface,
66 & SHELFICEDragLinear, SHELFICEDragQuadratic
67 _RL SHELFICE_dumpFreq, SHELFICE_taveFreq
68 _RL SHELFICEheatTransCoeff
69 _RL SHELFICEsaltTransCoeff
70 _RL SHELFICElatentHeat
71 _RL SHELFICEheatCapacity_Cp
72 _RL rhoShelfice
73 _RL SHELFICEkappa
74 _RL recip_SHELFICElatentHeat
75 _RL SHELFICEDragLinear
76 _RL SHELFICEDragQuadratic
77 _RL SHELFICEthetaSurface
78
79 COMMON /SHELFICE_FIELDS_RL/
80 & shelficeForcingT,
81 & shelficeForcingS
82 _RL shelficeForcingT (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
83 _RL shelficeForcingS (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
84
85 COMMON /SHELFICE_FIELDS_RS/
86 & R_shelfIce,
87 & shelficeLoadAnomaly,
88 & shelficeHeatFlux,
89 & shelfIceFreshWaterFlux
90 _RS R_shelfIce (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
91 _RS shelficeLoadAnomaly (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
92 _RS shelficeHeatFlux (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
93 _RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
94
95 #ifdef ALLOW_SHIFWFLX_CONTROL
96 COMMON /SHELFICE_MASKS_CTRL/ maskSHI
97 _RS maskSHI (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
98 #endif /* ALLOW_SHIFWFLX_CONTROL */
99
100 LOGICAL SHELFICEisOn
101 LOGICAL useISOMIPTD
102 LOGICAL SHELFICEconserve
103 LOGICAL SHELFICEboundaryLayer
104 LOGICAL no_slip_shelfice
105 LOGICAL SHELFICEwriteState
106 LOGICAL SHELFICE_dump_mdsio
107 LOGICAL SHELFICE_tave_mdsio
108 LOGICAL SHELFICE_dump_mnc
109 LOGICAL SHELFICE_tave_mnc
110 COMMON /SHELFICE_PARMS_L/
111 & SHELFICEisOn,
112 & useISOMIPTD,
113 & SHELFICEconserve,
114 & SHELFICEboundaryLayer,
115 & no_slip_shelfice,
116 & SHELFICEwriteState,
117 & SHELFICE_dump_mdsio,
118 & SHELFICE_tave_mdsio,
119 & SHELFICE_dump_mnc,
120 & SHELFICE_tave_mnc
121
122 CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile
123 CHARACTER*(MAX_LEN_FNAM) SHELFICEtopoFile
124 COMMON /SHELFICE_PARM_C/
125 & SHELFICEloadAnomalyFile,
126 & SHELFICEtopoFile
127
128 #endif /* ALLOW_SHELFICE */

  ViewVC Help
Powered by ViewVC 1.1.22