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 8075 for branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcsms_cfc.F90 – NEMO

Ignore:
Timestamp:
2017-05-25T18:58:42+02:00 (7 years ago)
Author:
jpalmier
Message:

JPALM -- update CFCs - add SF6 and update gas transfert param

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/NERC/dev_r5518_NOC_MEDUSA_Stable/NEMOGCM/NEMO/TOP_SRC/CFC/trcsms_cfc.F90

    r6719 r8075  
    77   !!  NEMO      1.0  !  2004-03  (C. Ethe) free form + modularity 
    88   !!            2.0  !  2007-12  (C. Ethe, G. Madec)  reorganisation 
     9   !!                 !  2016-06  (J. Palmieri)  update for UKESM1 
     10   !!                 !  2017-04  (A. Yool)  update to add SF6, fix coefficients 
    911   !!---------------------------------------------------------------------- 
    1012#if defined key_cfc 
     
    4345   REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:)   ::   patm     ! atmospheric function 
    4446 
    45    REAL(wp), DIMENSION(4,2) ::   soa   ! coefficient for solubility of CFC [mol/l/atm] 
    46    REAL(wp), DIMENSION(3,2) ::   sob   !    "               " 
    47    REAL(wp), DIMENSION(4,2) ::   sca   ! coefficients for schmidt number in degre Celcius 
     47   REAL(wp), DIMENSION(4,3) ::   soa   ! coefficient for solubility of CFC [mol/l/atm] 
     48   REAL(wp), DIMENSION(3,3) ::   sob   !    "               " 
     49   REAL(wp), DIMENSION(5,3) ::   sca   ! coefficients for schmidt number in degre Celcius 
    4850       
    4951   !                          ! coefficients for conversion 
     
    8587      INTEGER  ::   im1, im2, ierr 
    8688      REAL(wp) ::   ztap, zdtap         
    87       REAL(wp) ::   zt1, zt2, zt3, zv2 
     89      REAL(wp) ::   zt1, zt2, zt3, zt4, zv2 
    8890      REAL(wp) ::   zsol      ! solubility 
    8991      REAL(wp) ::   zsch      ! schmidt number  
     
    106108      ! Temporal interpolation 
    107109      ! ---------------------- 
    108       !! JPALM -- 15-06-2016 -- define 2 kind of CFC run. 
    109       !!                     we want to make cycle experiments,  
    110       !!                     to periodically compare the ocean dynamic within 
    111       !!                     1- the SPIN-UP and 2- Hincast/Projections 
     110      !! JPALM -- 15-06-2016 -- define 2 kinds of CFC run: 
     111      !!                     1- the SPIN-UP and 2- Hindcast/Projections 
    112112      !!                     -- main difference is the way to define the year of 
    113113      !!                     simulation, that determine the atm pCFC. 
    114114      !!                     1-- Spin-up: our atm forcing is of 30y we cycle on. 
    115115      !!                     So we do 90y CFC cycles to be in good 
    116       !!                     correspondance with the atmosphere 
     116      !!                     correspondence with the atmosphere 
    117117      !!                     2-- Hindcast/proj, instead of nyear-1900 we keep 
    118118      !!                     the 2 last digit, and enable 3 cycle from 1800 to 2100.   
    119119      !!---------------------------------------------------------------------- 
    120       !! 1 -- SPIN-UP 
    121120      IF (simu_type==1) THEN 
     121         !! 1 -- SPIN-UP 
    122122         iyear_tmp = nyear - nyear_res  !! JPALM -- in our spin-up, nyear_res is 1000 
    123123         iyear_beg = MOD( iyear_tmp , 90 ) 
     
    133133            iyear_beg = iyear_beg + 30 
    134134         ENDIF 
    135       !! 
    136       !! 2 -- Hindcast/proj 
    137135      ELSEIF (simu_type==2) THEN 
     136         !! 2 -- Hindcast/proj 
    138137         iyear_beg = MOD(nyear, 100) 
    139138         IF (iyear_beg < 9)  iyear_beg = iyear_beg + 100 
     
    191190               zt2  = zt1 * zt1  
    192191               zt3  = zt1 * zt2 
    193                zsch = sca(1,jl) + sca(2,jl) * zt1 + sca(3,jl) * zt2 + sca(4,jl) * zt3 
     192               zt4  = zt1 * zt3 
     193               zsch = sca(1,jl) + sca(2,jl) * zt1 + sca(3,jl) * zt2 + sca(4,jl) * zt3 + sca(5,jl) * zt4 
    194194 
    195195               !    speed transfert : formulae of wanninkhof 1992 
    196196               zv2     = wndm(ji,jj) * wndm(ji,jj) 
    197197               zsch    = zsch / 660. 
    198                zak_cfc = ( 0.39 * xconv2 * zv2 / SQRT(zsch) ) * tmask(ji,jj,1) 
     198               ! AXY (25/04/17): OMIP protocol specifies lower Wanninkhof (2014) value 
     199               ! zak_cfc = ( 0.39 * xconv2 * zv2 / SQRT(zsch) ) * tmask(ji,jj,1) 
     200               zak_cfc = ( 0.251 * xconv2 * zv2 / SQRT(zsch) ) * tmask(ji,jj,1) 
    199201 
    200202               ! Input function  : speed *( conc. at equil - concen at surface ) 
     
    226228               elseif (jl.EQ.2) then 
    227229                   WRITE(NUMOUT,*) 'Traceur = CFC12: ' 
     230               elseif (jl.EQ.3) then 
     231                   WRITE(NUMOUT,*) 'Traceur = SF6: ' 
    228232               endif 
    229233             WRITE(NUMOUT,*) 'nyear    = ', nyear 
     
    256260         CALL iom_put( "qtrCFC11"  , qtr_cfc (:,:,1) ) 
    257261         CALL iom_put( "qintCFC11" , qint_cfc(:,:,1) ) 
     262         CALL iom_put( "qtrCFC12"  , qtr_cfc (:,:,2) ) 
     263         CALL iom_put( "qintCFC12" , qint_cfc(:,:,2) ) 
     264         CALL iom_put( "qtrSF6"    , qtr_cfc (:,:,3) ) 
     265         CALL iom_put( "qintSF6"   , qint_cfc(:,:,4) ) 
    258266      ELSE 
    259267         IF( ln_diatrc ) THEN 
    260268            trc2d(:,:,jp_cfc0_2d    ) = qtr_cfc (:,:,1) 
    261269            trc2d(:,:,jp_cfc0_2d + 1) = qint_cfc(:,:,1) 
     270            trc2d(:,:,jp_cfc0_2d + 2) = qtr_cfc (:,:,2) 
     271            trc2d(:,:,jp_cfc0_2d + 3) = qint_cfc(:,:,2) 
     272            trc2d(:,:,jp_cfc0_2d + 4) = qtr_cfc (:,:,3) 
     273            trc2d(:,:,jp_cfc0_2d + 5) = qint_cfc(:,:,4) 
    262274         END IF 
    263275      END IF 
     
    293305      soa(2,1) =  319.6552 
    294306      soa(3,1) =  119.4471 
    295       soa(4,1) =  -1.39165 
    296  
    297       sob(1,1) =  -0.142382 
    298       sob(2,1) =   0.091459 
    299       sob(3,1) =  -0.0157274 
    300  
    301       ! Schmidt number  
    302       sca(1,1) = 3501.8 
    303       sca(2,1) = -210.31 
    304       sca(3,1) =  6.1851 
    305       sca(4,1) = -0.07513 
     307      soa(4,1) =   -1.39165 
     308 
     309      sob(1,1) = -0.142382 
     310      sob(2,1) =  0.091459 
     311      sob(3,1) = -0.0157274 
     312 
     313      ! Schmidt number          AXY (25/04/17) 
     314      sca(1,1) = 3579.2       ! = 3501.8 
     315      sca(2,1) = -222.63      ! = -210.31 
     316      sca(3,1) =    7.5749    ! =    6.1851 
     317      sca(4,1) =   -0.14595   ! =   -0.07513 
     318      sca(5,1) =    0.0011874 ! = absent 
    306319 
    307320      ! coefficient for CFC12  
     
    312325      soa(2,2) =  298.9702 
    313326      soa(3,2) =  113.8049 
    314       soa(4,2) =  -1.39165 
    315  
    316       sob(1,2) =  -0.143566 
    317       sob(2,2) =   0.091015 
    318       sob(3,2) =  -0.0153924 
    319  
    320       ! schmidt number  
    321       sca(1,2) =  3845.4  
    322       sca(2,2) =  -228.95 
    323       sca(3,2) =  6.1908  
    324       sca(4,2) =  -0.067430 
     327      soa(4,2) =   -1.39165 
     328 
     329      sob(1,2) = -0.143566 
     330      sob(2,2) =  0.091015 
     331      sob(3,2) = -0.0153924 
     332 
     333      ! schmidt number         AXY (25/04/17) 
     334      sca(1,2) = 3828.1      ! = 3845.4  
     335      sca(2,2) = -249.86     ! = -228.95 
     336      sca(3,2) =    8.7603   ! =    6.1908  
     337      sca(4,2) =   -0.1716   ! =   -0.067430 
     338      sca(5,2) =    0.001408 ! = absent 
     339 
     340      ! coefficients for SF6   AXY (25/04/17) 
     341      !--------------------- 
     342       
     343      ! Solubility 
     344      soa(1,3) =  -80.0343 
     345      soa(2,3) =  117.232 
     346      soa(3,3) =   29.5817 
     347      soa(4,3) =    0.0 
     348 
     349      sob(1,3) =  0.0335183 
     350      sob(2,3) = -0.0373942 
     351      sob(3,3) =  0.00774862 
     352 
     353      ! Schmidt number 
     354      sca(1,3) = 3177.5 
     355      sca(2,3) = -200.57 
     356      sca(3,3) =    6.8865 
     357      sca(4,3) =   -0.13335 
     358      sca(5,3) =    0.0010877 
    325359 
    326360      !!--------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.