- Timestamp:
- 2012-11-21T14:19:18+01:00 (12 years ago)
- Location:
- branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/DIA
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/DIA/diahsb.F90
r3294 r3625 83 83 z_frc_trd_s = SUM( sbc_tsc(:,:,jp_sal) * surf(:,:) ) ! salt fluxes 84 84 ! Add penetrative solar radiation 85 IF( ln_traqsr ) z_frc_trd_t = z_frc_trd_t + r o0cpr* SUM( qsr (:,:) * surf(:,:) )85 IF( ln_traqsr ) z_frc_trd_t = z_frc_trd_t + r1_rau0_rcp * SUM( qsr (:,:) * surf(:,:) ) 86 86 ! Add geothermal heat flux 87 IF( ln_trabbc ) z_frc_trd_t = z_frc_trd_t + r o0cpr* SUM( qgh_trd0(:,:) * surf(:,:) )87 IF( ln_trabbc ) z_frc_trd_t = z_frc_trd_t + r1_rau0_rcp * SUM( qgh_trd0(:,:) * surf(:,:) ) 88 88 IF( lk_mpp ) THEN 89 89 CALL mpp_sum( z_frc_trd_v ) -
branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/DIA/diawri.F90
r3609 r3625 400 400 CALL histdef( nid_T, "sossheig", "Sea Surface Height" , "m" , & ! ssh 401 401 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 402 !!$#if defined key_lim3 || defined key_lim2403 !!$ ! sowaflup = sowaflep + sorunoff + sowafldp + a term associated to404 !!$ ! internal damping to Levitus that can be diagnosed from others405 !!$ ! sowaflcd = sowaflep + sorunoff + sowafldp + iowaflup406 !!$ CALL histdef( nid_T, "iowaflup", "Ice=>ocean net freshwater" , "kg/m2/s", & ! fsalt407 !!$ & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout )408 !!$ CALL histdef( nid_T, "sowaflep", "atmos=>ocean net freshwater" , "kg/m2/s", & ! fmass409 !!$ & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout )410 !!$#endif411 402 CALL histdef( nid_T, "sowaflup", "Net Upward Water Flux" , "Kg/m2/s", & ! (emp-rnf) 412 403 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 413 !!$ CALL histdef( nid_T, "sorunoff", "Runoffs" , "Kg/m2/s", & ! runoffs 414 !!$ & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 415 CALL histdef( nid_T, "sowaflcd", "concentration/dilution water flux" , "kg/m2/s", & ! (emps-rnf) 416 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 417 CALL histdef( nid_T, "sosalflx", "Surface Salt Flux" , "Kg/m2/s", & ! (emps-rnf) * sn 418 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 404 CALL histdef( nid_T, "sosfldow", "downward salt flux" , "PSU/m2/s", & ! sfx 405 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 406 #if ! defined key_vvl 407 CALL histdef( nid_T, "sosst_cd", "Concentration/Dilution term on temperature" & ! emp * tsn(:,:,1,jp_tem) 408 & , "KgC/m2/s", & ! sosst_cd 409 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 410 CALL histdef( nid_T, "sosss_cd", "Concentration/Dilution term on salinity" & ! emp * tsn(:,:,1,jp_sal) 411 & , "KgPSU/m2/s",& ! sosss_cd 412 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) 413 #endif 419 414 CALL histdef( nid_T, "sohefldo", "Net Downward Heat Flux" , "W/m2" , & ! qns + qsr 420 415 & jpi, jpj, nh_T, 1 , 1, 1 , -99 , 32, clop, zsto, zout ) … … 602 597 CALL histwrite( nid_T, "sosaline", it, tsn(:,:,1,jp_sal), ndim_hT, ndex_hT ) ! sea surface salinity 603 598 CALL histwrite( nid_T, "sossheig", it, sshn , ndim_hT, ndex_hT ) ! sea surface height 604 !!$#if defined key_lim3 || defined key_lim2605 !!$ CALL histwrite( nid_T, "iowaflup", it, fsalt(:,:) , ndim_hT, ndex_hT ) ! ice=>ocean water flux606 !!$ CALL histwrite( nid_T, "sowaflep", it, fmass(:,:) , ndim_hT, ndex_hT ) ! atmos=>ocean water flux607 !!$#endif608 599 CALL histwrite( nid_T, "sowaflup", it, ( emp-rnf ) , ndim_hT, ndex_hT ) ! upward water flux 609 !!$ CALL histwrite( nid_T, "sorunoff", it, runoff , ndim_hT, ndex_hT ) ! runoff 610 CALL histwrite( nid_T, "sowaflcd", it, ( emps-rnf ) , ndim_hT, ndex_hT ) ! c/d water flux 611 zw2d(:,:) = ( emps(:,:) - rnf(:,:) ) * tsn(:,:,1,jp_sal) * tmask(:,:,1) 612 CALL histwrite( nid_T, "sosalflx", it, zw2d , ndim_hT, ndex_hT ) ! c/d salt flux 600 CALL histwrite( nid_T, "sosfldow", it, sfx , ndim_hT, ndex_hT ) ! downward salt flux 601 ! (includes virtual salt flux beneath ice 602 ! in linear free surface case) 603 #if ! defined key_vvl 604 zw2d(:,:) = emp (:,:) * tsn(:,:,1,jp_tem) 605 CALL histwrite( nid_T, "sosst_cd", it, zw2d, ndim_hT, ndex_hT ) ! c/d term on sst 606 zw2d(:,:) = emp (:,:) * tsn(:,:,1,jp_sal) 607 CALL histwrite( nid_T, "sosss_cd", it, zw2d, ndim_hT, ndex_hT ) ! c/d term on sss 608 #endif 613 609 CALL histwrite( nid_T, "sohefldo", it, qns + qsr , ndim_hT, ndex_hT ) ! total heat flux 614 610 CALL histwrite( nid_T, "soshfldo", it, qsr , ndim_hT, ndex_hT ) ! solar heat flux … … 782 778 !!---------------------------------------------------------------------- 783 779 ! 784 IF( nn_timing == 1 ) CALL timing_start('dia_wri_state') 780 ! IF( nn_timing == 1 ) CALL timing_start('dia_wri_state') ! not sure this works for routines not called in first timestep 785 781 786 782 ! 0. Initialisation … … 879 875 #endif 880 876 881 IF( nn_timing == 1 ) CALL timing_stop('dia_wri_state') 877 ! IF( nn_timing == 1 ) CALL timing_stop('dia_wri_state') ! not sure this works for routines not called in first timestep 882 878 ! 883 879 -
branches/2012/dev_NOC_2012_rev3555/NEMOGCM/NEMO/OPA_SRC/DIA/diawri_dimg.h90
r3294 r3625 54 54 !! level 14: qct(:,:) equivalent flux due to treshold SST 55 55 !! level 15: fbt(:,:) feedback term . 56 !! level 16: ( emps(:,:) - rnf(:,:) ) concentration/dilution water flux 56 !! level 16: ( emp * sss ) concentration/dilution term on salinity 57 !! level 17: ( emp * sst ) concentration/dilution term on temperature 57 58 !! level 17: fsalt(:,:) Ice=>ocean net freshwater 58 59 !! level 18: gps(:,:) the surface pressure (m). … … 107 108 108 109 109 inbsel = 1 7110 inbsel = 18 110 111 111 112 IF( inbsel > jpk ) THEN … … 172 173 ! fsel(:,:,14) = fsel(:,:,14) + qct(:,:) 173 174 ! fsel(:,:,15) = fsel(:,:,15) + fbt(:,:) 174 fsel(:,:,16) = fsel(:,:,16) + ( emps(:,:)-rnf(:,:) ) 175 fsel(:,:,16) = fsel(:,:,16) + ( emp(:,:)*tsn(:,:,1,jp_sal) ) 176 fsel(:,:,17) = fsel(:,:,17) + ( emp(:,:)*tsn(:,:,1,jp_tem) ) 175 177 ! 176 178 ! Output of dynamics and tracer fields and selected fields … … 240 242 ! fsel(:,:,14) = qct(:,:) 241 243 ! fsel(:,:,15) = fbt(:,:) 242 fsel(:,:,16) = ( emps(:,:)-rnf(:,:) ) * tmask(:,:,1) 244 fsel(:,:,16) = ( emp(:,:)-tsn(:,:,1,jp_sal) ) * tmask(:,:,1) 245 fsel(:,:,17) = ( emp(:,:)-tsn(:,:,1,jp_tem) ) * tmask(:,:,1) 243 246 ! 244 247 ! qct(:,:) = 0._wp
Note: See TracChangeset
for help on using the changeset viewer.