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.
2009WP/2009Stream3/VVL (diff) – NEMO

Changes between Version 2 and Version 3 of 2009WP/2009Stream3/VVL


Ignore:
Timestamp:
2009-04-20T16:48:32+02:00 (15 years ago)
Author:
rblod
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • 2009WP/2009Stream3/VVL

    v2 v3  
    66[[PageOutline]] 
    77 
     8This page gives a non exhaustive  description of the work done to restore VVL option from NEMO version 3.1[[BR]] 
     9At this stage (april 2009)  : 
     10 - variable volume option can be used with either z, zps and s coordinate 
     11 - time splitting issue has not been really investigated 
     12 
    813---- 
    9 == Getting the code == 
     14== 1. Getting the code == 
    1015[[BR]] 
    1116 
    1217At this time (04-20-09), the work has been done on a branch starting from svn rev1359.[[BR]] 
    1318 - Outside modipsl :[[BR]] 
    14 svn co --username nemo_user http://forge.ipsl.jussieu.fr/nemo/svn/branches/dev_004_VVL/NEMO[[BR]] 
    15  - Inside modipsl :[[BR]] 
     19''svn co --username nemo_user !http://forge.ipsl.jussieu.fr/nemo/svn/branches/dev_004_VVL/NEMO 
     20  - Using modipsl :[[BR]] 
    1621Edit modipsl/util/mod.def and replace [[BR]] 
    17 tags/nemo_v3_1[[BR]] 
     22t''ags/nemo_v3_1''[[BR]] 
    1823by [[BR]] 
    19 branches/dev_004_VVL in NEMO section[[BR]] 
    20 [[BR]] 
     24''branches/dev_004_VVL in NEMO section''[[BR]] 
    2125 
    2226 
     
    3539 
    3640 
    37 == Code organisation == 
     41== 2.  Code organisation == 
    3842[[BR]] 
    39  
    40 Flow chart (original for Mathieu Leclair) : 
     43=== 2.1 Flow chart === 
     44(original from Mathieu Leclair) 
     45[[Image(NEW_flowchart.png, 50%)]] 
    4146 
    4247 
     48=== 2.2 Sea surface height repartition  === 
    4349 
    44 === TITLE2.1  === 
     50Repartition on the whole water column, so key_sigma_vll has been suppressed. Reference coordinate is referred as e3t_0 for instance, and pre-processing (in domzgr_substitute.h90) is used to define before, now, after scale factors, for instance :[[BR]] 
     51#   define  fsdept_n(i,j,k)  (fsdept_0(i,j,k)*(1+sshn(i,j)*mut(i,j,k)))[[BR]] 
     52 
     53Note: we shouldn't need 3d array mut (muu, muv) , but the code blows up without.[[BR]] 
     54 
     55 
     56== 3. Modified routines == 
     57 
     58 - domvvl is now used only for initialisation (called from istate) 
     59 - dynspg_flt, dynspg_ts, dynspg_exp : no more update of ssh, just barotropic contribution for velocities 
     60 - trazdf_exp, trazdf_imp : ponderation by the correct scale factors 
     61 - wzvmod : suprresion of wzv_mod routine, addition of ssh_wzv to compute ssh after from the ssh equation, update the vertical coordinate and compute vertical velocity, addition of ssh_nxt for ssh time stepping 
     62 - dynnxt, tranxt : rewritting, take vvl case into account 
     63 - zdfevd : for stability issue, test to apply enhanced diffusion has to be performed on now Brunt-Vaisala frequency 
     64 
     65== 4. Cautions == 
     66 - use s-coordinate pressure gradient when using variable volume[[BR]] 
     67 - the time splitting is minimalistic [[BR]] 
     68 - sea ice and vvl 
     69 - vertical velocity in output is shifted by 1 time step  
     70 
     71== 5. To be done == 
     72 - embedded sea-ice (Gurvan and Yevgeni) 
     73 - in vector invariant formulation, temporal derivatif of h is not treated (for both baroclinic and barotropic mode) 
     74 - a simplification for code and diagnostic could be to work on the tracer content everywhere 
     75 - for global ocean, resolve the damping force using time splitting routine 
     76 - use a predictor-corrector shceme for time splitting 
     77 - suppress mu* arrays 
     78 - we should used correct before, now, after everywhere in the code 
     79 - develop a pressure gradient algorithm for zps-vvl  
     80 
     81== 6. Tests == 
    4582[[BR]] 
    46  
    47 === TITLE2.2  === 
    48 [[BR]] 
    49  
    50 == Modified routines == 
    51 == Cautions == 
    52 pressure gradient[[BR]] 
    53 time splitting[[BR]] 
    54 == To be done == 
    55  
    56 == Tests == 
    57  
     83=== 6.1 Paris === 
     84 - ORCA2_LIM zps fixed volume and filtred free surface 
     85 - ORCA2_LIM zps variable volume and filtred free surface 
     86 - ORCA2_LIM zps fixed volume and time splitting free surface 
     87 - ORCA2_LIM zps variable volume and time splitting free surface 
     88 - restartability 
     89 - Agrif test case 
     90 - parallelisation 
     91 - conservation (with Asselin filter to 0 and ice tracer fluxes to 0) 
    5892---- 
    5993