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.
ticket/1608_CNRS0_NOC1_ZDF (diff) – NEMO

Changes between Version 2 and Version 3 of ticket/1608_CNRS0_NOC1_ZDF


Ignore:
Timestamp:
2015-10-17T12:12:58+02:00 (9 years ago)
Author:
gm
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ticket/1608_CNRS0_NOC1_ZDF

    v2 v3  
    2626'''Strategy''' 
    2727 
    28   '''   I. ZDF simplification''' 
     28  '''    I. ZDF simplification''' 
    2929 
    3030'''(I.1) zdfddm (double diffusion)'''[[BR]] - systematic allocation of avs. Allow the suppression of zdfddm_substitute.h90 and the removal of key_zdfddm[[BR]] - addition of an namelist parameter to control the activation of zdfddm (ln_zdfddm) 
     
    3232'''(I.2) zdfphy (manager of the vertical physics)'''[[BR]] - zdfphy.F90 contains two things: ''zdf_phy_init'' a subroutine that initializes the vertical physics (formerly zdf_init routine found in zdfini.F90) and zdf_phy a subroutine (called by step) that contains all the step.F90 lines associated with vertical physics update at each time step.[[BR]] - zdf_phy subroutine becomes the only place where lbc_lnk ==>>> suppression of all lbc_lnk in  zdf_xx.F90 modules 
    3333 
    34 '''(I.3) zdfxxx (all the modules of vertical physics)'''[[BR]] - replace all CPP keys associated with vertical physics (key_zdfxxx) and their corresponding logicals (lk_zdfxxx) by namelist logicals (ln_zdfxxx) [[BR]] - keep only avm, avt and avs : remove avmu, avmv from all zdfxxx.F90 modules (also avmu_k and avmv_k in zdfgls.F90 and zdftke.F90)   [[BR]]-[[BR]]- Specific points: [[BR]]              zdftke : remove C1D diag from zdftke.F90[[BR]]              zdftke :remame apdlr into a more explicit name: r1_Prt (=1/(Prandtl number) )[[BR]]              zdftke & zdfgls : add the allocation of common arrays (en, avt_k, avm_k) [[BR]]              zdftke & zdfgls : initialization part, set avt_k and avm_k, NOT avt & avm[[BR]]              zdftke & zdfgls : move the call to tie_rst and gls_rst from step into their respective subroutine (zdf_tke and zdf_gls) 
     34'''(I.3) zdfxxx (all the modules of vertical physics)'''[[BR]] - replace all CPP keys associated with vertical physics (key_zdfxxx) and their corresponding logicals (lk_zdfxxx) by namelist logicals (ln_zdfxxx) [[BR]] - keep only avm, avt and avs : remove avmu, avmv from all zdfxxx.F90 modules (also avmu_k and avmv_k in zdfgls.F90 and zdftke.F90)   [[BR]]- 
    3535 
    36   '''   [[BR]]   II. ''' 
     36'''(I.4) zdftke & zdfgls '''[[BR]]- remove from both TKE and GLS the computation of shear production and destruction by stratification (terms which depends on the temporal and spatial discretization of the ocean model), add a routine that compute them called in both zdf_tke and zdf_gls[[BR]] 
     37 
     38'''Specific points''': [[BR]]              zdftke : remove C1D diag from zdftke.F90[[BR]]              zdftke :remame apdlr into a more explicit name: r1_Prt (=1/(Prandtl number) )[[BR]]              zdftke & zdfgls : add the allocation of common arrays (en, avt_k, avm_k) [[BR]]              zdftke & zdfgls : initialization part, set avt_k and avm_k, NOT avt & avm[[BR]]              zdftke & zdfgls : move the call to tie_rst and gls_rst from step into their respective subroutine (zdf_tke and zdf_gls) 
     39 
     40  '''    [[BR]]    II. ''' 
    3741 
    3842'''(II.1)''' 
     
    4650'''Pending issues''' : 
    4751 
    48 • GLS and agrif:  need of implementing modifications similar to those introduced by Seb in TKE case 
     52• GLS and agrif:  need of implementing modifications similar to those introduced by Seb in TKE case 
    4953 
    5054'''Testing'''