New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 11541 for NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isfcav.F90 – NEMO

Ignore:
Timestamp:
2019-09-12T18:41:17+02:00 (5 years ago)
Author:
mathiot
Message:

ENHANCE-02_ISF: simplify use of ln_isf, add extra comments + minor changes (ticket #2142)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/ENHANCE-02_ISF_nemo/src/OCE/ISF/isfcav.F90

    r11521 r11541  
    11MODULE isfcav 
    22   !!====================================================================== 
    3    !!                       ***  MODULE  sbcisf  *** 
    4    !! Surface module :  update surface ocean boundary condition under ice 
    5    !!                   shelf 
     3   !!                       ***  MODULE  isfcav  *** 
     4   !! Ice shelf cavity module :  update ice shelf melting under ice 
     5   !!                            shelf 
    66   !!====================================================================== 
    77   !! History :  3.2  !  2011-02  (C.Harris  ) Original code isf cav 
    8    !!            X.X  !  2006-02  (C. Wang   ) Original code bg03 
    98   !!            3.4  !  2013-03  (P. Mathiot) Merging + parametrization 
     9   !!            4.1  !  2019-09  (P. Mathiot) Split ice shelf cavity and ice shelf parametrisation 
    1010   !!---------------------------------------------------------------------- 
    1111 
    1212   !!---------------------------------------------------------------------- 
    13    !!   sbc_isf       : update sbc under ice shelf 
     13   !!   isf_cav       : update ice shelf melting under ice shelf 
    1414   !!---------------------------------------------------------------------- 
    1515   USE oce            ! ocean dynamics and tracers 
    16    USE isf            ! 
    17    USE isftbl         ! 
    18    USE isfcavmlt 
    19    USE isfcavgam 
    20    USE isfdiags 
     16   USE isf            ! ice shelf public variables 
     17   USE isftbl         ! ice shelf top boundary layer properties 
     18   USE isfcavmlt      ! ice shelf melt formulation 
     19   USE isfcavgam      ! ice shelf melt exchange coeficient 
     20   USE isfdiags       ! ice shelf diags 
    2121   USE dom_oce        ! ocean space and time domain 
    2222   USE phycst         ! physical constants 
     
    2626   USE iom            ! I/O library 
    2727   USE fldread        ! read input field at current time step 
    28    USE lbclnk         ! 
     28   USE lbclnk         ! lbclnk 
    2929 
    3030   IMPLICIT NONE 
     
    4343   SUBROUTINE isf_cav( kt, ptsc, pqfwf ) 
    4444      !!--------------------------------------------------------------------- 
    45       !!                     ***  ROUTINE sbc_isf_cav  *** 
     45      !!                     ***  ROUTINE isf_cav  *** 
    4646      !! 
    4747      !! ** Purpose :   handle surface boundary condition under ice shelf 
    4848      !! 
    49       !! ** Method  : - 
     49      !! ** Method  :   based on Mathiot et al. (2017) 
    5050      !! 
    51       !! ** Action  :   utau, vtau : remain unchanged 
    52       !!                taum, wndm : remain unchanged 
    53       !!                qns        : update heat flux below ice shelf 
    54       !!                emp, emps  : update freshwater flux below ice shelf 
     51      !! ** Action  :   - compute geometry of the Losch top bournary layer (see Losch et al. 2008) 
     52      !!                - depending on the chooses option 
     53      !!                   - compute temperature/salt in the tbl 
     54      !!                   - compute exchange coeficient 
     55      !!                   - compute heat and fwf fluxes 
     56      !!                   - output 
    5557      !!--------------------------------------------------------------------- 
    5658      !!-------------------------- OUT -------------------------------------- 
     
    6870      REAL(wp), DIMENSION(jpi,jpj) :: zttbl, zstbl 
    6971      !!--------------------------------------------------------------------- 
    70       ! 
    71       ! compute misfkb_par, rhisf_tbl 
    72       rhisf_tbl_cav(:,:) = rn_htbl * mskisf_cav(:,:) 
    73       CALL isf_tbl_lvl( ht_n, e3t_n, misfkt_cav, misfkb_cav, rhisf_tbl_cav, rfrac_tbl_cav ) 
    7472      ! 
    7573      ! compute T/S/U/V for the top boundary layer 
     
    118116            END IF 
    119117         END SELECT 
    120  
     118         ! 
    121119      END DO 
    122120      ! 
     
    145143   SUBROUTINE isf_cav_init 
    146144      !!--------------------------------------------------------------------- 
    147       !!                  ***  ROUTINE isf_diags_2dto3d *** 
     145      !!                  ***  ROUTINE isf_cav_init *** 
    148146      !! 
    149       !! ** Purpose :  
     147      !! ** Purpose : initialisation of variable needed to compute melt under an ice shelf 
    150148      !! 
    151149      !!---------------------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.