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 14917 for NEMO/branches/2021 – NEMO

Changeset 14917 for NEMO/branches/2021


Ignore:
Timestamp:
2021-05-27T19:30:09+02:00 (3 years ago)
Author:
mathiot
Message:

ticket #2669: add masking of isftfrz_* variables, fix issue on vertical mean in bg03 case, fix sign of qlatisf output

Location:
NEMO/branches/2021/ticket2669_isf_fluxes/src/OCE/ISF
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2021/ticket2669_isf_fluxes/src/OCE/ISF/isfcavmlt.F90

    r14907 r14917  
    124124      ! 
    125125      ! output freezing point at the interface 
    126       CALL iom_put('isftfrz_cav', ztfrz ) 
     126      CALL iom_put('isftfrz_cav', ztfrz(:,:) * mskisf_cav(:,:) ) 
    127127      ! 
    128128   END SUBROUTINE isfcav_mlt_spe 
     
    169169      ! output thermal driving and freezinpoint at the ice shelf interface 
    170170      CALL iom_put('isfthermald_cav', zthd ) 
    171       CALL iom_put('isftfrz_cav'    , ztfrz ) 
     171      CALL iom_put('isftfrz_cav'    , ztfrz(:,:) * mskisf_cav(:,:) ) 
    172172      ! 
    173173   END SUBROUTINE isfcav_mlt_2eq 
  • NEMO/branches/2021/ticket2669_isf_fluxes/src/OCE/ISF/isfpar.F90

    r14908 r14917  
    7575      zqhc (:,:) = zqhc(:,:)  * mskisf_par(:,:) 
    7676      ! 
    77       ! compute heat content flux ( > 0 out ) 
    78       zqlat(:,:) = pqfwf(:,:) * rLfusisf    ! 2d latent heat flux (W/m2) 
     77      ! compute latent heat flux ( > 0 out ) 
     78      zqlat(:,:) = - pqfwf(:,:) * rLfusisf    ! 2d latent heat flux (W/m2) 
    7979      ! 
    8080      ! total heat flux ( > 0 out ) 
  • NEMO/branches/2021/ticket2669_isf_fluxes/src/OCE/ISF/isfparmlt.F90

    r14916 r14917  
    116116      pqhc (:,:) =   pqfwf(:,:) * ztfrz(:,:) * rcp     ! heat content flux                                            ( > 0 out ) 
    117117      ! 
    118       CALL iom_put('isftfrz_par', ztfrz ) 
     118      CALL iom_put('isftfrz_par', ztfrz(:,:) * mskisf_par(:,:) ) 
    119119      ! 
    120120   END SUBROUTINE isfpar_mlt_spe 
     
    154154      ! 
    155155      ! 1. ------------Mean temperature 
    156       CALL isf_tbl(Kmm, ts(:,:,jk,jp_tem,Kmm), ztavg, 'T', misfkt_par, rhisf_tbl_par, misfkb_par, rfrac_tbl_par ) 
     156      CALL isf_tbl(Kmm, ts(:,:,:,jp_tem,Kmm), ztavg, 'T', misfkt_par, rhisf_tbl_par, misfkb_par, rfrac_tbl_par ) 
    157157      ! 
    158158      ! 2. ------------Net heat flux and fresh water flux due to the ice shelf 
     
    169169      ! 
    170170      ! output freezing point used to define the thermal driving and heat content fluxes 
    171       CALL iom_put('isftfrz_par', ztfrz ) 
     171      CALL iom_put('isftfrz_par', ztfrz(:,:) * mskisf_par(:,:) ) 
    172172      ! 
    173173   END SUBROUTINE isfpar_mlt_bg03 
Note: See TracChangeset for help on using the changeset viewer.