- Timestamp:
- 2015-09-24T08:31:40+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/OPA_SRC/TRA/traadv.F90
r5147 r5758 6 6 !! History : 2.0 ! 2005-11 (G. Madec) Original code 7 7 !! 3.3 ! 2010-09 (C. Ethe, G. Madec) merge TRC-TRA + switch from velocity to transport 8 !! 4.0 ! 2011-06 (G. Madec) Addition of Mixed Layer Eddy parameterisation 8 !! 3.6 ! 2011-06 (G. Madec) Addition of Mixed Layer Eddy parameterisation 9 !! 4.0 ! 2014-05 (G. Madec) Add 2nd/4th order cases for CEN and FCT schemes 10 !! - ! 2014-12 (G. Madec) suppression of cross land advection option 9 11 !!---------------------------------------------------------------------- 10 12 … … 22 24 USE traadv_ubs ! UBS scheme (tra_adv_ubs routine) 23 25 USE traadv_qck ! QUICKEST scheme (tra_adv_qck routine) 24 USE traadv_eiv ! eddy induced velocity (tra_adv_eiv routine)25 26 USE traadv_mle ! ML eddy induced velocity (tra_adv_mle routine) 26 27 USE cla ! cross land advection (cla_traadv routine) 27 USE ldftra_oce ! lateral diffusion coefficient on tracers 28 USE ldftra ! lateral diffusion coefficient on tracers 29 USE ldfslp ! Lateral diffusion: slopes of neutral surfaces 28 30 ! 29 31 USE in_out_manager ! I/O manager … … 74 76 !! ** Method : - Update (ua,va) with the advection term following nadv 75 77 !!---------------------------------------------------------------------- 76 !77 78 INTEGER, INTENT( in ) :: kt ! ocean time-step index 78 79 ! … … 84 85 ! 85 86 CALL wrk_alloc( jpi, jpj, jpk, zun, zvn, zwn ) 87 ! 86 88 ! ! set time step 87 89 IF( neuler == 0 .AND. kt == nit000 ) THEN ! at nit000 … … 95 97 ! !== effective transport ==! 96 98 DO jk = 1, jpkm1 97 zun(:,:,jk) = e2u (:,:) * fse3u(:,:,jk) * un(:,:,jk) ! eulerian transport only98 zvn(:,:,jk) = e1v (:,:) * fse3v(:,:,jk) * vn(:,:,jk)99 zwn(:,:,jk) = e1 t(:,:) * e2t(:,:)* wn(:,:,jk)99 zun(:,:,jk) = e2u (:,:) * fse3u(:,:,jk) * un(:,:,jk) ! eulerian transport only 100 zvn(:,:,jk) = e1v (:,:) * fse3v(:,:,jk) * vn(:,:,jk) 101 zwn(:,:,jk) = e1e2t(:,:) * wn(:,:,jk) 100 102 END DO 101 103 ! … … 109 111 zwn(:,:,jpk) = 0._wp ! no transport trough the bottom 110 112 ! 111 IF( l k_traldf_eiv .AND. .NOT. ln_traldf_grif) &112 & CALL tra_adv_eiv( kt, nit000, zun, zvn, zwn, 'TRA' )! add the eiv transport (if necessary)113 ! 114 IF( ln_mle ) CALL tra_adv_mle( kt, nit000, zun, zvn, zwn, 'TRA' ) 115 ! 116 CALL iom_put( "uocetr_eff", zun ) 113 IF( ln_ldfeiv .AND. .NOT. ln_traldf_triad ) & 114 & CALL ldf_eiv_trp( kt, nit000, zun, zvn, zwn, 'TRA' ) ! add the eiv transport (if necessary) 115 ! 116 IF( ln_mle ) CALL tra_adv_mle( kt, nit000, zun, zvn, zwn, 'TRA' ) ! add the mle transport (if necessary) 117 ! 118 CALL iom_put( "uocetr_eff", zun ) ! output effective transport 117 119 CALL iom_put( "vocetr_eff", zvn ) 118 120 CALL iom_put( "wocetr_eff", zwn ) 119 121 ! 120 IF( ln_diaptr ) CALL dia_ptr( zvn ) 122 IF( ln_diaptr ) CALL dia_ptr( zvn ) ! diagnose the effective MSF 121 123 ! 122 124
Note: See TracChangeset
for help on using the changeset viewer.