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 14404 – NEMO

Changeset 14404


Ignore:
Timestamp:
2021-02-05T13:46:11+01:00 (3 years ago)
Author:
agn
Message:

Use alternate formulation for zsc_wth_pyc and zsc_ws_pyc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11078_OSMOSIS_IMMERSE_Nurser_4.0/src/OCE/ZDF/zdfosm.F90

    r14283 r14404  
    957957              IF ( lpyc(ji,jj) ) THEN 
    958958! Pycnocline scales 
    959                  zsc_wth_pyc(ji,jj) = -0.2 * zwb0(ji,jj) * zdt_bl(ji,jj) / zdb_bl(ji,jj) 
    960                  zsc_ws_pyc(ji,jj) = -0.2 * zwb0(ji,jj) * zds_bl(ji,jj) / zdb_bl(ji,jj) 
     959                 zsc_wth_pyc(ji,jj) = -0.003 * zwstrc(ji,jj) * ( 1.0 - zdh(ji,jj) /zhbl(ji,jj) ) * zdt_ml(ji,jj) 
     960                 zsc_ws_pyc(ji,jj) = -0.003 * zwstrc(ji,jj) * ( 1.0 - zdh(ji,jj) /zhbl(ji,jj) ) * zds_ml(ji,jj) 
    961961               ENDIF 
    962962            ELSE 
     
    982982                       &          * ( 1.0 - EXP ( -15.0 * (         1.0 - zznd_ml    ) ) ) 
    983983               END DO 
    984 ! 
     984               ! 
     985               ! may need to comment out lpyc block 
    985986               IF ( lpyc(ji,jj) ) THEN 
    986987! pycnocline 
Note: See TracChangeset for help on using the changeset viewer.