Changeset 1559 for trunk/NEMO/OPA_SRC/SBC
- Timestamp:
- 2009-07-29T16:03:14+02:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/OPA_SRC/SBC/sbcana.F90
r1230 r1559 4 4 !! Ocean forcing: analytical momentum, heat and freshwater forcings 5 5 !!===================================================================== 6 !! History : 9.0 ! 06-06 (G. Madec) Original code 6 !! History : 3.0 ! 2006-06 (G. Madec) Original code 7 !! 3.2 ! 2009-07 (G. Madec) Style only 7 8 !!---------------------------------------------------------------------- 8 9 … … 26 27 PUBLIC sbc_gyre ! routine called in sbcmod module 27 28 28 ! ! * Namelist namsbc_ana29 ! !!* Namelist namsbc_ana * 29 30 INTEGER :: nn_tau000 = 1 ! nb of time-step during which the surface stress 30 !! increase from 0 to its nominal value31 ! ! increase from 0 to its nominal value 31 32 REAL(wp) :: rn_utau0 = 0.e0 ! constant wind stress value in i-direction 32 33 REAL(wp) :: rn_vtau0 = 0.e0 ! constant wind stress value in j-direction … … 39 40 # include "vectopt_loop_substitute.h90" 40 41 !!---------------------------------------------------------------------- 41 !! OPA 9.0 , LOCEAN-IPSL (2006)42 !! NEMO/OPA 3.2 , LOCEAN-IPSL (2009) 42 43 !! $Id$ 43 44 !! Software governed by the CeCILL licence (modipsl/doc/NEMO_CeCILL.txt) … … 51 52 !! 52 53 !! ** Purpose : provide at each time-step the ocean surface boundary 53 !! condition, i.e. the momentum, heat and freshwater fluxes.54 !! condition, i.e. the momentum, heat and freshwater fluxes. 54 55 !! 55 56 !! ** Method : Constant and uniform surface forcing specified from 56 !! namsbc_ana namelist parameters. All the fluxes are time inde-57 !! pendant except the stresses which increase from zero during58 !! the first nn_tau000 time-step59 !! * C A U T I ON : never mask the surface stress field !57 !! namsbc_ana namelist parameters. All the fluxes are time 58 !! independant except the stresses which increase from zero 59 !! during the first nn_tau000 time-step 60 !! CAUTION : never mask the surface stress field ! 60 61 !! 61 62 !! ** Action : - set the ocean surface boundary condition, i.e. … … 64 65 INTEGER, INTENT(in) :: kt ! ocean time step 65 66 !! 66 INTEGER :: ji, jj ! dummy loop indices67 67 REAL(wp) :: zfacto ! local scalar 68 68 !! … … 100 100 ENDIF 101 101 102 ! Estimation of wind speed as a function of wind stress ( |tau|=rhoa*Cd*|U|^2 ) 103 CALL sbc_tau2wnd 102 CALL sbc_tau2wnd ! Estimation of wind speed as a function of wind stress ( |tau|=rhoa*Cd*|U|^2 ) 104 103 ! 105 104 END SUBROUTINE sbc_ana … … 110 109 !! *** ROUTINE sbc_ana *** 111 110 !! 112 !! ** Purpose : provide at each time-step the oceansurface boundary113 !! condition, i.e. the momentum, heat and freshwater fluxes.111 !! ** Purpose : provide at each time-step the GYRE surface boundary 112 !! condition, i.e. the momentum, heat and freshwater fluxes. 114 113 !! 115 114 !! ** Method : analytical seasonal cycle for GYRE configuration. 116 !! * C A U T I ON : never mask the surface stress field !115 !! CAUTION : never mask the surface stress field ! 117 116 !! 118 117 !! ** Action : - set the ocean surface boundary condition, i.e. … … 122 121 !!---------------------------------------------------------------------- 123 122 INTEGER, INTENT(in) :: kt ! ocean time step 124 123 !! 125 124 INTEGER :: ji, jj ! dummy loop indices 126 125 INTEGER :: zyear0 ! initial year … … 298 297 WRITE(numout,*)' raajj = ', raajj 299 298 ENDIF 300 299 ! 301 300 END SUBROUTINE sbc_gyre 302 301
Note: See TracChangeset
for help on using the changeset viewer.