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

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

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

revision 1.11 by mlosch, Fri May 18 12:17:01 2012 UTC revision 1.12 by jmc, Thu Apr 11 18:50:20 2013 UTC
# Line 7  CBOP Line 7  CBOP
7  C !ROUTINE: SHELFICE.h  C !ROUTINE: SHELFICE.h
8    
9  C !DESCRIPTION: \bv  C !DESCRIPTION: \bv
10  C     /==========================================================\  C     *==========================================================*
11  C     | SHELFICE.h                                               |  C     | SHELFICE.h
12  C     | o Basic header thermodnynamic shelf ice package.         |  C     | o Basic header thermodnynamic shelf ice package.
13  C     |   Contains all SHELFICE field declarations.              |  C     |   Contains all SHELFICE field declarations.
14  C     \==========================================================/  C     *==========================================================*
15    
16  C-----------------------------------------------------------------------  C-----------------------------------------------------------------------
17  C  C
18  C--   Constants that can be set in data.shelfice  C--   Constants that can be set in data.shelfice
19  C     SHELFICEtopoFile         - File containing the topography of the  C     SHELFICEtopoFile         :: File containing the topography of the
20  C                                shelfice draught (unit=m)  C                                 shelfice draught (unit=m)
21  C     SHELFICEloadAnomalyFile  - name of shelfice load anomaly file  C     SHELFICEmassFile         :: name of shelfice Mass file
22  C     SHELFICEDragLinear       - linear drag at bottom shelfice (1/s)  C     SHELFICEloadAnomalyFile  :: name of shelfice load anomaly file
23  C     SHELFICEDragQuadratic    - quadratic drag at bottom shelfice (1/m)  C     SHELFICEDragLinear       :: linear drag at bottom shelfice (1/s)
24  C     SHELFICEheatTransCoeff   - heat transfer coefficient that determines  C     SHELFICEDragQuadratic    :: quadratic drag at bottom shelfice (1/m)
25    C     SHELFICEheatTransCoeff   :: heat transfer coefficient that determines
26  C                                 heat flux into shelfice (m/s)  C                                 heat flux into shelfice (m/s)
27  C     SHELFICEsaltTransCoeff   - salinity transfer coefficient that determines  C     SHELFICEsaltTransCoeff   :: salinity transfer coefficient that determines
28  C                                salt flux into shelfice (m/s)  C                                 salt flux into shelfice (m/s)
29  C     SHELFICElatentHeat       - latent heat of fusion (J/kg)  C     SHELFICElatentHeat       :: latent heat of fusion (J/kg)
30  C     useISOMIPTD              - use simple ISOMIP thermodynamics  C     useISOMIPTD              :: use simple ISOMIP thermodynamics
31  C     SHELFICEconserve         - use conservative form of H&O-thermodynamics  C     SHELFICEconserve         :: use conservative form of H&O-thermodynamics
32  C                                following Jenkins et al. (2001, JPO)  C                                 following Jenkins et al. (2001, JPO)
33  C     SHELFICEboundaryLayer    - turn on vertical merging of cells to for a  C     SHELFICEboundaryLayer    :: turn on vertical merging of cells to for a
34  C                                boundary layer of drF thickness  C                                 boundary layer of drF thickness
35  C     SHELFICEadvDiffHeatFlux  - use advective-diffusive heat flux into the ice shelf  C     SHELFICEadvDiffHeatFlux  :: use advective-diffusive heat flux into the ice shelf
36  C                                instead of diffusive heat flux (default), see Holland  C                                 instead of diffusive heat flux (default), see Holland
37  C                                and Jenkins (1999), eq.21,22,26,31  C                                 and Jenkins (1999), eq.21,22,26,31
38  C     SHELFICEuseGammaFrict    - use velocity dependent exchange coefficients, see Holland a  C     SHELFICEuseGammaFrict    :: use velocity dependent exchange coefficients,
39  C                                and Jenkins (1999), eq.11-18  C                                 see Holland and Jenkins (1999), eq.11-18
40  C     no_slip_shelfice         - set slip conditions for shelfice separately,  C     no_slip_shelfice         :: set slip conditions for shelfice separately,
41  C                                (by default the same as no_slip_bottom)  C                                 (by default the same as no_slip_bottom)
42  C     SHELFICEwriteState       - enable output  C     SHELFICEwriteState       :: enable output
43  C     SHELFICE_dump_mnc        - use netcdf for snapshot output  C     SHELFICE_dump_mnc        :: use netcdf for snapshot output
44  C     SHELFICE_tave_mnc        - use netcdf for time-averaged output  C     SHELFICE_tave_mnc        :: use netcdf for time-averaged output
45  C     SHELFICE_dumpFreq        - analoguous to dumpFreq (= default)  C     SHELFICE_dumpFreq        :: analoguous to dumpFreq (= default)
46  C     SHELFICE_taveFreq        - analoguous to taveFreq (= default)  C     SHELFICE_taveFreq        :: analoguous to taveFreq (= default)
47  C  C
48  C--   Fields  C--   Fields
49  C     ktopC                  - index of the top "wet cell" (2D)  C     ktopC                  :: index of the top "wet cell" (2D)
50  C     R_shelfIce             - shelfice topography [m]  C     R_shelfIce             :: shelfice topography [m]
51  C     shelficeLoadAnomaly    - pressure load anomaly of shelfice [Pa]  C     shelficeMass           :: ice-shelf mass (per unit area) [kg/m2]
52  C     shelficeHeatFlux       - upward heat flux [W/m^2]  C     shelficeLoadAnomaly    :: pressure load anomaly of shelfice [Pa]
53  C     shelficeFreshWaterFlux - upward fresh water flux (virt. salt flux) [m/s]  C     shelficeHeatFlux       :: upward heat flux [W/m^2]
54  C     shelficeForcingT       - analogue of surfaceForcingT  C     shelficeFreshWaterFlux :: upward fresh water flux (virt. salt flux) [m/s]
55  C                              units are  r_unit.Kelvin/s (=Kelvin.m/s if r=z)  C     shelficeForcingT       :: analogue of surfaceForcingT
56  C     shelficeForcingS       - analogue of surfaceForcingS  C                               units are  r_unit.Kelvin/s (=Kelvin.m/s if r=z)
57  C                              units are  r_unit.psu/s (=psu.m/s if r=z)  C     shelficeForcingS       :: analogue of surfaceForcingS
58    C                               units are  r_unit.psu/s (=psu.m/s if r=z)
59  C-----------------------------------------------------------------------  C-----------------------------------------------------------------------
60  C \ev  C \ev
61  CEOP  CEOP
# Line 61  CEOP Line 63  CEOP
63        COMMON /SHELFICE_PARMS_I/  kTopC        COMMON /SHELFICE_PARMS_I/  kTopC
64        INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        INTEGER kTopC (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
65    
66        COMMON /SHELFICE_PARMS_R/        COMMON /SHELFICE_PARMS_R/
67       &     SHELFICE_dumpFreq, SHELFICE_taveFreq,       &     SHELFICE_dumpFreq, SHELFICE_taveFreq,
68       &     SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff,       &     SHELFICEheatTransCoeff, SHELFICEsaltTransCoeff,
69       &     rhoShelfice, SHELFICEkappa,       &     rhoShelfice, SHELFICEkappa,
# Line 86  CEOP Line 88  CEOP
88        _RL shiCdrag, shiZetaN, shiRc        _RL shiCdrag, shiZetaN, shiRc
89        _RL shiPrandtl, shiSchmidt, shiKinVisc        _RL shiPrandtl, shiSchmidt, shiKinVisc
90    
91          COMMON /SHELFICE_FIELDS_RL/
       COMMON /SHELFICE_FIELDS_RL/  
92       &     shelficeForcingT, shelficeForcingS,       &     shelficeForcingT, shelficeForcingS,
93       &     shiTransCoeffT, shiTransCoeffS       &     shiTransCoeffT, shiTransCoeffS
94        _RL shelficeForcingT      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RL shelficeForcingT      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
# Line 95  CEOP Line 96  CEOP
96        _RL shiTransCoeffT        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _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)        _RL shiTransCoeffS        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
98    
99        COMMON /SHELFICE_FIELDS_RS/        COMMON /SHELFICE_FIELDS_RS/
100       &     R_shelfIce,       &     R_shelfIce,
101       &     shelficeLoadAnomaly,       &     shelficeMass,
102         &     shelficeLoadAnomaly,
103       &     shelficeHeatFlux,       &     shelficeHeatFlux,
104       &     shelfIceFreshWaterFlux       &     shelfIceFreshWaterFlux
105        _RS R_shelfIce            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS R_shelfIce            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
106          _RS shelficeMass          (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
107        _RS shelficeLoadAnomaly   (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS shelficeLoadAnomaly   (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
108        _RS shelficeHeatFlux      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _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)        _RS shelficeFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
110    
111  #ifdef ALLOW_SHIFWFLX_CONTROL        #ifdef ALLOW_SHIFWFLX_CONTROL
112        COMMON /SHELFICE_MASKS_CTRL/ maskSHI        COMMON /SHELFICE_MASKS_CTRL/ maskSHI
113        _RS maskSHI  (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RS maskSHI  (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
114  #endif /* ALLOW_SHIFWFLX_CONTROL */  #endif /* ALLOW_SHIFWFLX_CONTROL */
115          
116        LOGICAL SHELFICEisOn        LOGICAL SHELFICEisOn
117        LOGICAL useISOMIPTD        LOGICAL useISOMIPTD
118        LOGICAL SHELFICEconserve        LOGICAL SHELFICEconserve
# Line 137  CEOP Line 140  CEOP
140       &     SHELFICEuseGammaFrict       &     SHELFICEuseGammaFrict
141    
142        CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile        CHARACTER*(MAX_LEN_FNAM) SHELFICEloadAnomalyFile
143          CHARACTER*(MAX_LEN_FNAM) SHELFICEmassFile
144        CHARACTER*(MAX_LEN_FNAM) SHELFICEtopoFile        CHARACTER*(MAX_LEN_FNAM) SHELFICEtopoFile
145        COMMON /SHELFICE_PARM_C/        COMMON /SHELFICE_PARM_C/
146       &     SHELFICEloadAnomalyFile,       &     SHELFICEloadAnomalyFile,
147         &     SHELFICEmassFile,
148       &     SHELFICEtopoFile       &     SHELFICEtopoFile
149    
150  #endif /* ALLOW_SHELFICE */  #endif /* ALLOW_SHELFICE */

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.22