Back to home page

MITgcm

 
 

    


File indexing completed on 2023-04-05 05:10:00 UTC

view on githubraw file Latest commit ab47de63 on 2023-04-04 20:10:37 UTC
3e7e83cab9 Jean*0001 C- Common file for length scales
0c0d21fb5c Davi*0002 
                0003 #ifdef ALLOW_MOM_COMMON
                0004 
845dcd8102 Jean*0005 C--   COMMON /MOM_VISC_PAR_L/ logical-type parameters for Momemtum viscosity
                0006 C     useHarmonicVisc   :: harmonic   horizontal viscosity is used
                0007 C     useBiharmonicVisc :: biharmonic horizontal viscosity is used
                0008 C     useVariableVisc   :: variable (in space or time) viscosity is used
                0009       COMMON /MOM_VISC_PAR_L/
                0010      &        useHarmonicVisc, useBiharmonicVisc, useVariableVisc
                0011       LOGICAL useHarmonicVisc, useBiharmonicVisc, useVariableVisc
                0012 
                0013       COMMON /MOM_VISC_LENGTH/ L2_D, L2_Z,
                0014      &                         L3_D, L3_Z,
                0015      &                         L4rdt_D, L4rdt_Z
0c0d21fb5c Davi*0016       _RL L2_D(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0017       _RL L2_Z(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0018       _RL L3_D(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0019       _RL L3_Z(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0020       _RL L4rdt_D(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0021       _RL L4rdt_Z(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0022 
af960ebfb4 Jean*0023 #ifdef ALLOW_SMAG_3D
                0024 C     smag3D_hLsC :: horiz. grid length scale (power 2/3) at grid cell center
                0025 C     smag3D_hLsW :: horiz. grid length scale (power 2/3) at western  edge
                0026 C     smag3D_hLsS :: horiz. grid length scale (power 2/3) at southern egde
                0027 C     smag3D_hLsZ :: horiz. grid length scale (power 2/3) at grid cell corner
                0028       COMMON /MOM_SMAG_3D_LENGTH/
                0029      &        smag3D_hLsC, smag3D_hLsW,
                0030      &        smag3D_hLsS, smag3D_hLsZ
                0031       _RS smag3D_hLsC(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0032       _RS smag3D_hLsW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0033       _RS smag3D_hLsS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0034       _RS smag3D_hLsZ(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0035 #endif /* ALLOW_SMAG_3D */
                0036 
18ef5132e1 Gael*0037 #ifdef ALLOW_3D_VISCAH
                0038 C     viscAhDfld, viscAhZfld :: full 3D specification of Laplacian Viscosity
3e7e83cab9 Jean*0039 C               coeff. for mixing of momentum horizontally ( units of m^2/s )
845dcd8102 Jean*0040       COMMON /MOM_VISC_3D_VISCAH/
18ef5132e1 Gael*0041      &                  viscAhDfld, viscAhZfld
                0042       _RL  viscAhDfld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0043       _RL  viscAhZfld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0044 #endif
                0045 
                0046 #ifdef ALLOW_3D_VISCA4
                0047 C     viscA4Dfld, viscA4Zfld :: full 3D specification of Bi-harmonic Viscosity
3e7e83cab9 Jean*0048 C               coeff. for mixing of momentum horizontally ( units of m^4/s )
845dcd8102 Jean*0049       COMMON /MOM_VISC_3D_VISCA4/
18ef5132e1 Gael*0050      &                  viscA4Dfld, viscA4Zfld
                0051       _RL  viscA4Dfld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0052       _RL  viscA4Zfld (1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0053 #endif
                0054 
845dcd8102 Jean*0055 #ifdef ALLOW_NONHYDROSTATIC
                0056 C     viscAh_W  :: Horizontal  harmonic  viscosity for vertical momentum
                0057 C     viscA4_W  :: Horizontal biharmonic viscosity for vertical momentum
                0058       COMMON /MOM_VISC_NH/
                0059      &                  viscAh_W, viscA4_W
                0060       _RL  viscAh_W(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0061       _RL  viscA4_W(1-OLx:sNx+OLx,1-OLy:sNy+OLy,Nr,nSx,nSy)
                0062 #endif /* ALLOW_NONHYDROSTATIC */
                0063 
ab47de63dc Mart*0064 #ifdef ALLOW_BOTTOMDRAG_ROUGHNESS
                0065 C--   bottom drag coefficents as a function of grid cell thickness
                0066 C     and roughness length
                0067       COMMON /GRID_DRAGCOEFFS_RS/
                0068      &     bottomDragCoeffW, bottomDragCoeffS
                0069       _RS bottomDragCoeffW(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0070       _RS bottomDragCoeffS(1-OLx:sNx+OLx,1-OLy:sNy+OLy,nSx,nSy)
                0071 #endif
                0072 
0c0d21fb5c Davi*0073 #endif /* ALLOW_MOM_COMMON */