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 10900 for branches/UKMO/dev_r5518_FOAMv14_output_heat_fluxes/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90 – NEMO

Ignore:
Timestamp:
2019-04-26T13:51:00+02:00 (5 years ago)
Author:
anaguiar
Message:

Changes to allow checking qns balance and if all terms are correctly evaluated - Test 4 described in https://code.metoffice.gov.uk/trac/gmed/ticket/454#comment:2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/UKMO/dev_r5518_FOAMv14_output_heat_fluxes/NEMOGCM/NEMO/OPA_SRC/SBC/sbcmod.F90

    r10879 r10900  
    474474         CALL iom_put( "fmmflx", fmmflx  )                      ! Freezing-melting water flux 
    475475         CALL iom_put( "qt"    , qns  + qsr )                   ! total heat flux  
    476          CALL iom_put( "qns"   , qns        )                   ! solar heat flux 
     476         CALL iom_put( "qns"   , qns        )                   ! non solar heat flux 
    477477         CALL iom_put( "qsr"   ,       qsr  )                   ! solar heat flux 
    478478         IF( nn_ice > 0 .OR. nn_components == jp_iam_opa )   CALL iom_put( "ice_cover", fr_i )   ! ice fraction  
     
    483483            CALL iom_put( "qsb_oce"  , - qsb   )                ! output surface_downward_sensible_heat_flux 
    484484            CALL iom_put( "qla_oce"  , - qla   )                ! output surface_downward_latent_heat_flux 
     485            !Output individual terms to check if their sum matches qns_oce 
     486            !To be consistent with qns in sbcice_cice.F90, evaluate over ocean only *(1.0-fr_i)  
     487            CALL iom_put( "qlasprecip" , - qlasprecip*(1.0-fr_i) )  ! latent heat due to melting of solid precip non solar 
     488            CALL iom_put( "qevapsst"   , - qevapsst  *(1.0-fr_i) )    ! evap heat content at SST non solar 
     489            CALL iom_put( "qlprecip"   ,   qlprecip  *(1.0-fr_i) )    ! liquid precip heat content at Tair non solar 
     490            CALL iom_put( "qsprecip"   ,   qsprecip  *(1.0-fr_i) )    ! solid precip heat content at min(Tair,Tsnow) non solar 
    485491         ENDIF 
    486492      ENDIF 
Note: See TracChangeset for help on using the changeset viewer.