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 8911 for branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/C1D/step_c1d.F90 – NEMO

Ignore:
Timestamp:
2017-12-06T11:23:32+01:00 (6 years ago)
Author:
acc
Message:

Branch 2017/dev_r7881_ENHANCE09_RK3. Add changes for OSMOSIS BL scheme (and a few minor fixes). Done on this branch to ensure compatibility with the new ZDF arrangement. This branch has already been merged onto the dev_CNRS_2017 combined branch so these changes will need to be merged onto that branch once successfully reviewed. Fully SETTE tested at this point.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2017/dev_r7881_ENHANCE09_RK3/NEMOGCM/NEMO/OPA_SRC/C1D/step_c1d.F90

    r8215 r8911  
    7878                         CALL zdf_phy( kstp )         ! vertical physics update (bfr, avt, avs, avm + MLD) 
    7979 
     80      IF(.NOT.ln_linssh )   CALL ssh_nxt       ( kstp )  ! after ssh (includes call to div_hor) 
     81      IF(.NOT.ln_linssh )   CALL dom_vvl_sf_nxt( kstp )  ! after vertical scale factors  
     82 
     83      IF(.NOT.ln_linssh )   CALL wzv           ( kstp )  ! now cross-level velocity  
    8084      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
    8185      ! diagnostics and outputs             (ua, va, ta, sa used as workspace) 
     
    100104      IF( ln_traqsr )   CALL tra_qsr( kstp )       ! penetrative solar radiation qsr 
    101105      IF( ln_tradmp )   CALL tra_dmp( kstp )       ! internal damping trends- tracers 
     106      IF(.NOT.ln_linssh)CALL tra_adv( kstp )       ! horizontal & vertical advection 
     107      IF( lk_zdfosm  )  CALL tra_osm( kstp )       ! OSMOSIS non-local tracer fluxes 
    102108                        CALL tra_zdf( kstp )       ! vertical mixing 
    103109                        CALL eos( tsn, rhd, rhop, gdept_0(:,:,:) )   ! now potential density for zdfmxl 
     
    115121      IF( ln_dyndmp )   CALL dyn_dmp    ( kstp )   ! internal damping trends- momentum 
    116122                        CALL dyn_cor_c1d( kstp )   ! vorticity term including Coriolis 
     123      IF( lk_zdfosm  )  CALL dyn_osm    ( kstp )  ! OSMOSIS non-local velocity fluxes 
    117124                        CALL dyn_zdf    ( kstp )   ! vertical diffusion 
    118125                        CALL dyn_nxt    ( kstp )   ! lateral velocity at next time step 
     126      IF(.NOT.ln_linssh)CALL ssh_swp    ( kstp )  ! swap of sea surface height 
     127 
     128      IF(.NOT.ln_linssh) CALL dom_vvl_sf_swp( kstp )  ! swap of vertical scale factors 
    119129 
    120130      !>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 
Note: See TracChangeset for help on using the changeset viewer.