Changes between Version 11 and Version 12 of ticket/0842_TRA_TRP
- Timestamp:
- 2011-08-03T18:54:42+02:00 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ticket/0842_TRA_TRP
v11 v12 31 31 * suppression of key_tradmp and replace it by a namelist parameter '''ln_tradmp''' 32 32 33 '''(2)''' [[BR]]33 '''(2)''' Re-introduce a horizontal diffusivity coefficient for passive tracers [[BR]] 34 34 35 After the merge of TRA-TRP, we wanted to keep in the system the use of different transport scheme for active & passive tracers. But for lateral diffusion, it's not the case : the diffusive coefficient is only define in the namelist and it is the one which is used both for the active and passive tracers scheme.35 After the merge of TRA-TRP, we wanted to keep in the system the use of different transport scheme for active & passive tracers. But, in nemo_v3_1, the diffusive coefficient define for T & S are the one used also for the passive tracers. 36 36 37 Because of space varying of those coef - defining in the code by the use of statement function -37 Because of space varying of those coefficients - defined in the code by the use of statement function -, we need to find a trick to solve that problem in a easier way 38 38 39 The idea is to multiply the existing coef defining in ldftra_substitute by a factor - rldf - which will be equal to 40 - 1 for active tracers 41 - rn_ahtrc0 / rn_aht0 ( the ratio between passive tracers and active tracers coef.) 42 43 In the code, we ensure that the 2 coef have the same sign ( < 0 for bilaplacian operator ; > 0 for laplacian operator ) 44 39 One solution is to multiply the existing coef defining in ldftra_substitute by a factor - rldf - which will be equal to 45 40 {{{ 46 41 #if defined key_traldf_c3d … … 58 53 #endif 59 54 }}} 55 rldf is equal to : 56 - 1 for active tracers 57 - rn_ahtrc0 / rn_aht0 ( the ratio between passive tracers and active tracers coef.) 58 59 In the code, we ensure that the 2 coef have the same sign ( < 0 for bilaplacian operator ; > 0 for laplacian operator ) 60 60 61 61 '''(3)''' replace 3D T & S arrays by 4D array TS throughout the code [[BR]] … … 142 142 143 143 144 - we merge the two namelists &namdta_tem and &namdta_sal in one &namtsd 145 - we add a namelist parameter ln_tsd_init to replace the 2 CPP keys key_dtatem & key_dtasal 144 - we merge the two namelists &namdta_tem and &namdta_sal in one &namtsd and add a new namelist parameter ln_tsd_init to replace the 2 CPP keys key_dtatem & key_dtasal [[BR]] 145 146 146 147 147 {{{