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.
2020WP/KERNEL-06_techene_better_e3_management (diff) – NEMO

Changes between Version 23 and Version 24 of 2020WP/KERNEL-06_techene_better_e3_management


Ignore:
Timestamp:
2020-11-02T13:25:16+01:00 (4 years ago)
Author:
techene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2020WP/KERNEL-06_techene_better_e3_management

    v23 v24  
    4545'''KERNEL-06's version 1 [pre mid-merge 2020] : /NEMO/branches/2020/dev_r12377_KERNEL-06_techene_e3'''  
    4646 
     47Changing scale factors affect a huge amount of routines in OCE.  
     48 
     49The strategy to reduce the code transformation :  
     50- New variables are in dom_oce.F90 and then in dommsk.F90 and domain.F90 
     51- We use a function that replaces each e3. by its full expression (e3.0*(1+r3.*mask.)) when key_qco is activated, for that we add a specific include of a substitute (domzgr_substitute.h90) 
     52- When we use to update scale factors with respect to ssh we now update ratios r3. = ssh./h.0. (domqco.F90) 
     53- We also changed robert asselin filtering routines with optimisation (traatf_qco.F90 and dynatf_qco.F90) and proper specific update of filtered ratios r3.f instead of e3. 
     54 
     55This strategy has also been applied to other variables varying with ssh./h.0 such as h. or gde. 
     56 
    4757When key_qco is not activated NEMO should be produce exactly same results as the trunk and passes SETTE version r13167 has been delivered for mid-merge party ! 
    4858 
     
    5666 
    5767 
    58  
    5968'''KERNEL-06's version 2 [post mid-merge 2020] : dev_r13327_KERNEL-06_2_techene_e3''' 
    6069 
    61 When key_qco is activated NEMO passes suitable SETTE tests i.e. custom GYRE_PISCES, ORCA2_ICE_PISCES, SPITZ12, AMM12. ISOMIP cannot run yet nor AGRIF.  
     70Changing scale factors also affect external package such as OFF, NST, SWE... that needs to be updates accordingly :  
     71 
     72- update routines of NST 
     73- revise and clean SWE and transfer improvements for dynldf_lap_blp.F90 and dynvor.F90 
     74- pressure gradient for ISF TO DO ! 
     75 
     76When key_qco is activated NEMO passes suitable SETTE tests i.e. custom GYRE_PISCES, ORCA2_ICE_PISCES, SPITZ12, AMM12, AGRIF_DEMO, VORTEX. ISOMIP cannot run yet.  
    6277 
    6378Pseudo merge with NEMO/branches/2020/dev_r12527_Gurvan_ShallowWater consists mainly in modifying dynldf_lap_blp for adding symmetric tensor operator and dynvor for cleaning and diawri for F-point outputs and adding a test case with specific RK3 step.