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 14235 for NEMO/trunk/src/ABL/ablmod.F90 – NEMO

Ignore:
Timestamp:
2020-12-21T14:22:03+01:00 (4 years ago)
Author:
gsamson
Message:

make ABL work again with new bulks (output LHF from ablmod and rename air theta+humidity in sbcabl for ice bulks)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/trunk/src/ABL/ablmod.F90

    r14215 r14235  
    4141              &            pu_dta, pv_dta, pt_dta, pq_dta,    & 
    4242              &            pslp_dta, pgu_dta, pgv_dta,        & 
    43               &            pcd_du, psen, pevp,                &     ! in/out 
     43              &            pcd_du, psen, pevp, plat,          &     ! in/out 
    4444              &            pwndm, ptaui, ptauj, ptaum         & 
    4545#if defined key_si3 
     
    8484      REAL(wp) , INTENT(inout), DIMENSION(:,:  ) ::   pevp       ! Ce x Du 
    8585      REAL(wp) , INTENT(inout), DIMENSION(:,:  ) ::   pwndm      ! ||uwnd|| 
     86      REAL(wp) , INTENT(  out), DIMENSION(:,:  ) ::   plat       ! latent heat flux 
    8687      REAL(wp) , INTENT(  out), DIMENSION(:,:  ) ::   ptaui      ! taux 
    8788      REAL(wp) , INTENT(  out), DIMENSION(:,:  ) ::   ptauj      ! tauy 
     
    530531      !------------- 
    531532      !                            !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    532       !                            !  6 *** MPI exchanges 
     533      !                            !  6 *** MPI exchanges & IOM outputs 
    533534      !                            !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 
    534535      ! 
     
    590591         psen( ji, jj ) =    - cp_air(zhumi) * zcff * psen(ji,jj) * ( psst(ji,jj) + rt0 - ztemp )   !GS: negative sign to respect aerobulk convention 
    591592         pevp( ji, jj ) = rn_efac*MAX( 0._wp,  zcff * pevp(ji,jj) * ( pssq(ji,jj)       - zhumi ) ) 
     593         plat( ji, jj ) = - L_vap( psst(ji,jj) ) * pevp( ji, jj ) 
    592594         rhoa( ji, jj ) = zcff 
    593595      END_2D 
Note: See TracChangeset for help on using the changeset viewer.