Changes between Version 2 and Version 3 of 2009WP/2009Stream3/VVL
- Timestamp:
- 2009-04-20T16:48:32+02:00 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
2009WP/2009Stream3/VVL
v2 v3 6 6 [[PageOutline]] 7 7 8 This page gives a non exhaustive description of the work done to restore VVL option from NEMO version 3.1[[BR]] 9 At 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 8 13 ---- 9 == Getting the code ==14 == 1. Getting the code == 10 15 [[BR]] 11 16 12 17 At this time (04-20-09), the work has been done on a branch starting from svn rev1359.[[BR]] 13 18 - Outside modipsl :[[BR]] 14 svn co --username nemo_user http://forge.ipsl.jussieu.fr/nemo/svn/branches/dev_004_VVL/NEMO[[BR]] 15 - Insidemodipsl :[[BR]]19 ''svn co --username nemo_user !http://forge.ipsl.jussieu.fr/nemo/svn/branches/dev_004_VVL/NEMO 20 - Using modipsl :[[BR]] 16 21 Edit modipsl/util/mod.def and replace [[BR]] 17 t ags/nemo_v3_1[[BR]]22 t''ags/nemo_v3_1''[[BR]] 18 23 by [[BR]] 19 branches/dev_004_VVL in NEMO section[[BR]] 20 [[BR]] 24 ''branches/dev_004_VVL in NEMO section''[[BR]] 21 25 22 26 … … 35 39 36 40 37 == Code organisation ==41 == 2. Code organisation == 38 42 [[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%)]] 41 46 42 47 48 === 2.2 Sea surface height repartition === 43 49 44 === TITLE2.1 === 50 Repartition 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 53 Note: 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 == 45 82 [[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) 58 92 ---- 59 93