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 4649 for branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limwri.F90 – NEMO

Ignore:
Timestamp:
2014-05-27T11:28:12+02:00 (10 years ago)
Author:
clem
Message:

finalizing LIM3 heat budget conservation + multiple minor bugs corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2013/dev_r4028_CNRS_LIM3/NEMOGCM/NEMO/LIM_SRC_3/limwri.F90

    r4635 r4649  
    102102      CALL iom_put( "isst"         , sst_m               )       ! sea surface temperature 
    103103      CALL iom_put( "isss"         , sss_m               )       ! sea surface salinity 
    104       CALL iom_put( "qt_oce"       , qns + qsr           )       ! total flux at ocean surface 
    105104      ! 
    106105      DO jj = 2 , jpjm1 
     
    120119      CALL iom_put( "vice_ipa"     , z2db                )       ! ice velocity v component 
    121120      CALL iom_put( "icevel"       , z2d                 )       ! ice velocity module 
    122 !!SF BE CAREFUL : qsr_oce qnd qns_oce are after penetration over ice 
    123       CALL iom_put( "qsr_oce"      , qsr                 )       ! solar flux at ocean surface 
    124       CALL iom_put( "qns_oce"      , qns                 )       ! non-solar flux at ocean surface 
    125 !!SF end be careful 
    126121      CALL iom_put( "utau_ice"     , utau_ice            )       ! wind stress over ice along i-axis at I-point 
    127122      CALL iom_put( "vtau_ice"     , vtau_ice            )       ! wind stress over ice along j-axis at I-point 
    128 !!SF commented because this computation is not ok 
    129  !SF because qsr is not qsr_ocean but it contains already qsr_ice 
    130       !SF 
    131       !SF DO jj = 1 , jpj 
    132       !SF    DO ji = 1 , jpi 
    133       !SF       z2d(ji,jj)  = ( 1._wp - at_i(ji,jj) ) * qsr(ji,jj) 
    134       !SF   END DO 
    135       !SF END DO 
    136       !SF CALL iom_put( "qsr_io"       , z2d                 )        ! solar flux at ice/ocean surface 
    137       !SF DO jj = 1 , jpj 
    138       !SF    DO ji = 1 , jpi 
    139       !SF       z2d(ji,jj)  = ( 1._wp - at_i(ji,jj) ) * qns(ji,jj) 
    140       !SF   END DO 
    141       !SF END DO 
    142       !SF CALL iom_put( "qns_io"       , z2d                 )        ! non-solar flux at ice/ocean surface 
    143123      CALL iom_put( "snowpre"      , sprecip             )        ! snow precipitation  
    144124      CALL iom_put( "micesalt"     , smt_i               )        ! mean ice salinity 
     
    211191      CALL iom_put( "vfxsnw"     , wfx_snw * rday / rhoic  )        ! total snw growth/melt  
    212192      CALL iom_put( "vfxsub"     , wfx_sub * rday / rhoic  )        ! sublimation (snow)  
    213  
    214        CALL iom_put ('hfxdhc1', diag_heat_dhc1(:,:) )          ! Heat content variation in snow and ice  
    215        CALL iom_put ('hfxspr', hfx_spr(:,:) )          ! Heat content of snow precip  
    216        CALL iom_put ('hfxqsr', qsr(:,:) )          !  solar fluxes used by snw/ice 
    217        CALL iom_put ('hfxqns', qns(:,:) )          !  non solar fluxes used by snw/ice 
     193      CALL iom_put( "vfxspr"     , wfx_spr * rday / rhoic  )        ! precip (snow)  
    218194 
    219195       CALL iom_put ('hfxthd', hfx_thd(:,:) )   !   
     
    222198       CALL iom_put ('hfxout', hfx_out(:,:) )   !   
    223199       CALL iom_put ('hfxin' , hfx_in(:,:) )   !   
    224        CALL iom_put ('hfxtot', hfx_tot(:,:) )   !   
    225200       CALL iom_put ('hfxsnw', hfx_snw(:,:) )   !   
    226201       CALL iom_put ('hfxsub', hfx_sub(:,:) )   !   
    227202       CALL iom_put ('hfxerr', hfx_err(:,:) )   !   
    228203       CALL iom_put ('hfxerr_rem', hfx_err_rem(:,:) )   !   
     204 
     205       CALL iom_put ('hfxsum', hfx_sum(:,:) )   !   
     206       CALL iom_put ('hfxbom', hfx_bom(:,:) )   !   
     207       CALL iom_put ('hfxbog', hfx_bog(:,:) )   !   
     208       CALL iom_put ('hfxdif', hfx_dif(:,:) )   !   
     209       CALL iom_put ('hfxopw', hfx_opw(:,:) )   !   
     210       CALL iom_put ('hfxtur', fhtur(:,:) * at_i(:,:) )   ! turbulent heat flux at ice base  
     211       CALL iom_put ('hfxdhc', diag_heat_dhc(:,:) )          ! Heat content variation in snow and ice  
     212       CALL iom_put ('hfxspr', hfx_spr(:,:) )          ! Heat content of snow precip  
    229213 
    230214      !-------------------------------- 
     
    327311      CALL histdef( kid, "iicebome", "Ice bottom melt"         , "m/s"      , jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
    328312      CALL histdef( kid, "iicesume", "Ice surface melt"        , "m/s"      , jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
    329       CALL histdef( kid, "iisfxthd", "Salt flux from thermo"   , ""      , jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
    330313      CALL histdef( kid, "iisfxdyn", "Salt flux from dynmics"  , ""      , jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
    331314      CALL histdef( kid, "iisfxres", "Salt flux from limupdate", ""      , jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
     
    354337      CALL histwrite( kid, "iicebome", kt, wfx_bom        , jpi*jpj, (/1/) ) 
    355338      CALL histwrite( kid, "iicesume", kt, wfx_sum        , jpi*jpj, (/1/) ) 
    356       !CALL histwrite( kid, "iisfxthd", kt, sfx_thd        , jpi*jpj, (/1/) ) 
    357339      CALL histwrite( kid, "iisfxdyn", kt, sfx_dyn        , jpi*jpj, (/1/) ) 
    358340      CALL histwrite( kid, "iisfxres", kt, sfx_res        , jpi*jpj, (/1/) ) 
Note: See TracChangeset for help on using the changeset viewer.