Changes between Version 5 and Version 6 of ticket/1593_CNRS9_NOC3_LDF
- Timestamp:
- 2015-09-13T09:25:56+02:00 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ticket/1593_CNRS9_NOC3_LDF
v5 v6 23 23 Three steps: 24 24 25 ''' I. Phasing of scale factors'''25 ''' I. Phasing of scale factors''' 26 26 27 27 ''' (I.0)''' standardisation of the name of quantities derived from horizontal scale factors (many modules of NEMO)[[BR]]The chosen names of quantities derived from horizontal scale factors are:[[BR]]- inverse of scale factors : r1_e1t, r1_e2t, r1_e1u, r1_e2u, r1_e1v, r1_e2v, r1_e1f, r1_e2f ;[[BR]]- surfaces and their inverse: e1e2t, e1e2u , e1e2v, e1e2f and, r1_e1e2t , r1_e1e2u , r1_e1e2v, r1_e1e2f ;[[BR]]- ratio (used in traldf...) : e2_e1u , e1_e2v(I.1) generalize of the use of surface scale factors ;[[BR]]These quantities are defined in memory in dom_oce.F90, and set to their proper value in domhgr.F90 … … 29 29 ''' (I.2)''' add a optional read of surface scale factors at velocity points in coordinate file (domhgr.F90)[[BR]] The input coordinate file have to include e1e2u and e1e2v in case of reduction of the scale factors in some straits.[[BR]] When e1u or e2v are reduced in some straits, the surface at u- and v-points remains unchanged.[[BR]] This allows to suppress the dom_vvl_orca_fix routine from dlmvvl.F90 module.[[BR]]''Note that this change modifies the model results'', as it contains a better handling of reduced strait width (i.e. reduced surface between 2 adjacent U or V points, but unchanged U and V points volume).[[BR]]The implementation performed here is a first step to the full simplification of domhgr.F90. We kept here the hard coded reduction of scale factor in some straits for some given ORCA configuration. [[BR]]A last step (see IV) will be to suppress the hard coded reduction of some scale factor as it will be always given in the coordinates.nc file together with the e1e2u & e1e2v surfaces. 30 30 31 ''' II. Phasing of the advective/diffusive trends on tracers'''31 ''' II. Phasing of the advective/diffusive trends on tracers''' 32 32 33 33 ''' (II.0)''' ... 34 34 35 ''' III. Phasing of viscous trends'''35 ''' III. Phasing of viscous trends''' 36 36 37 37 ''' (III.0)''' … … 39 39 ... 40 40 41 ''' IV. Finalize the simplification'''41 ''' IV. Finalize the simplification''' 42 42 43 ''' (IV.0) '''suppression of hard coded reduction of scale factor in some straits for some given ORCA configuration.43 ''' (IV.0) ''' suppression of hard coded reduction of scale factor in some straits for some given ORCA configuration. 44 44 45 45 ... 46 46 47 ---- 47 48 '''To be CHECKED''' (not necessary associated with this branch 48 49 49 -check that task_i use ssmask, i.e. that it takes into account the under ice shelf seas.50 * check that task_i use ssmask, i.e. that it takes into account the under ice shelf seas. 50 51 51 -CRS : the new arrays derived from horizontal scale factors MUST be added in CRS.52 * CRS : the new arrays derived from horizontal scale factors MUST be added in CRS. 52 53 53 - Bug in diawri.F90 when NOT using key_iomput 54 * Bug in diawri.F90 when NOT using key_iomput (OK ==>> see ticket #1596) 54 55 55 === Changes === 56 * Idea for finalization of domhgr.F90 :[[BR]]'''add''' 2 modules (from domhgr.F90), domhgr_read.F90 and domhgr_ana.F90, which contains:[[BR]]- domhgr_read.F90: the CASE jphgr_msh=0 of domhgr.F90 (i.e. read the coordinates file)[[BR]]- domhgr_ana.F90: the CASE jphgr_msh=5 of domhgr.F90 (i.e. the GYRE analytical definition of the coordinates)[[BR]]'''add''' in NEMOGCM/TOOLS a directory containing 3 domhgr_ana.F90 modules associated with (1) a geographical mesh on the sphere with regular (in degree) grid-spacing (jphgr_msh=1) ; (2) f- or beta-plane with regular grid-spacing (jphgr_msh=2 or 3)) ; (3) geographical mesh on the sphere, isotropic MERCATOR type (jphgr_msh=4)[[BR]]'''remove''' from the namelist_ref/namdom all variable related to the horizontal mesh, and add a flag, ln_mesh_read, =T read the coordinates.nc file ; =F analytical mesh (by default GYRE mesh).[[BR]]'''add''' in NEMOGCM/TOOLS a directory a program that read a coordinates.nc file apply a reduction of scale factors in some straits, and create the associated extended coordinates file (coordinates_e1e2u_v.nc).[[BR]] 57 56 58 ... 57 59