/[MITgcm]/MITgcm/pkg/icefront/ICEFRONT.h
ViewVC logotype

Diff of /MITgcm/pkg/icefront/ICEFRONT.h

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

revision 1.3 by dimitri, Mon Jan 25 22:37:19 2010 UTC revision 1.4 by dimitri, Fri Jan 29 01:05:27 2010 UTC
# Line 16  C     \================================= Line 16  C     \=================================
16  C-----------------------------------------------------------------------  C-----------------------------------------------------------------------
17  C  C
18  C--   Constants that can be set in data.icefront  C--   Constants that can be set in data.icefront
19  C     ICEFRONTtopoFile         - File containing the topography of the  C     ICEFRONTdepthFile        - name of icefront depth file (m)
20  C                                icefront draught (unit=m)  C                                2D file containing depth of the ice front
21    C                                at each model grid cell
22    C     ICEFRONTlengthFile       - name of icefront length file (m/m^2)
23    C                                2D file containing the ratio of the horizontal
24    C                                length of the ice front in each model grid cell
25    C                                divided by the grid cell area
26  C     ICEFRONTheatTransCoeff   - heat transfer coefficient that determines  C     ICEFRONTheatTransCoeff   - heat transfer coefficient that determines
27  C                                 heat flux into icefront (m/s)  C                                 heat flux into icefront (m/s)
28  C     ICEFRONTsaltTransCoeff   - salinity transfer coefficient that determines  C     ICEFRONTsaltTransCoeff   - salinity transfer coefficient that determines
29  C                                salt flux into icefront (m/s)  C                                salt flux into icefront (m/s)
30  C     ICEFRONTlatentHeat       - latent heat of fusion (J/kg)  C     ICEFRONTlatentHeat       - latent heat of fusion (J/kg)
 C     useISOMIPTD              - use simple ISOMIP thermodynamics  
31  C     ICEFRONTconserve         - use conservative form of H&O-thermodynamics  C     ICEFRONTconserve         - use conservative form of H&O-thermodynamics
32  C                                following Jenkins et al. (2001, JPO)  C                                following Jenkins et al. (2001, JPO)
33    C     applyIcefrontTendT/S     -  
34  C  C
35  C--   Fields  C--   Fields
36  C     R_icefront             - icefront topography [m]  C     K_icefront             - # of icefront model levels at every horizontal location (2D)
37  C     icefrontHeatFlux       - upward heat flux [W/m^2]  C     R_icefront             - icefront depth [m] (2D)
38  C     icefrontFreshWaterFlux - upward fresh water flux (virt. salt flux) [m/s]  C     icefrontlength         - icefront horizontal length divided by grid cell area [m/m^2] (2D)
39  C     icefrontForcingT       - analogue of surfaceForcingT  C     icefrontHeatFlux       - outward heat flux, +ve cools the ocean [W/m^2]
40  C     icefrontForcingS       - analogue of surfaceForcingS  C     icefrontFreshWaterFlux - outward fresh water flux, +ve increases ocean salinity [m/s]
41    C     icefront_TendT         - temperature tendency (Kelvin/s)
42    C     icefront_TendS         - salinity tendency (psu/s)
43  C-----------------------------------------------------------------------  C-----------------------------------------------------------------------
44  C \ev  C \ev
45  CEOP  CEOP
46    
47          COMMON /ICEFRONT_PARMS_I/  K_icefront
48          INTEGER K_icefront (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
49    
50        COMMON /ICEFRONT_PARMS_R/        COMMON /ICEFRONT_PARMS_R/
51       &     ICEFRONTheatTransCoeff, ICEFRONTsaltTransCoeff,       &     ICEFRONTheatTransCoeff, ICEFRONTsaltTransCoeff,
52       &     rhoIcefront, ICEFRONTkappa,       &     rhoIcefront, ICEFRONTkappa,
# Line 53  CEOP Line 63  CEOP
63        _RL ICEFRONTthetaSurface        _RL ICEFRONTthetaSurface
64    
65        COMMON /ICEFRONT_FIELDS_RL/        COMMON /ICEFRONT_FIELDS_RL/
66       &     icefrontForcingT,       &     icefront_TendT,
67       &     icefrontForcingS       &     icefront_TendS
68        _RL icefrontForcingT      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RL icefront_TendT        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
69        _RL icefrontForcingS      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RL icefront_TendS        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
70    
71        COMMON /ICEFRONT_FIELDS_RS/        COMMON /ICEFRONT_FIELDS_RS/
72       &     R_icefront,       &     R_icefront,
73         &     icefrontlength,
74       &     icefrontHeatFlux,       &     icefrontHeatFlux,
75       &     icefrontFreshWaterFlux       &     icefrontFreshWaterFlux
76        _RS R_icefront            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)        _RS R_icefront            (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
77          _RS icefrontlength        (1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
78        _RS icefrontHeatFlux      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RS icefrontHeatFlux      (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
79        _RS icefrontFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)        _RS icefrontFreshWaterFlux(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
80                
81        LOGICAL ICEFRONTisOn        LOGICAL ICEFRONTisOn
       LOGICAL useISOMIPTD  
82        LOGICAL ICEFRONTconserve        LOGICAL ICEFRONTconserve
83          LOGICAL applyIcefrontTendT
84          LOGICAL applyIcefrontTendS
85        COMMON /ICEFRONT_PARMS_L/        COMMON /ICEFRONT_PARMS_L/
86       &     ICEFRONTisOn,       &     ICEFRONTisOn,
87       &     useISOMIPTD,       &     ICEFRONTconserve,
88       &     ICEFRONTconserve       &     applyIcefrontTendT,
89         &     applyIcefrontTendS
90    
91        CHARACTER*(MAX_LEN_FNAM) ICEFRONTtopoFile        CHARACTER*(MAX_LEN_FNAM) ICEFRONTlengthFile
92          CHARACTER*(MAX_LEN_FNAM) ICEFRONTdepthFile
93        COMMON /ICEFRONT_PARM_C/        COMMON /ICEFRONT_PARM_C/
94       &     ICEFRONTtopoFile       &     ICEFRONTlengthFile,
95         &     ICEFRONTdepthFile
96    
97  #endif /* ALLOW_ICEFRONT */  #endif /* ALLOW_ICEFRONT */

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.22