Changeset 7954
- Timestamp:
- 2017-04-24T09:19:00+02:00 (7 years ago)
- Location:
- branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM
- Files:
-
- 58 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/AMM12/EXP00/namelist_cfg
r7953 r7954 189 189 / 190 190 !----------------------------------------------------------------------- 191 &nambbl ! bottom boundary layer scheme 192 !----------------------------------------------------------------------- 193 nn_bbl_ldf = 0 ! diffusive bbl (=1) or not (=0) 191 &nambbl ! bottom boundary layer scheme (default: NO) 192 !----------------------------------------------------------------------- 194 193 / 195 194 !----------------------------------------------------------------------- … … 305 304 / 306 305 !----------------------------------------------------------------------- 307 &namzdf ! vertical physics 308 !----------------------------------------------------------------------- 309 rn_avm0 = 0.1e-6 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 310 rn_avt0 = 0.1e-6 ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 311 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) (T) or not (F) 312 nn_evdm = 1 ! evd apply on tracer (=0) or on tracer and momentum (=1) 313 / 314 !----------------------------------------------------------------------- 315 &namzdf_ric ! richardson number dependent vertical diffusion ("key_zdfric" ) 316 !----------------------------------------------------------------------- 317 / 318 !----------------------------------------------------------------------- 319 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke") 320 !----------------------------------------------------------------------- 321 / 322 !----------------------------------------------------------------------- 323 &namzdf_gls ! GLS vertical diffusion ("key_zdfgls") 306 &namzdf ! vertical physics (default: NO selection) 307 !----------------------------------------------------------------------- 308 ! ! type of vertical closure 309 ln_zdfcst = .false. ! constant mixing 310 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 311 ln_zdftke = .false. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 312 ln_zdfgls = .true. ! Generic Length Scale closure (T => fill namzdf_gls) 313 ! 314 ! ! convection 315 ln_zdfevd = .false. ! enhanced vertical diffusion 316 nn_evdm = 0 ! apply on tracer (=0) or on tracer and momentum (=1) 317 rn_evd = 100. ! mixing coefficient [m2/s] 318 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 319 nn_npc = 1 ! frequency of application of npc 320 nn_npcp = 365 ! npc control print frequency 321 ! 322 ln_zdfddm = .false. ! double diffusive mixing 323 rn_avts = 1.e-4 ! maximum avs (vertical mixing on salinity) 324 rn_hsbfr = 1.6 ! heat/salt buoyancy flux ratio 325 ! 326 ln_zdftmx = .false. ! tidal mixing parameterization (T => fill namzdf_tmx) 327 ! 328 ln_zdfqiao = .false. ! surface wave-induced mixing (T => ln_wave=ln_sdw=T ) 329 ! 330 ! ! time-stepping 331 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 332 nn_zdfexp= 3 ! number of sub-timestep for ln_zdfexp=T 333 ! 334 ! ! coefficients 335 rn_avm0 = 0.1e-6 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 336 rn_avt0 = 0.1e-6 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 337 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 338 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 339 / 340 !----------------------------------------------------------------------- 341 &namzdf_ric ! richardson number dependent vertical diffusion (ln_zdfric =T) 342 !----------------------------------------------------------------------- 343 / 344 !----------------------------------------------------------------------- 345 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke =T) 346 !----------------------------------------------------------------------- 347 / 348 !----------------------------------------------------------------------- 349 &namzdf_gls ! GLS vertical diffusion (ln_zdfgls =T) 324 350 !----------------------------------------------------------------------- 325 351 rn_charn = 100000. ! Charnock constant for wb induced roughness length … … 327 353 / 328 354 !----------------------------------------------------------------------- 329 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm") 330 !----------------------------------------------------------------------- 331 / 332 !----------------------------------------------------------------------- 333 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 334 !----------------------------------------------------------------------- 335 ln_tmx_itf = .FALSE. ! ITF specific parameterisation 355 &namzdf_tmx ! internal wave-driven mixing parameterization (ln_zdftmx =T) 356 !----------------------------------------------------------------------- 336 357 / 337 358 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/AMM12/cpp_AMM12.fcm
r7646 r7954 1 bld::tool::fppkeys key_zdfglskey_diainstant key_mpp_mpi key_iomput1 bld::tool::fppkeys key_diainstant key_mpp_mpi key_iomput -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/C1D_PAPA/EXP00/namelist_cfg
r7646 r7954 255 255 / 256 256 !----------------------------------------------------------------------- 257 &namzdf ! vertical physics 258 !----------------------------------------------------------------------- 259 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) (T) or not (F) 260 / 261 !----------------------------------------------------------------------- 262 &namzdf_ric ! richardson number dependent vertical diffusion ("key_zdfric" ) 263 !----------------------------------------------------------------------- 264 / 265 !----------------------------------------------------------------------- 266 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke") 267 !----------------------------------------------------------------------- 268 / 269 !----------------------------------------------------------------------- 270 &namzdf_gls ! GLS vertical diffusion ("key_zdfgls") 271 !----------------------------------------------------------------------- 272 / 273 !----------------------------------------------------------------------- 274 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm") 275 !----------------------------------------------------------------------- 276 / 277 !----------------------------------------------------------------------- 278 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 279 !----------------------------------------------------------------------- 280 ln_tmx_itf = .false. ! ITF specific parameterisation 257 &namzdf ! vertical physics (default: NO selection) 258 !----------------------------------------------------------------------- 259 ! ! type of vertical closure 260 ln_zdfcst = .false. ! constant mixing 261 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 262 ln_zdftke = .false. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 263 ln_zdfgls = .true. ! Generic Length Scale closure (T => fill namzdf_gls) 264 ! 265 ! ! convection 266 ln_zdfevd = .false. ! enhanced vertical diffusion 267 nn_evdm = 0 ! apply on tracer (=0) or on tracer and momentum (=1) 268 rn_evd = 100. ! mixing coefficient [m2/s] 269 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 270 nn_npc = 1 ! frequency of application of npc 271 nn_npcp = 365 ! npc control print frequency 272 ! 273 ln_zdfddm = .false. ! double diffusive mixing 274 rn_avts = 1.e-4 ! maximum avs (vertical mixing on salinity) 275 rn_hsbfr = 1.6 ! heat/salt buoyancy flux ratio 276 ! 277 ln_zdftmx = .false. ! tidal mixing parameterization (T => fill namzdf_tmx) 278 ! 279 ln_zdfqiao = .false. ! surface wave-induced mixing (T => ln_wave=ln_sdw=T ) 280 ! 281 ! ! time-stepping 282 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 283 ! 284 ! ! coefficients 285 rn_avm0 = 1.2e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 286 rn_avt0 = 1.2e-5 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 287 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 288 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 289 / 290 !----------------------------------------------------------------------- 291 &namzdf_ric ! richardson number dependent vertical diffusion (ln_zdfric =T) 292 !----------------------------------------------------------------------- 293 / 294 !----------------------------------------------------------------------- 295 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke =T) 296 !----------------------------------------------------------------------- 297 / 298 !----------------------------------------------------------------------- 299 &namzdf_gls ! GLS vertical diffusion (ln_zdfgls =T) 300 !----------------------------------------------------------------------- 301 / 302 !----------------------------------------------------------------------- 303 &namzdf_tmx ! internal wave-driven mixing parameterization (ln_zdftmx =T) 304 !----------------------------------------------------------------------- 281 305 / 282 306 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/C1D_PAPA/cpp_C1D_PAPA.fcm
r4667 r7954 1 bld::tool::fppkeys key_c1d key_zdfgls1 bld::tool::fppkeys key_c1d -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/GYRE_BFM/EXP00/namelist_cfg
r7715 r7954 43 43 / 44 44 !----------------------------------------------------------------------- 45 &namcrs ! Grid coarsening for dynamics output and/or 46 ! passive tracer coarsened online simulations 45 &namcrs ! coarsened grid (for outputs and/or TOP) (ln_crs =T) 47 46 !----------------------------------------------------------------------- 48 47 / … … 245 244 / 246 245 !----------------------------------------------------------------------- 247 &namzdf ! vertical physics 248 !----------------------------------------------------------------------- 249 nn_evdm = 1 ! evd apply on tracer (=0) or on tracer and momentum (=1) 250 / 251 !----------------------------------------------------------------------- 252 &namzdf_ric ! richardson number dependent vertical diffusion ("key_zdfric" ) 253 !----------------------------------------------------------------------- 254 / 255 !----------------------------------------------------------------------- 256 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke") 246 &namzdf ! vertical physics (default: NO selection) 247 !----------------------------------------------------------------------- 248 ! ! type of vertical closure 249 ln_zdfcst = .false. ! constant mixing 250 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 251 ln_zdftke = .true. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 252 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 253 ! 254 ! ! convection 255 ln_zdfevd = .true. ! enhanced vertical diffusion 256 nn_evdm = 1 ! apply on tracer (=0) or on tracer and momentum (=1) 257 rn_evd = 100. ! mixing coefficient [m2/s] 258 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 259 nn_npc = 1 ! frequency of application of npc 260 nn_npcp = 365 ! npc control print frequency 261 ! 262 ln_zdfddm = .false. ! double diffusive mixing 263 rn_avts = 1.e-4 ! maximum avs (vertical mixing on salinity) 264 rn_hsbfr = 1.6 ! heat/salt buoyancy flux ratio 265 ! 266 ln_zdftmx = .false. ! tidal mixing parameterization (T => fill namzdf_tmx) 267 ! 268 ln_zdfqiao = .false. ! surface wave-induced mixing (T => ln_wave=ln_sdw=T ) 269 ! 270 ! ! time-stepping 271 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 272 nn_zdfexp= 3 ! number of sub-timestep for ln_zdfexp=T 273 ! 274 ! ! coefficients 275 rn_avm0 = 1.2e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 276 rn_avt0 = 1.2e-5 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 277 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 278 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 279 / 280 !----------------------------------------------------------------------- 281 &namzdf_ric ! richardson number dependent vertical diffusion (ln_zdfric =T) 282 !----------------------------------------------------------------------- 283 / 284 !----------------------------------------------------------------------- 285 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke") 257 286 !----------------------------------------------------------------------- 258 287 nn_etau = 0 ! penetration of tke below the mixed layer (ML) due to internal & intertial waves 259 288 / 260 289 !----------------------------------------------------------------------- 261 &namzdf_gls ! GLS vertical diffusion ("key_zdfgls") 262 !----------------------------------------------------------------------- 263 / 264 !----------------------------------------------------------------------- 265 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm") 266 !----------------------------------------------------------------------- 267 / 268 !----------------------------------------------------------------------- 269 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 270 !----------------------------------------------------------------------- 271 ln_tmx_itf = .false. ! ITF specific parameterisation 290 &namzdf_gls ! GLS vertical diffusion (ln_zdfgls =T) 291 !----------------------------------------------------------------------- 292 / 293 !----------------------------------------------------------------------- 294 &namzdf_tmx ! internal wave-driven mixing parameterization (ln_zdftmx =T) 295 !----------------------------------------------------------------------- 272 296 / 273 297 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/GYRE_BFM/cpp_GYRE_BFM.fcm
r5930 r7954 1 bld::tool::fppkeys key_zdftkekey_top key_my_trc key_mpp_mpi key_iomput1 bld::tool::fppkeys key_top key_my_trc key_mpp_mpi key_iomput 2 2 inc $BFMDIR/src/nemo/bfm.fcm -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/GYRE_PISCES/EXP00/namelist_cfg
r7953 r7954 83 83 / 84 84 !----------------------------------------------------------------------- 85 &nambbl ! bottom boundary layer scheme 85 &nambbl ! bottom boundary layer scheme (default: NO) 86 86 !----------------------------------------------------------------------- 87 87 / -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/GYRE_PISCES/cpp_GYRE_PISCES.fcm
r7953 r7954 1 bld::tool::fppkeys key_zdftkekey_top key_mpp_mpi key_nosignedzero1 bld::tool::fppkeys key_top key_mpp_mpi key_nosignedzero -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/EXP00/1_namelist_cfg
r7715 r7954 20 20 / 21 21 !----------------------------------------------------------------------- 22 &namzgr ! vertical coordinate23 !-----------------------------------------------------------------------24 ln_zps = .true. ! z-coordinate - partial steps25 /26 !-----------------------------------------------------------------------27 22 &namdom ! space and time domain (bathymetry, mesh, timestep) 28 23 !----------------------------------------------------------------------- … … 34 29 / 35 30 !----------------------------------------------------------------------- 36 &namcrs ! Grid coarsening for dynamics output and/or 37 ! ! passive tracer coarsened online simulations 31 &namcrs ! coarsened grid (for outputs and/or TOP) (ln_crs =T) 38 32 !----------------------------------------------------------------------- 39 33 / … … 103 97 &nambbl ! bottom boundary layer scheme 104 98 !----------------------------------------------------------------------- 99 ln_trabbl = .true. ! Bottom Boundary Layer parameterisation flag 100 nn_bbl_ldf = 1 ! diffusive bbl (=1) or not (=0) 101 nn_bbl_adv = 0 ! advective bbl (=1/2) or not (=0) 102 rn_ahtbbl = 1000. ! lateral mixing coefficient in the bbl [m2/s] 103 rn_gambbl = 10. ! advective bbl coefficient [s] 104 / 105 105 / 106 106 !----------------------------------------------------------------------- … … 205 205 rn_bhm_0 = 8.5e+11 ! horizontal bilaplacian eddy viscosity [m4/s] 206 206 / 207 !----------------------------------------------------------------------- 208 &namzdf ! vertical physics 209 !----------------------------------------------------------------------- 210 / 211 !----------------------------------------------------------------------- 212 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke") 213 !----------------------------------------------------------------------- 214 / 215 !----------------------------------------------------------------------- 216 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm") 217 !----------------------------------------------------------------------- 218 / 219 !----------------------------------------------------------------------- 220 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 221 !----------------------------------------------------------------------- 222 ln_tmx_itf = .false. ! ITF specific parameterisation 207 !!====================================================================== 208 !! vertical physics namelists !! 209 !!====================================================================== 210 !----------------------------------------------------------------------- 211 &namzdf ! vertical physics (default: NO selection) 212 !----------------------------------------------------------------------- 213 ! ! type of vertical closure 214 ln_zdfcst = .false. ! constant mixing 215 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 216 ln_zdftke = .true. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 217 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 218 ! 219 ! ! convection 220 ln_zdfevd = .true. ! Enhanced Vertical Diffusion scheme 221 nn_evdm = 0 ! evd apply on tracer (=0) or on tracer and momentum (=1) 222 rn_evd = 100. ! evd mixing coefficient [m2/s] 223 ! 224 ln_zdfddm = .true. ! double diffusive mixing 225 rn_avts = 1.e-4 ! maximum avs (vertical mixing on salinity) 226 rn_hsbfr = 1.6 ! heat/salt buoyancy flux ratio 227 ! 228 ln_zdftmx = .true. ! tidal mixing parameterization (T => fill namzdf_tmx) 229 ! 230 ln_zdfqiao = .false. ! enhanced wave vertical mixing Qiao (2010) (T => ln_wave=T & ln_sdw=T & fill namsbc_wave) 231 ! 232 ! ! time-stepping 233 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) time stepping scheme 234 nn_zdfexp= 3 ! number of sub-timestep for ln_zdfexp=T 235 ! 236 ! ! Coefficients 237 rn_avm0 = 1.2e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 238 rn_avt0 = 1.2e-5 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 239 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 240 nn_havtb = 1 ! horizontal shape for avtb (=1) or not (=0) 241 / 242 !----------------------------------------------------------------------- 243 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke =T) 244 !----------------------------------------------------------------------- 245 / 246 !----------------------------------------------------------------------- 247 &namzdf_tmx ! internal wave-driven mixing parameterization (ln_zdftmx =T) 248 !----------------------------------------------------------------------- 249 nn_zpyc = 1 ! pycnocline-intensified dissipation scales as N (=1) or N^2 (=2) 250 ln_mevar = .true. ! variable (T) or constant (F) mixing efficiency 251 ln_tsdiff = .true. ! account for differential T/S mixing (T) or not (F) 223 252 / 224 253 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/EXP00/file_def_nemo.xml
r7828 r7954 95 95 <field field_ref="avt" name="difvho" /> 96 96 <field field_ref="w_masstr" name="vovematr" /> 97 <!-- variables available w ith key_zdftmx_new-->97 <!-- variables available when ln_zdftmx =T --> 98 98 <field field_ref="av_wave" name="av_wave" /> 99 99 <field field_ref="bn2" name="bn2" /> -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/EXP00/namelist_cfg
r7953 r7954 17 17 ! ! (=F) user defined configuration ==>>> see usrdef(_...) modules 18 18 cn_domcfg = "ORCA_R2_zps_domcfg" ! domain configuration filename 19 /20 !-----------------------------------------------------------------------21 &namzgr ! vertical coordinate22 !-----------------------------------------------------------------------23 ln_zps = .true. ! z-coordinate - partial steps24 19 / 25 20 !----------------------------------------------------------------------- … … 114 109 / 115 110 !----------------------------------------------------------------------- 116 &nambbl ! bottom boundary layer scheme 117 !----------------------------------------------------------------------- 111 &nambbl ! bottom boundary layer scheme (default: NO) 112 !----------------------------------------------------------------------- 113 ln_trabbl = .true. ! Bottom Boundary Layer parameterisation flag 114 nn_bbl_ldf = 1 ! diffusive bbl (=1) or not (=0) 115 nn_bbl_adv = 0 ! advective bbl (=1/2) or not (=0) 116 rn_ahtbbl = 1000. ! lateral mixing coefficient in the bbl [m2/s] 117 rn_gambbl = 10. ! advective bbl coefficient [s] 118 118 / 119 119 !----------------------------------------------------------------------- … … 234 234 ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km) 235 235 / 236 !!====================================================================== 237 !! vertical physics namelists !! 238 !!====================================================================== 236 239 !----------------------------------------------------------------------- 237 240 &namzdf ! vertical physics (default: NO selection) … … 271 274 / 272 275 !----------------------------------------------------------------------- 273 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 274 !----------------------------------------------------------------------- 275 / 276 !----------------------------------------------------------------------- 277 &namzdf_tmx_new ! internal wave-driven mixing parameterization ("key_zdftmx_new" & "key_zdfddm") 276 &namzdf_tmx ! tidal mixing parameterization (ln_zdftmx =T) 278 277 !----------------------------------------------------------------------- 279 278 nn_zpyc = 2 ! pycnocline-intensified dissipation scales as N (=1) or N^2 (=2) -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_LIM3_PISCES/cpp_ORCA2_LIM3_PISCES.fcm
r7953 r7954 1 bld::tool::fppkeys key_trabbl key_lim3 key_zdftke key_zdftmx_new key_iomput key_mpp_mpi key_topkey_nosignedzero1 bld::tool::fppkeys key_lim3 key_top key_iomput key_mpp_mpi key_nosignedzero -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/EXP00/namelist_cfg
r7646 r7954 18 18 / 19 19 !----------------------------------------------------------------------- 20 &namzgr ! vertical coordinate21 !-----------------------------------------------------------------------22 ln_zps = .true. ! z-coordinate - partial steps23 /24 !-----------------------------------------------------------------------25 20 &namdom ! space and time domain (bathymetry, mesh, timestep) 26 21 !----------------------------------------------------------------------- … … 35 30 rn_shlat = 2. ! shlat = 0 ! 0 < shlat < 2 ! shlat = 2 ! 2 < shlat 36 31 ln_vorlat = .false. ! consistency of vorticity boundary condition with analytical Eqs. 37 /38 !-----------------------------------------------------------------------39 &namsplit ! time splitting parameters ("key_dynspg_ts")40 !-----------------------------------------------------------------------41 /42 !-----------------------------------------------------------------------43 &namcrs ! Grid coarsening for dynamics output and/or44 ! passive tracer coarsened online simulations45 !-----------------------------------------------------------------------46 32 / 47 33 !----------------------------------------------------------------------- … … 69 55 &nambbl ! bottom boundary layer scheme 70 56 !----------------------------------------------------------------------- 57 ln_trabbl = .true. ! Bottom Boundary Layer parameterisation flag 58 nn_bbl_ldf = 1 ! diffusive bbl (=1) or not (=0) 59 nn_bbl_adv = 0 ! advective bbl (=1/2) or not (=0) 60 rn_ahtbbl = 1000. ! lateral mixing coefficient in the bbl [m2/s] 61 rn_gambbl = 10. ! advective bbl coefficient [s] 62 / 71 63 / 72 64 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_OFF_PISCES/cpp_ORCA2_OFF_PISCES.fcm
r7646 r7954 1 bld::tool::fppkeys key_trabblkey_top key_iomput key_mpp_mpi1 bld::tool::fppkeys key_top key_iomput key_mpp_mpi -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_OFF_TRC/EXP00/namelist_cfg
r7445 r7954 20 20 / 21 21 !----------------------------------------------------------------------- 22 &namzgr ! vertical coordinate23 !-----------------------------------------------------------------------24 ln_zps = .true. ! z-coordinate - partial steps25 /26 !-----------------------------------------------------------------------27 22 &namdom ! space and time domain (bathymetry, mesh, timestep) 28 23 !----------------------------------------------------------------------- … … 37 32 rn_shlat = 2. ! shlat = 0 ! 0 < shlat < 2 ! shlat = 2 ! 2 < shlat 38 33 ln_vorlat = .false. ! consistency of vorticity boundary condition with analytical Eqs. 39 /40 !-----------------------------------------------------------------------41 &namsplit ! time splitting parameters ("key_dynspg_ts")42 !-----------------------------------------------------------------------43 /44 !-----------------------------------------------------------------------45 &namcrs ! Grid coarsening for dynamics output and/or46 ! passive tracer coarsened online simulations47 !-----------------------------------------------------------------------48 34 / 49 35 !----------------------------------------------------------------------- … … 71 57 &nambbl ! bottom boundary layer scheme 72 58 !----------------------------------------------------------------------- 59 ln_trabbl = .true. ! Bottom Boundary Layer parameterisation flag 60 nn_bbl_ldf = 1 ! diffusive bbl (=1) or not (=0) 61 nn_bbl_adv = 0 ! advective bbl (=1/2) or not (=0) 62 rn_ahtbbl = 1000. ! lateral mixing coefficient in the bbl [m2/s] 63 rn_gambbl = 10. ! advective bbl coefficient [s] 73 64 / 74 65 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_OFF_TRC/cpp_ORCA2_OFF_TRC.fcm
r7485 r7954 1 bld::tool::fppkeys key_trabblkey_top key_iomput key_mpp_mpi1 bld::tool::fppkeys key_top key_iomput key_mpp_mpi -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_SAS_LIM3/EXP00/namelist_cfg
r7404 r7954 19 19 / 20 20 !----------------------------------------------------------------------- 21 &namzgr ! vertical coordinate22 !-----------------------------------------------------------------------23 ln_zps = .true. ! z-coordinate - partial steps24 /25 !-----------------------------------------------------------------------26 21 &namdom ! space and time domain (bathymetry, mesh, timestep) 27 22 !----------------------------------------------------------------------- … … 32 27 / 33 28 !----------------------------------------------------------------------- 34 &namcrs ! Grid coarsening for dynamics output and/or 35 ! passive tracer coarsened online simulations 29 &namcrs ! coarsened grid (for outputs and/or TOP) (ln_crs =T) 36 30 !----------------------------------------------------------------------- 37 31 / … … 75 69 / 76 70 !----------------------------------------------------------------------- 77 &nambfr ! bottom friction78 !-----------------------------------------------------------------------79 /80 !-----------------------------------------------------------------------81 &nambbc ! bottom temperature boundary condition (default: NO)82 !-----------------------------------------------------------------------83 ln_trabbc = .true. ! Apply a geothermal heating at the ocean bottom84 /85 !-----------------------------------------------------------------------86 &nambbl ! bottom boundary layer scheme87 !-----------------------------------------------------------------------88 /89 !-----------------------------------------------------------------------90 71 &nameos ! ocean physical parameters 91 72 !----------------------------------------------------------------------- … … 102 83 / 103 84 !----------------------------------------------------------------------- 104 &namtra_adv_mle ! mixed layer eddy parametrisation (Fox-Kemper param)105 !-----------------------------------------------------------------------106 /107 !----------------------------------------------------------------------------------108 &namtra_ldf ! lateral diffusion scheme for tracers109 !----------------------------------------------------------------------------------110 ! ! Operator type:111 ln_traldf_lap = .true. ! laplacian operator112 ln_traldf_blp = .false. ! bilaplacian operator113 ! ! Direction of action:114 ln_traldf_lev = .false. ! iso-level115 ln_traldf_hor = .false. ! horizontal (geopotential)116 ln_traldf_iso = .true. ! iso-neutral (Standard operator)117 ln_traldf_triad = .false. ! iso-neutral (Triads operator)118 !119 ! ! iso-neutral options:120 ln_traldf_msc = .true. ! Method of Stabilizing Correction (both operators)121 rn_slpmax = 0.01 ! slope limit (both operators)122 ln_triad_iso = .false. ! pure horizontal mixing in ML (triad only)123 rn_sw_triad = 1 ! =1 switching triad ; =0 all 4 triads used (triad only)124 ln_botmix_triad = .false. ! lateral mixing on bottom (triad only)125 !126 ! ! Coefficients:127 nn_aht_ijk_t = 20 ! space/time variation of eddy coef128 ! ! =-20 (=-30) read in eddy_diffusivity_2D.nc (..._3D.nc) file129 ! ! = 0 constant130 ! ! = 10 F(k) =ldf_c1d131 ! ! = 20 F(i,j) =ldf_c2d132 ! ! = 21 F(i,j,t) =Treguier et al. JPO 1997 formulation133 ! ! = 30 F(i,j,k) =ldf_c2d + ldf_c1d134 ! ! = 31 F(i,j,k,t)=F(local velocity)135 rn_aht_0 = 2000. ! lateral eddy diffusivity (lap. operator) [m2/s]136 rn_bht_0 = 1.e+12 ! lateral eddy diffusivity (bilap. operator) [m4/s]137 /138 !----------------------------------------------------------------------------------139 &namtra_ldfeiv ! eddy induced velocity param.140 !----------------------------------------------------------------------------------141 ln_ldfeiv =.true. ! use eddy induced velocity parameterization142 ln_ldfeiv_dia =.true. ! diagnose eiv stream function and velocities143 rn_aeiv_0 = 2000. ! eddy induced velocity coefficient [m2/s]144 nn_aei_ijk_t = 21 ! space/time variation of the eiv coeficient145 ! ! =-20 (=-30) read in eddy_induced_velocity_2D.nc (..._3D.nc) file146 ! ! = 0 constant147 ! ! = 10 F(k) =ldf_c1d148 ! ! = 20 F(i,j) =ldf_c2d149 ! ! = 21 F(i,j,t) =Treguier et al. JPO 1997 formulation150 ! ! = 30 F(i,j,k) =ldf_c2d + ldf_c1d151 /152 !-----------------------------------------------------------------------153 &namtra_dmp ! tracer: T & S newtonian damping (default: NO)154 !-----------------------------------------------------------------------155 !-----------------------------------------------------------------------156 &namdyn_adv ! formulation of the momentum advection157 !-----------------------------------------------------------------------158 /159 !-----------------------------------------------------------------------160 &namdyn_vor ! option of physics/algorithm (not control by CPP keys)161 !-----------------------------------------------------------------------162 ln_dynvor_ene = .false. ! enstrophy conserving scheme163 ln_dynvor_ens = .false. ! energy conserving scheme164 ln_dynvor_mix = .false. ! mixed scheme165 ln_dynvor_een = .true. ! energy & enstrophy scheme166 nn_een_e3f = 0 ! e3f = masked averaging of e3t divided by 4 (=0) or by the sum of mask (=1)167 /168 !-----------------------------------------------------------------------169 &namdyn_hpg ! Hydrostatic pressure gradient option170 !-----------------------------------------------------------------------171 /172 !-----------------------------------------------------------------------173 &namdyn_spg ! surface pressure gradient174 !-----------------------------------------------------------------------175 ln_dynspg_ts = .true. ! split-explicit free surface176 /177 !-----------------------------------------------------------------------178 &namdyn_ldf ! lateral diffusion on momentum179 !-----------------------------------------------------------------------180 ! ! Type of the operator :181 ! ! no diffusion: set ln_dynldf_lap=..._blp=F182 ln_dynldf_lap = .true. ! laplacian operator183 ln_dynldf_blp = .false. ! bilaplacian operator184 ! ! Direction of action :185 ln_dynldf_lev = .true. ! iso-level186 ln_dynldf_hor = .false. ! horizontal (geopotential)187 ln_dynldf_iso = .false. ! iso-neutral188 ! ! Coefficient189 nn_ahm_ijk_t = -30 ! space/time variation of eddy coef190 ! ! =-30 read in eddy_viscosity_3D.nc file191 ! ! =-20 read in eddy_viscosity_2D.nc file192 ! ! = 0 constant193 ! ! = 10 F(k)=c1d194 ! ! = 20 F(i,j)=F(grid spacing)=c2d195 ! ! = 30 F(i,j,k)=c2d*c1d196 ! ! = 31 F(i,j,k)=F(grid spacing and local velocity)197 rn_ahm_0 = 40000. ! horizontal laplacian eddy viscosity [m2/s]198 rn_ahm_b = 0. ! background eddy viscosity for ldf_iso [m2/s]199 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s]200 !201 ! Caution in 20 and 30 cases the coefficient have to be given for a 1 degree grid (~111km)202 /203 !-----------------------------------------------------------------------204 &namzdf ! vertical physics205 !-----------------------------------------------------------------------206 /207 !-----------------------------------------------------------------------208 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke")209 !-----------------------------------------------------------------------210 /211 !-----------------------------------------------------------------------212 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm")213 !-----------------------------------------------------------------------214 /215 !-----------------------------------------------------------------------216 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx")217 !-----------------------------------------------------------------------218 /219 !-----------------------------------------------------------------------220 85 &nammpp ! Massively Parallel Processing ("key_mpp_mpi) 221 86 !----------------------------------------------------------------------- … … 225 90 !----------------------------------------------------------------------- 226 91 / 227 !-----------------------------------------------------------------------228 &namptr ! Poleward Transport Diagnostic229 !-----------------------------------------------------------------------230 /231 !-----------------------------------------------------------------------232 &namhsb ! Heat and salt budgets (default F)233 !-----------------------------------------------------------------------234 /235 !-----------------------------------------------------------------------236 &namobs ! observation usage ('key_diaobs')237 !-----------------------------------------------------------------------238 /239 !-----------------------------------------------------------------------240 &nam_asminc ! assimilation increments ('key_asminc')241 !-----------------------------------------------------------------------242 / -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/ORCA2_SAS_LIM3/cpp_ORCA2_SAS_LIM3.fcm
r7423 r7954 1 bld::tool::fppkeys key_trabbl key_lim3 key_zdftke key_zdfddm key_zdftmxkey_iomput key_mpp_mpi1 bld::tool::fppkeys key_lim3 key_iomput key_mpp_mpi -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/SHARED/field_def_nemo-opa.xml
r7953 r7954 307 307 <field id="uoce_eiv" long_name="EIV ocean current along i-axis" standard_name="bolus_sea_water_x_velocity" unit="m/s" grid_ref="grid_U_3D" /> 308 308 309 <!-- uoce_eiv: available with key_trabbl-->309 <!-- variables available when ln_trabbl = T --> 310 310 <field id="uoce_bbl" long_name="BBL ocean current along i-axis" unit="m/s" /> 311 311 <field id="ahu_bbl" long_name="BBL diffusive flux along i-axis" unit="m3/s" /> … … 355 355 <field id="voce_eiv" long_name="EIV ocean current along j-axis" standard_name="bolus_sea_water_y_velocity" unit="m/s" grid_ref="grid_V_3D" /> 356 356 357 <!-- v oce_eiv: available with key_trabbl-->357 <!-- variables available when ln_trabbl = T --> 358 358 <field id="voce_bbl" long_name="BBL ocean current along j-axis" unit="m/s" /> 359 359 <field id="ahv_bbl" long_name="BBL diffusive flux along j-axis" unit="m3/s" /> -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/SHARED/namelist_ref
r7953 r7954 3 3 !!>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> 4 4 !! NEMO/OPA : 1 - run manager (namrun) 5 !! namelists 2 - Domain (namcfg, nam zgr, namdom, namtsd, namcrs, namc1d, namc1d_uvd)5 !! namelists 2 - Domain (namcfg, namdom, namtsd, namcrs, namc1d, namc1d_uvd) 6 6 !! 3 - Surface boundary (namsbc, namsbc_flx, namsbc_blk, namsbc_sas) 7 7 !! namsbc_cpl, namtra_qsr, namsbc_rnf, … … 59 59 !!====================================================================== 60 60 !! namcfg parameters of the configuration 61 !! namzgr vertical coordinate (default: NO selection)62 61 !! namdom space and time domain (bathymetry, mesh, timestep) 63 62 !! namwad Wetting and drying (default F) 64 63 !! namtsd data: temperature & salinity 65 !! namcrs coarsened grid (for outputs and/or TOP) ( "key_crs")64 !! namcrs coarsened grid (for outputs and/or TOP) (ln_crs =T) 66 65 !! namc1d 1D configuration options ("key_c1d") 67 66 !! namc1d_dyndmp 1D newtonian damping applied on currents ("key_c1d") … … 94 93 rn_atfp = 0.1 ! asselin time filter parameter 95 94 ! 96 ln_crs = .false. ! Logical switch for coarsening module 95 ln_crs = .false. ! Logical switch for coarsening module (T => fill namcrs) 97 96 / 98 97 !----------------------------------------------------------------------- … … 118 117 / 119 118 !----------------------------------------------------------------------- 120 &namcrs ! coarsened grid (for outputs and/or TOP) ( "key_crs")119 &namcrs ! coarsened grid (for outputs and/or TOP) (ln_crs =T) 121 120 !----------------------------------------------------------------------- 122 121 nn_factx = 3 ! Reduction factor of x-direction … … 606 605 !! nambfr bottom friction 607 606 !! nambbc bottom temperature boundary condition 608 !! nambbl bottom boundary layer scheme ( "key_trabbl")607 !! nambbl bottom boundary layer scheme (default: NO) 609 608 !!====================================================================== 610 609 ! … … 647 646 / 648 647 !----------------------------------------------------------------------- 649 &nambbl ! bottom boundary layer scheme ("key_trabbl") 650 !----------------------------------------------------------------------- 648 &nambbl ! bottom boundary layer scheme (default: NO) 649 !----------------------------------------------------------------------- 650 ln_trabbl = .false. ! Bottom Boundary Layer parameterisation flag 651 651 nn_bbl_ldf = 1 ! diffusive bbl (=1) or not (=0) 652 652 nn_bbl_adv = 0 ! advective bbl (=1/2) or not (=0) … … 901 901 ln_zdftmx = .false. ! tidal mixing parameterization (T => fill namzdf_tmx) 902 902 ! 903 ln_zdfqiao = .false. ! surface wave-induced mixing (Qiao et al. 2010) (T => ln_wave=ln_sdw=T. & fill namsbc_wave)903 ln_zdfqiao = .false. ! surface wave-induced mixing (T => ln_wave=ln_sdw=T ) 904 904 ! 905 905 ! ! time-stepping 906 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme907 nn_zdfexp= 3 ! number of sub-timestep for ln_zdfexp=T906 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 907 nn_zdfexp= 3 ! number of sub-timestep for ln_zdfexp=T 908 908 ! 909 909 ! ! coefficients … … 912 912 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 913 913 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 914 ! 915 / 916 !----------------------------------------------------------------------- 917 &namzdf_ric ! richardson number dependent vertical diffusion (ln_zdfric=T) 914 / 915 !----------------------------------------------------------------------- 916 &namzdf_ric ! richardson number dependent vertical diffusion (ln_zdfric =T) 918 917 !----------------------------------------------------------------------- 919 918 rn_avmri = 100.e-4 ! maximum value of the vertical viscosity … … 928 927 / 929 928 !----------------------------------------------------------------------- 930 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke =T)929 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke =T) 931 930 !----------------------------------------------------------------------- 932 931 rn_ediff = 0.1 ! coef. for vertical eddy coef. (avt=rn_ediff*mxl*sqrt(e) ) … … 956 955 / 957 956 !----------------------------------------------------------------------- 958 &namzdf_gls ! GLS vertical diffusion (ln_zdfgls )957 &namzdf_gls ! GLS vertical diffusion (ln_zdfgls =T) 959 958 !----------------------------------------------------------------------- 960 959 rn_emin = 1.e-7 ! minimum value of e [m2/s2] -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/ISOMIP/EXP00/namelist_cfg
r7715 r7954 326 326 / 327 327 !----------------------------------------------------------------------- 328 &namzdf ! vertical physics 329 !----------------------------------------------------------------------- 330 rn_avm0 = 1.0e-3 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 331 rn_avt0 = 5.0e-5 ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 332 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 333 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 334 ln_zdfevd = .true. ! enhanced vertical diffusion (evd) (T) or not (F) 335 nn_evdm = 1 ! evd apply on tracer (=0) or on tracer and momentum (=1) 336 rn_avevd = 0.1 ! evd mixing coefficient [m2/s] 337 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm (T) or not (F) 338 nn_npc = 1 ! frequency of application of npc 339 nn_npcp = 365 ! npc control print frequency 340 ln_zdfexp = .false. ! time-stepping: split-explicit (T) or implicit (F) time stepping 341 nn_zdfexp = 3 ! number of sub-timestep for ln_zdfexp=T 342 / 343 !----------------------------------------------------------------------- 344 &namzdf_ric ! richardson number dependent vertical diffusion ("key_zdfric" ) 345 !----------------------------------------------------------------------- 346 / 347 !----------------------------------------------------------------------- 348 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke") 349 !----------------------------------------------------------------------- 350 / 351 !----------------------------------------------------------------------- 352 &namzdf_gls ! GLS vertical diffusion ("key_zdfgls") 353 !----------------------------------------------------------------------- 354 / 355 !----------------------------------------------------------------------- 356 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm") 357 !----------------------------------------------------------------------- 358 / 359 !----------------------------------------------------------------------- 360 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 361 !----------------------------------------------------------------------- 362 ln_tmx_itf = .false. ! ITF specific parameterisation 328 &namzdf ! vertical physics (default: NO selection) 329 !----------------------------------------------------------------------- 330 ! ! type of vertical closure 331 ln_zdfcst = .true. ! constant mixing 332 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 333 ln_zdftke = .false. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 334 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 335 ! 336 ! ! convection 337 ln_zdfevd = .true. ! enhanced vertical diffusion 338 nn_evdm = 1 ! apply on tracer (=0) or on tracer and momentum (=1) 339 rn_evd = 0.1 ! mixing coefficient [m2/s] 340 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 341 nn_npc = 1 ! frequency of application of npc 342 nn_npcp = 365 ! npc control print frequency 343 ! 344 ln_zdfddm = .false. ! double diffusive mixing 345 ! 346 ln_zdftmx = .false. ! tidal mixing parameterization (T => fill namzdf_tmx) 347 ! 348 ln_zdfqiao = .false. ! surface wave-induced mixing (T => ln_wave=ln_sdw=T ) 349 ! 350 ! ! time-stepping 351 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 352 ! 353 ! ! coefficients 354 rn_avm0 = 1.e-3 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 355 rn_avt0 = 5.e-5 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 356 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 357 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 363 358 / 364 359 !----------------------------------------------------------------------- … … 380 375 / 381 376 !----------------------------------------------------------------------- 382 &namflo ! float parameters ("key_float")383 !-----------------------------------------------------------------------384 /385 !-----------------------------------------------------------------------386 &namptr ! Poleward Transport Diagnostic387 !-----------------------------------------------------------------------388 /389 !-----------------------------------------------------------------------390 377 &namhsb ! Heat and salt budgets 391 378 !----------------------------------------------------------------------- 392 379 / 393 380 !----------------------------------------------------------------------- 394 &namdct ! transports through sections 395 !----------------------------------------------------------------------- 396 / 397 !----------------------------------------------------------------------- 398 &namobs ! observation usage switch ('key_diaobs') 381 &namobs ! observation usage switch (ln_diaobs =T) 399 382 !----------------------------------------------------------------------- 400 383 / -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/ISOMIP/cpp_ISOMIP.fcm
r7715 r7954 1 bld::tool::fppkeys key_zdfcstkey_iomput key_mpp_mpi key_nosignedzero1 bld::tool::fppkeys key_iomput key_mpp_mpi key_nosignedzero -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_flux_cen2_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_flux_ubs_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_eenH_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_een_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_ene_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT2_vect_ens_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_flux_cen2_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_flux_ubs_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_eenH_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_een_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_ene_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_FCT4_vect_ens_cfg
r7640 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/EXP00/namelist_cfg
r7623 r7954 72 72 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 73 73 ! = 2 : nonlinear friction 74 /75 !-----------------------------------------------------------------------76 &nambbc ! bottom temperature boundary condition (default: NO)77 !-----------------------------------------------------------------------78 /79 !-----------------------------------------------------------------------80 &nambbl ! bottom boundary layer scheme ("key_trabbl")81 !-----------------------------------------------------------------------82 74 / 83 75 !----------------------------------------------------------------------- … … 197 189 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 198 190 / 199 !----------------------------------------------------------------------- 200 &namzdf ! vertical physics 201 !----------------------------------------------------------------------- 202 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 203 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 204 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 205 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 191 !!====================================================================== 192 !! vertical physics namelists !! 193 !!====================================================================== 194 !----------------------------------------------------------------------- 195 &namzdf ! vertical physics (default: NO selection) 196 !----------------------------------------------------------------------- 197 ! ! type of vertical closure 198 ln_zdfcst = .true. ! constant mixing 199 ! 200 ! ! convection 201 ln_zdfevd = .false. ! enhanced vertical diffusion 202 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 203 ! 204 ! ! time-stepping 205 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 206 ! 207 ! ! coefficients 208 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 209 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 210 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 211 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 206 212 / 207 213 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/LOCK_EXCHANGE/cpp_LOCK_EXCHANGE.fcm
r7423 r7954 1 bld::tool::fppkeys key_zdfcstkey_iomput key_mpp_mpi key_nosignedzero1 bld::tool::fppkeys key_iomput key_mpp_mpi key_nosignedzero -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_cfg
r7624 r7954 66 66 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 67 67 ! = 2 : nonlinear friction 68 /69 !-----------------------------------------------------------------------70 &nambbc ! bottom temperature boundary condition (default: NO)71 !-----------------------------------------------------------------------72 /73 !-----------------------------------------------------------------------74 &nambbl ! bottom boundary layer scheme ("key_trabbl")75 !-----------------------------------------------------------------------76 68 / 77 69 !----------------------------------------------------------------------- … … 191 183 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 192 184 / 193 !----------------------------------------------------------------------- 194 &namzdf ! vertical physics 195 !----------------------------------------------------------------------- 196 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 197 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 198 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 185 !!====================================================================== 186 !! vertical physics namelists !! 187 !!====================================================================== 188 !----------------------------------------------------------------------- 189 &namzdf ! vertical physics (default: NO selection) 190 !----------------------------------------------------------------------- 191 ! ! type of vertical closure 192 ln_zdfcst = .true. ! constant mixing 193 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 194 ln_zdftke = .false. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 195 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 196 ! 197 ! ! convection 198 ln_zdfevd = .false. ! enhanced vertical diffusion 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 200 ! 201 ! ! time-stepping 202 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 203 ! 204 ! ! coefficients 205 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 206 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 207 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 208 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 200 209 / 201 210 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_sco_FCT2_flux_ubs_cfg
r7640 r7954 66 66 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 67 67 ! = 2 : nonlinear friction 68 /69 !-----------------------------------------------------------------------70 &nambbc ! bottom temperature boundary condition (default: NO)71 !-----------------------------------------------------------------------72 /73 !-----------------------------------------------------------------------74 &nambbl ! bottom boundary layer scheme ("key_trabbl")75 !-----------------------------------------------------------------------76 68 / 77 69 !----------------------------------------------------------------------- … … 191 183 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 192 184 / 193 !----------------------------------------------------------------------- 194 &namzdf ! vertical physics 195 !----------------------------------------------------------------------- 196 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 197 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 198 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 185 !!====================================================================== 186 !! vertical physics namelists !! 187 !!====================================================================== 188 !----------------------------------------------------------------------- 189 &namzdf ! vertical physics (default: NO selection) 190 !----------------------------------------------------------------------- 191 ! ! type of vertical closure 192 ln_zdfcst = .false. ! constant mixing 193 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 194 ln_zdftke = .true. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 195 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 196 ! 197 ! ! convection 198 ln_zdfevd = .false. ! enhanced vertical diffusion 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 200 ! 201 ! ! time-stepping 202 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 203 ! 204 ! ! coefficients 205 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 206 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 207 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 208 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 200 209 / 201 210 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_zps_FCT2_flux_ubs_cfg
r7640 r7954 66 66 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 67 67 ! = 2 : nonlinear friction 68 /69 !-----------------------------------------------------------------------70 &nambbc ! bottom temperature boundary condition (default: NO)71 !-----------------------------------------------------------------------72 /73 !-----------------------------------------------------------------------74 &nambbl ! bottom boundary layer scheme ("key_trabbl")75 !-----------------------------------------------------------------------76 68 / 77 69 !----------------------------------------------------------------------- … … 191 183 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 192 184 / 193 !----------------------------------------------------------------------- 194 &namzdf ! vertical physics 195 !----------------------------------------------------------------------- 196 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 197 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 198 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 185 !!====================================================================== 186 !! vertical physics namelists !! 187 !!====================================================================== 188 !----------------------------------------------------------------------- 189 &namzdf ! vertical physics (default: NO selection) 190 !----------------------------------------------------------------------- 191 ! ! type of vertical closure 192 ln_zdfcst = .true. ! constant mixing 193 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 194 ln_zdftke = .false. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 195 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 196 ! 197 ! ! convection 198 ln_zdfevd = .false. ! enhanced vertical diffusion 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 200 ! 201 ! ! time-stepping 202 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 203 ! 204 ! ! coefficients 205 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 206 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 207 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 208 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 200 209 / 201 210 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_zps_FCT4_flux_ubs_cfg
r7640 r7954 66 66 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 67 67 ! = 2 : nonlinear friction 68 /69 !-----------------------------------------------------------------------70 &nambbc ! bottom temperature boundary condition (default: NO)71 !-----------------------------------------------------------------------72 /73 !-----------------------------------------------------------------------74 &nambbl ! bottom boundary layer scheme ("key_trabbl")75 !-----------------------------------------------------------------------76 68 / 77 69 !----------------------------------------------------------------------- … … 191 183 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 192 184 / 193 !----------------------------------------------------------------------- 194 &namzdf ! vertical physics 195 !----------------------------------------------------------------------- 196 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 197 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 198 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 185 !!====================================================================== 186 !! vertical physics namelists !! 187 !!====================================================================== 188 !----------------------------------------------------------------------- 189 &namzdf ! vertical physics (default: NO selection) 190 !----------------------------------------------------------------------- 191 ! ! type of vertical closure 192 ln_zdfcst = .true. ! constant mixing 193 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 194 ln_zdftke = .false. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 195 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 196 ! 197 ! ! convection 198 ln_zdfevd = .false. ! enhanced vertical diffusion 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 200 ! 201 ! ! time-stepping 202 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 203 ! 204 ! ! coefficients 205 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 206 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 207 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 208 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 200 209 / 201 210 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/EXP00/namelist_zps_FCT4_vect_een_cfg
r7640 r7954 66 66 nn_bfr = 0 ! type of bottom friction : = 0 : free slip, = 1 : linear friction 67 67 ! = 2 : nonlinear friction 68 /69 !-----------------------------------------------------------------------70 &nambbc ! bottom temperature boundary condition (default: NO)71 !-----------------------------------------------------------------------72 /73 !-----------------------------------------------------------------------74 &nambbl ! bottom boundary layer scheme ("key_trabbl")75 !-----------------------------------------------------------------------76 68 / 77 69 !----------------------------------------------------------------------- … … 191 183 rn_bhm_0 = 1.e+12 ! horizontal bilaplacian eddy viscosity [m4/s] 192 184 / 193 !----------------------------------------------------------------------- 194 &namzdf ! vertical physics 195 !----------------------------------------------------------------------- 196 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if not "key_zdfcst") 197 rn_avt0 = 0. ! vertical eddy diffusivity [m2/s] (background Kz if not "key_zdfcst") 198 ln_zdfevd = .false. ! enhanced vertical diffusion (evd) 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 185 !!====================================================================== 186 !! vertical physics namelists !! 187 !!====================================================================== 188 !----------------------------------------------------------------------- 189 &namzdf ! vertical physics (default: NO selection) 190 !----------------------------------------------------------------------- 191 ! ! type of vertical closure 192 ln_zdfcst = .true. ! constant mixing 193 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 194 ln_zdftke = .false. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 195 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 196 ! 197 ! ! convection 198 ln_zdfevd = .false. ! enhanced vertical diffusion 199 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 200 ! 201 ! ! time-stepping 202 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 203 ! 204 ! ! coefficients 205 rn_avm0 = 1.e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 206 rn_avt0 = 0.e0 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 207 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 208 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 200 209 / 201 210 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/OVERFLOW/cpp_OVERFLOW.fcm
r7423 r7954 1 bld::tool::fppkeys key_zdfcstkey_mpp_mpi key_iomput key_nosignedzero1 bld::tool::fppkeys key_mpp_mpi key_iomput key_nosignedzero -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/SAS_BIPER/EXP00/1_namelist_cfg
r7821 r7954 33 33 / 34 34 !----------------------------------------------------------------------- 35 &namcrs ! Grid coarsening for dynamics output and/or 36 ! passive tracer coarsened online simulations 35 &namcrs ! coarsened grid (for outputs and/or TOP) (ln_crs =T) 37 36 !----------------------------------------------------------------------- 38 37 / … … 141 140 &namtra_ldfeiv ! eddy induced velocity param. 142 141 !---------------------------------------------------------------------------------- 143 ln_ldfeiv =.true. ! use eddy induced velocity parameterization144 ln_ldfeiv_dia =.true. ! diagnose eiv stream function and velocities145 rn_aeiv_0 = 2000. ! eddy induced velocity coefficient [m2/s]146 nn_aei_ijk_t = 21 ! space/time variation of the eiv coeficient147 ! ! =-20 (=-30) read in eddy_induced_velocity_2D.nc (..._3D.nc) file148 ! ! = 0 constant149 ! ! = 10 F(k) =ldf_c1d150 ! ! = 20 F(i,j) =ldf_c2d151 ! ! = 21 F(i,j,t) =Treguier et al. JPO 1997 formulation152 ! ! = 30 F(i,j,k) =ldf_c2d + ldf_c1d153 142 / 154 143 !----------------------------------------------------------------------- … … 209 198 / 210 199 !----------------------------------------------------------------------- 211 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke")212 !-----------------------------------------------------------------------213 /214 !-----------------------------------------------------------------------215 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm")216 !-----------------------------------------------------------------------217 /218 !-----------------------------------------------------------------------219 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx")220 !-----------------------------------------------------------------------221 /222 !-----------------------------------------------------------------------223 200 &nammpp ! Massively Parallel Processing ("key_mpp_mpi) 224 201 !----------------------------------------------------------------------- -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/SAS_BIPER/EXP00/namelist_cfg
r7822 r7954 33 33 / 34 34 !----------------------------------------------------------------------- 35 &namcrs ! Grid coarsening for dynamics output and/or 36 ! passive tracer coarsened online simulations 35 &namcrs ! coarsened grid (for outputs and/or TOP) (ln_crs =T) 37 36 !----------------------------------------------------------------------- 38 37 / … … 210 209 / 211 210 !----------------------------------------------------------------------- 212 &namzdf ! vertical physics 213 !----------------------------------------------------------------------- 214 / 215 !----------------------------------------------------------------------- 216 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke") 217 !----------------------------------------------------------------------- 218 / 219 !----------------------------------------------------------------------- 220 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm") 221 !----------------------------------------------------------------------- 222 / 223 !----------------------------------------------------------------------- 224 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 225 !----------------------------------------------------------------------- 226 / 227 !----------------------------------------------------------------------- 228 &nammpp ! Massively Parallel Processing ("key_mpp_mpi) 211 &namzdf ! vertical physics (default: NO selection) 212 !----------------------------------------------------------------------- 213 ! ! type of vertical closure 214 ln_zdfcst = .true. ! constant mixing 215 / 216 !----------------------------------------------------------------------- 217 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke =T) 218 !----------------------------------------------------------------------- 219 / 220 !----------------------------------------------------------------------- 221 &namzdf_ddm ! double diffusive mixing parameterization (ln_zdfddm =T) 222 !----------------------------------------------------------------------- 223 / 224 !----------------------------------------------------------------------- 225 &namzdf_tmx ! tidal mixing parameterization (ln_zdftmx =T) 226 !----------------------------------------------------------------------- 227 / 228 !----------------------------------------------------------------------- 229 &nammpp ! Massively Parallel Processing ("key_mpp_mpi") 229 230 !----------------------------------------------------------------------- 230 231 / -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/WAD/EXP00/namelist_cfg
r7609 r7954 32 32 / 33 33 !----------------------------------------------------------------------- 34 &namzgr ! vertical coordinate35 !-----------------------------------------------------------------------36 ln_zps = .false. ! z-coordinate - partial steps37 ln_sco = .true. ! s-coordinate38 /39 !-----------------------------------------------------------------------40 34 &namdom ! space and time domain (bathymetry, mesh, timestep) 41 35 !----------------------------------------------------------------------- … … 46 40 / 47 41 !----------------------------------------------------------------------- 48 &namcrs ! Grid coarsening for dynamics output and/or 49 ! passive tracer coarsened online simulations 42 &namcrs ! coarsened grid (for outputs and/or TOP) (ln_crs =T) 50 43 !----------------------------------------------------------------------- 51 44 / … … 62 55 nn_fsbc = 1 ! frequency of surface boundary condition computation 63 56 ! ! (also = the frequency of sea-ice model call) 64 ln_usr = .true. ! analytical formulation (T => fill namsbc_ana)65 ln_blk = .false. ! CORE bulk formulation (T => fill namsbc_ core)57 ln_usr = .true. ! analytical formulation (T => check usrdef_sbc) 58 ln_blk = .false. ! CORE bulk formulation (T => fill namsbc_blk ) 66 59 nn_ice = 0 ! =0 no ice boundary condition , 67 ln_rnf = .false. ! runoffs (T => fill namsbc_rnf )68 ln_ssr = .false. ! Sea Surface Restoring on T and/or S (T => fill namsbc_ssr )60 ln_rnf = .false. ! runoffs (T => fill namsbc_rnf ) 61 ln_ssr = .false. ! Sea Surface Restoring on T and/or S (T => fill namsbc_ssr ) 69 62 nn_fwb = 0 ! FreshWater Budget: =0 unchecked 70 /71 !-----------------------------------------------------------------------72 &namsbc_ana ! analytical surface boundary condition73 !-----------------------------------------------------------------------74 nn_tau000 = 100 ! gently increase the stress over the first ntau_rst time-steps75 rn_utau0 = 0.0e0 ! uniform value for the i-stress76 /77 !-----------------------------------------------------------------------78 &namsbc_flx ! surface boundary condition : flux formulation79 !-----------------------------------------------------------------------80 /81 !-----------------------------------------------------------------------82 &namsbc_clio ! namsbc_clio CLIO bulk formulae83 !-----------------------------------------------------------------------84 /85 !-----------------------------------------------------------------------86 &namsbc_core ! namsbc_core CORE bulk formulae87 !-----------------------------------------------------------------------88 /89 !-----------------------------------------------------------------------90 &namsbc_mfs ! namsbc_mfs MFS bulk formulae91 !-----------------------------------------------------------------------92 63 / 93 64 !----------------------------------------------------------------------- … … 350 321 rn_bhm_0 = 0. ! horizontal bilaplacian eddy viscosity [m4/s] 351 322 / 352 !----------------------------------------------------------------------- 353 &namzdf ! vertical physics 354 !----------------------------------------------------------------------- 355 nn_evdm = 1 ! evd apply on tracer (=0) or on tracer and momentum (=1) 356 / 357 !----------------------------------------------------------------------- 358 &namzdf_ric ! richardson number dependent vertical diffusion ("key_zdfric" ) 359 !----------------------------------------------------------------------- 360 / 361 !----------------------------------------------------------------------- 362 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion ("key_zdftke") 323 !!====================================================================== 324 !! vertical physics namelists !! 325 !!====================================================================== 326 !! namzdf vertical physics 327 !! namzdf_ric richardson number vertical mixing (ln_zdfric=T) 328 !! namzdf_tke TKE vertical mixing (ln_zdftke=T) 329 !! namzdf_gls GLS vertical mixing (ln_zdfgls=T) 330 !! namzdf_tmx tidal mixing parameterization (ln_zdftmx=T) 331 !!====================================================================== 332 !----------------------------------------------------------------------- 333 &namzdf ! vertical physics (default: NO selection) 334 !----------------------------------------------------------------------- 335 ! ! type of vertical closure 336 ln_zdfcst = .false. ! constant mixing 337 ln_zdfric = .false. ! local Richardson dependent formulation (T => fill namzdf_ric) 338 ln_zdftke = .true. ! Turbulent Kinetic Energy closure (T => fill namzdf_tke) 339 ln_zdfgls = .false. ! Generic Length Scale closure (T => fill namzdf_gls) 340 ! 341 ! ! convection 342 ln_zdfevd = .true. ! enhanced vertical diffusion 343 nn_evdm = 1 ! apply on tracer (=0) or on tracer and momentum (=1) 344 rn_evd = 100. ! mixing coefficient [m2/s] 345 ln_zdfnpc = .false. ! Non-Penetrative Convective algorithm 346 nn_npc = 1 ! frequency of application of npc 347 nn_npcp = 365 ! npc control print frequency 348 ! 349 ln_zdfddm = .false. ! double diffusive mixing 350 rn_avts = 1.e-4 ! maximum avs (vertical mixing on salinity) 351 rn_hsbfr = 1.6 ! heat/salt buoyancy flux ratio 352 ! 353 ln_zdftmx = .false. ! tidal mixing parameterization (T => fill namzdf_tmx) 354 ! 355 ln_zdfqiao = .false. ! surface wave-induced mixing (Qiao et al. 2010) (T => ln_wave=ln_sdw=T. & fill namsbc_wave) 356 ! 357 ! ! time-stepping 358 ln_zdfexp = .false. ! split-explicit (T) or implicit (F) scheme 359 ! 360 ! ! coefficients 361 rn_avm0 = 1.2e-4 ! vertical eddy viscosity [m2/s] (background Kz if ln_zdfcst=F) 362 rn_avt0 = 1.2e-5 ! vertical eddy diffusivity [m2/s] (background Kz if ln_zdfcst=F) 363 nn_avb = 0 ! profile for background avt & avm (=1) or not (=0) 364 nn_havtb = 0 ! horizontal shape for avtb (=1) or not (=0) 365 / 366 !----------------------------------------------------------------------- 367 &namzdf_tke ! turbulent eddy kinetic dependent vertical diffusion (ln_zdftke =T) 363 368 !----------------------------------------------------------------------- 364 369 nn_etau = 0 ! penetration of tke below the mixed layer (ML) due to internal & intertial waves 365 370 / 366 !----------------------------------------------------------------------- 367 &namzdf_gls ! GLS vertical diffusion ("key_zdfgls") 368 !----------------------------------------------------------------------- 369 / 370 !----------------------------------------------------------------------- 371 &namzdf_ddm ! double diffusive mixing parameterization ("key_zdfddm") 372 !----------------------------------------------------------------------- 373 / 374 !----------------------------------------------------------------------- 375 &namzdf_tmx ! tidal mixing parameterization ("key_zdftmx") 376 !----------------------------------------------------------------------- 377 ln_tmx_itf = .false. ! ITF specific parameterisation 378 / 371 372 !!====================================================================== 373 !! *** Miscellaneous namelists *** 374 !!====================================================================== 379 375 !----------------------------------------------------------------------- 380 376 &nammpp ! Massively Parallel Processing ("key_mpp_mpi) … … 411 407 !!gm 412 408 !----------------------------------------------------------------------- 413 &namflo ! float parameters ("key_float")414 !-----------------------------------------------------------------------415 /416 !-----------------------------------------------------------------------417 &namptr ! Poleward Transport Diagnostic418 !-----------------------------------------------------------------------419 /420 !-----------------------------------------------------------------------421 409 &namhsb ! Heat and salt budgets 422 410 !----------------------------------------------------------------------- … … 430 418 / 431 419 !----------------------------------------------------------------------- 432 &namobs ! observation usage switch ('key_diaobs')420 &namobs ! observation usage switch 433 421 !----------------------------------------------------------------------- 434 422 / -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/TEST_CASES/WAD/cpp_WAD.fcm
r7645 r7954 1 bld::tool::fppkeys key_zdftkekey_iomput key_mpp_mpi key_nosignedzero1 bld::tool::fppkeys key_iomput key_mpp_mpi key_nosignedzero -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/CONFIG/cfg.txt
r7953 r7954 5 5 ORCA2_OFF_PISCES OPA_SRC OFF_SRC TOP_SRC 6 6 ORCA2_OFF_TRC OPA_SRC OFF_SRC TOP_SRC 7 GYRE_PISCES OPA_SRC TOP_SRC8 7 ORCA2_LIM3_PISCES OPA_SRC LIM_SRC_3 TOP_SRC NST_SRC 9 8 GYRE_PISCES_XIOS OPA_SRC TOP_SRC 9 GYRE_PISCES OPA_SRC TOP_SRC -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OFF_SRC/dtadyn.F90
r7646 r7954 167 167 CALL zdf_mxl( kt ) ! In any case, we need mxl 168 168 ! 169 hmld(:,:) 170 avt(:,:,:) 171 ! 172 #if defined key_trabbl && ! defined key_c1d 173 ahu_bbl(:,:)= sf_dyn(jf_ubl)%fnow(:,:,1) * umask(:,:,1) ! bbl diffusive coef174 ahv_bbl(:,:)= sf_dyn(jf_vbl)%fnow(:,:,1) * vmask(:,:,1)175 #endif 169 hmld(:,:) = sf_dyn(jf_mld)%fnow(:,:,1) * tmask(:,:,1) ! mixed layer depht 170 avt(:,:,:) = sf_dyn(jf_avt)%fnow(:,:,:) * tmask(:,:,:) ! vertical diffusive coefficient 171 ! 172 IF( ln_trabbl .AND. .NOT.lk_c1d ) THEN ! diffusive Bottom boundary layer param 173 ahu_bbl(:,:) = sf_dyn(jf_ubl)%fnow(:,:,1) * umask(:,:,1) ! bbl diffusive coef 174 ahv_bbl(:,:) = sf_dyn(jf_vbl)%fnow(:,:,1) * vmask(:,:,1) 175 ENDIF 176 176 ! 177 177 ! … … 275 275 ENDIF 276 276 ! 277 IF( l k_trabbl ) THEN277 IF( ln_trabbl ) THEN 278 278 jf_ubl = jfld + 1 ; jf_vbl = jfld + 2 ; jfld = jf_vbl 279 279 slf_d(jf_ubl) = sn_ubl ; slf_d(jf_vbl) = sn_vbl -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OFF_SRC/nemogcm.F90
r7953 r7954 315 315 316 316 CALL tra_qsr_init ! penetrative solar radiation qsr 317 IF( l k_trabbl ) CALL tra_bbl_init ! advective (and/or diffusive) bottom boundary layer scheme317 IF( ln_trabbl ) CALL tra_bbl_init ! advective (and/or diffusive) bottom boundary layer scheme 318 318 319 319 CALL trc_nam_run ! Needed to get restart parameters for passive tracers -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/TRA/trabbl.F90
r7753 r7954 13 13 !! - ! 2010-11 (G. Madec) add mbk. arrays associated to the deepest ocean level 14 14 !! - ! 2013-04 (F. Roquet, G. Madec) use of eosbn2 instead of local hard coded alpha and beta 15 !! 4.0 ! 2017-04 (G. Madec) ln_trabbl namelist variable instead of a CPP key 15 16 !!---------------------------------------------------------------------- 16 #if defined key_trabbl 17 !!---------------------------------------------------------------------- 18 !! 'key_trabbl' or bottom boundary layer 17 19 18 !!---------------------------------------------------------------------- 20 19 !! tra_bbl_alloc : allocate trabbl arrays … … 49 48 PUBLIC bbl ! routine called by trcbbl.F90 and dtadyn.F90 50 49 51 LOGICAL, PUBLIC, PARAMETER :: lk_trabbl = .TRUE. !: bottom boundary layer flag52 53 50 ! !!* Namelist nambbl * 51 LOGICAL , PUBLIC :: ln_trabbl !: bottom boundary layer flag 54 52 INTEGER , PUBLIC :: nn_bbl_ldf !: =1 : diffusive bbl or not (=0) 55 53 INTEGER , PUBLIC :: nn_bbl_adv !: =1/2 : advective bbl or not (=0) … … 82 80 !! *** FUNCTION tra_bbl_alloc *** 83 81 !!---------------------------------------------------------------------- 84 ALLOCATE( utr_bbl (jpi,jpj) , ahu_bbl (jpi,jpj) , mbku_d 85 & vtr_bbl (jpi,jpj) , ahv_bbl (jpi,jpj) , mbkv_d 86 & ahu_bbl_0(jpi,jpj) , ahv_bbl_0(jpi,jpj) , 87 & e3u_bbl_0(jpi,jpj) , e3v_bbl_0(jpi,jpj) , 82 ALLOCATE( utr_bbl (jpi,jpj) , ahu_bbl (jpi,jpj) , mbku_d(jpi,jpj) , mgrhu(jpi,jpj) , & 83 & vtr_bbl (jpi,jpj) , ahv_bbl (jpi,jpj) , mbkv_d(jpi,jpj) , mgrhv(jpi,jpj) , & 84 & ahu_bbl_0(jpi,jpj) , ahv_bbl_0(jpi,jpj) , & 85 & e3u_bbl_0(jpi,jpj) , e3v_bbl_0(jpi,jpj) , STAT=tra_bbl_alloc ) 88 86 ! 89 87 IF( lk_mpp ) CALL mpp_sum ( tra_bbl_alloc ) … … 111 109 IF( nn_timing == 1 ) CALL timing_start( 'tra_bbl') 112 110 ! 113 IF( l_trdtra ) THEN !* Save the input trends111 IF( l_trdtra ) THEN !* Save the T-S input trends 114 112 CALL wrk_alloc( jpi, jpj, jpk, ztrdt, ztrds ) 115 113 ztrdt(:,:,:) = tsa(:,:,:,jp_tem) … … 301 299 ! 302 300 END DO 303 ! ! =========== 304 END DO ! end tracer 305 ! ! =========== 301 ! ! =========== 302 END DO ! end tracer 303 ! ! =========== 304 ! 306 305 IF( nn_timing == 1 ) CALL timing_stop( 'tra_bbl_adv') 307 306 ! … … 498 497 INTEGER :: ios ! - - 499 498 REAL(wp), POINTER, DIMENSION(:,:) :: zmbk 500 ! 501 NAMELIST/nambbl/ nn_bbl_ldf, nn_bbl_adv, rn_ahtbbl, rn_gambbl499 !! 500 NAMELIST/nambbl/ ln_trabbl, nn_bbl_ldf, nn_bbl_adv, rn_ahtbbl, rn_gambbl 502 501 !!---------------------------------------------------------------------- 503 502 ! … … 519 518 WRITE(numout,*) 'tra_bbl_init : bottom boundary layer initialisation' 520 519 WRITE(numout,*) '~~~~~~~~~~~~' 521 WRITE(numout,*) ' Namelist nambbl : set bbl parameters' 522 WRITE(numout,*) ' diffusive bbl (=1) or not (=0) nn_bbl_ldf = ', nn_bbl_ldf 523 WRITE(numout,*) ' advective bbl (=1/2) or not (=0) nn_bbl_adv = ', nn_bbl_adv 524 WRITE(numout,*) ' diffusive bbl coefficient rn_ahtbbl = ', rn_ahtbbl, ' m2/s' 525 WRITE(numout,*) ' advective bbl coefficient rn_gambbl = ', rn_gambbl, ' s' 526 ENDIF 527 520 WRITE(numout,*) ' Namelist nambbl : set bbl parameters' 521 WRITE(numout,*) ' bottom boundary layer flag ln_trabbl = ', ln_trabbl 522 ENDIF 523 IF( .NOT.ln_trabbl ) RETURN 524 ! 525 IF(lwp) THEN 526 WRITE(numout,*) ' diffusive bbl (=1) or not (=0) nn_bbl_ldf = ', nn_bbl_ldf 527 WRITE(numout,*) ' advective bbl (=1/2) or not (=0) nn_bbl_adv = ', nn_bbl_adv 528 WRITE(numout,*) ' diffusive bbl coefficient rn_ahtbbl = ', rn_ahtbbl, ' m2/s' 529 WRITE(numout,*) ' advective bbl coefficient rn_gambbl = ', rn_gambbl, ' s' 530 ENDIF 531 ! 528 532 ! ! allocate trabbl arrays 529 533 IF( tra_bbl_alloc() /= 0 ) CALL ctl_stop( 'STOP', 'tra_bbl_init : unable to allocate arrays' ) 530 534 ! 531 535 IF( nn_bbl_adv == 1 ) WRITE(numout,*) ' * Advective BBL using upper velocity' 532 536 IF( nn_bbl_adv == 2 ) WRITE(numout,*) ' * Advective BBL using velocity = F( delta rho)' 533 537 ! 534 538 ! !* vertical index of "deep" bottom u- and v-points 535 539 DO jj = 1, jpjm1 ! (the "shelf" bottom k-indices are mbku and mbkv) … … 544 548 zmbk(:,:) = REAL( mbkv_d(:,:), wp ) ; CALL lbc_lnk(zmbk,'V',1.) ; mbkv_d(:,:) = MAX( INT( zmbk(:,:) ), 1 ) 545 549 CALL wrk_dealloc( jpi, jpj, zmbk ) 546 550 ! 547 551 ! !* sign of grad(H) at u- and v-points 548 552 mgrhu(jpi,:) = 0 ; mgrhu(:,jpj) = 0 ; mgrhv(jpi,:) = 0 ; mgrhv(:,jpj) = 0 … … 565 569 ahu_bbl_0(:,:) = rn_ahtbbl * e2_e1u(:,:) * e3u_bbl_0(:,:) * umask(:,:,1) 566 570 ahv_bbl_0(:,:) = rn_ahtbbl * e1_e2v(:,:) * e3v_bbl_0(:,:) * vmask(:,:,1) 567 568 571 ! 569 572 IF( nn_timing == 1 ) CALL timing_stop( 'tra_bbl_init') 570 573 ! 571 574 END SUBROUTINE tra_bbl_init 572 573 #else574 !!----------------------------------------------------------------------575 !! Dummy module : No bottom boundary layer scheme576 !!----------------------------------------------------------------------577 LOGICAL, PUBLIC, PARAMETER :: lk_trabbl = .FALSE. !: bbl flag578 CONTAINS579 SUBROUTINE tra_bbl_init ! Dummy routine580 END SUBROUTINE tra_bbl_init581 SUBROUTINE tra_bbl( kt ) ! Dummy routine582 WRITE(*,*) 'tra_bbl: You should not have seen this print! error?', kt583 END SUBROUTINE tra_bbl584 #endif585 575 586 576 !!====================================================================== -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/TRA/trazdf.F90
r7953 r7954 43 43 # include "vectopt_loop_substitute.h90" 44 44 !!---------------------------------------------------------------------- 45 !! NEMO/OPA 3.7 , NEMO Consortium (2015)45 !! NEMO/OPA 4.0 , NEMO Consortium (2017) 46 46 !! $Id$ 47 47 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 64 64 ! 65 65 IF( neuler == 0 .AND. kt == nit000 ) THEN ! at nit000 66 r2dt = rdt ! = rdt (restarting with Euler time stepping)66 r2dt = rdt ! = rdt (restarting with Euler time stepping) 67 67 ELSEIF( kt <= nit000 + 1) THEN ! at nit000 or nit000+1 68 r2dt = 2. * rdt ! = 2 rdt (leapfrog)68 r2dt = 2. * rdt ! = 2 rdt (leapfrog) 69 69 ENDIF 70 70 ! … … 120 120 !! an implicit scheme is required. 121 121 !!---------------------------------------------------------------------- 122 USE zdftke123 USE zdfgls124 !!----------------------------------------------------------------------125 122 ! 126 123 ! Choice from ln_zdfexp (namzdf namelist variable read in zdfphy module) … … 129 126 ENDIF 130 127 ! 131 ! Force implicit schemes 132 IF( ln_zdftke .OR. ln_zdfgls ) nzdf = 1 ! TKE, or GLS physics128 ! Force implicit schemes when absolutely needed 129 IF( .NOT.ln_zdfcst ) nzdf = 1 ! turbulent closure schemes 133 130 IF( ln_traldf_iso ) nzdf = 1 ! iso-neutral lateral physics 134 131 IF( ln_traldf_hor .AND. ln_sco ) nzdf = 1 ! horizontal lateral physics in s-coordinate 135 IF( ln_zdfexp .AND. nzdf == 1 ) CALL ctl_stop( 'tra_zdf : If using the rotation of lateral mixing operator', & 136 & ' GLS or TKE scheme, the implicit scheme is required, set ln_zdfexp = .false.' ) 137 ! 132 ! 138 133 IF(lwp) THEN 139 134 WRITE(numout,*) -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/nemogcm.F90
r7953 r7954 467 467 CALL tra_qsr_init ! penetrative solar radiation qsr 468 468 CALL tra_bbc_init ! bottom heat flux 469 IF( l k_trabbl ) CALL tra_bbl_init ! advective (and/or diffusive) bottom boundary layer scheme469 IF( ln_trabbl ) CALL tra_bbl_init ! advective (and/or diffusive) bottom boundary layer scheme 470 470 CALL tra_dmp_init ! internal tracer damping 471 471 CALL tra_adv_init ! horizontal & vertical advection -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/OPA_SRC/step.F90
r7953 r7954 232 232 IF( ln_traqsr ) CALL tra_qsr ( kstp ) ! penetrative solar radiation qsr 233 233 IF( ln_trabbc ) CALL tra_bbc ( kstp ) ! bottom heat flux 234 IF( l k_trabbl ) CALL tra_bbl ( kstp ) ! advective (and/or diffusive) bottom boundary layer scheme234 IF( ln_trabbl ) CALL tra_bbl ( kstp ) ! advective (and/or diffusive) bottom boundary layer scheme 235 235 IF( ln_tradmp ) CALL tra_dmp ( kstp ) ! internal damping trends 236 236 IF( ln_bdy ) CALL bdy_tra_dmp ( kstp ) ! bdy damping trends -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/TOP_SRC/TRP/trcbbl.F90
r7753 r7954 5 5 !! layer scheme 6 6 !!====================================================================== 7 !!==============================================================================8 7 !! History : OPA ! 1996-06 (L. Mortier) Original code 9 8 !! 8.0 ! 1997-11 (G. Madec) Optimization … … 13 12 !! - ! 2010-04 (G. Madec) Campin & Goosse advective bbl 14 13 !! - ! 2010-06 (C. Ethe, G. Madec) merge TRA-TRC 14 !! 4.0 ! 2017-04 (G. Madec) ln_trabbl namelist variable instead of a CPP key 15 15 !!---------------------------------------------------------------------- 16 #if defined key_top && defined key_trabbl16 #if defined key_top 17 17 !!---------------------------------------------------------------------- 18 !! 'key_t rabbl diffusive or/and adevective bottom boundary layer18 !! 'key_top' TOP models 19 19 !!---------------------------------------------------------------------- 20 !! trc_bbl 20 !! trc_bbl : update the tracer trends due to the bottom boundary layer (advective and/or diffusive) 21 21 !!---------------------------------------------------------------------- 22 USE oce_trc 23 USE trc 24 USE tr abbl !25 USE prtctl_trc ! Print control for debbuging26 USE tr d_oce27 USE trdtra22 USE oce_trc ! ocean dynamics and active tracers variables 23 USE trc ! ocean passive tracers variables 24 USE trd_oce ! trends: ocean variables 25 USE trdtra ! tracer trends 26 USE trabbl ! bottom boundary layer 27 USE prtctl_trc ! Print control for debbuging 28 28 29 PUBLIC trc_bbl ! routine called by step.F9029 PUBLIC trc_bbl ! routine called by trctrp.F90 30 30 31 31 !!---------------------------------------------------------------------- 32 !! NEMO/TOP 3.3 , NEMO Consortium (2010)32 !! NEMO/TOP 4.0 , NEMO Consortium (2017) 33 33 !! $Id$ 34 34 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) 35 35 !!---------------------------------------------------------------------- 36 37 36 CONTAINS 38 39 37 40 38 SUBROUTINE trc_bbl( kt ) … … 98 96 END SUBROUTINE trc_bbl 99 97 100 #else101 !!----------------------------------------------------------------------102 !! Dummy module : No bottom boundary layer scheme103 !!----------------------------------------------------------------------104 CONTAINS105 SUBROUTINE trc_bbl( kt ) ! Empty routine106 WRITE(*,*) 'tra_bbl: You should not have seen this print! error?', kt107 END SUBROUTINE trc_bbl108 98 #endif 109 99 -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/TOP_SRC/TRP/trctrp.F90
r7646 r7954 15 15 USE oce_trc ! ocean dynamics and active tracers variables 16 16 USE trc ! ocean passive tracers variables 17 USE trabbl ! bottom boundary layer (trc_bbl routine)18 17 USE trcbbl ! bottom boundary layer (trc_bbl routine) 19 18 USE trcdmp ! internal damping (trc_dmp routine) … … 63 62 ! 64 63 CALL trc_sbc ( kt ) ! surface boundary condition 65 IF( l k_trabbl ) CALL trc_bbl ( kt ) ! advective (and/or diffusive) bottom boundary layer scheme64 IF( ln_trabbl ) CALL trc_bbl ( kt ) ! advective (and/or diffusive) bottom boundary layer scheme 66 65 IF( ln_trcdmp ) CALL trc_dmp ( kt ) ! internal damping trends 67 66 IF( ln_bdy ) CALL trc_bdy_dmp( kt ) ! BDY damping trends -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/TOP_SRC/trc.F90
r7953 r7954 17 17 PUBLIC trc_alloc ! called by nemogcm.F90 18 18 19 !! parameters for the control of passive tracers 20 !! --------------------------------------------- 21 INTEGER, PUBLIC :: numnat_ref = -1 !: logical unit for the reference passive tracer namelist_top_ref 22 INTEGER, PUBLIC :: numnat_cfg = -1 !: logical unit for the reference passive tracer namelist_top_cfg 23 INTEGER, PUBLIC :: numont = -1 !: logical unit for the reference passive tracer namelist output output.namelist.top 24 INTEGER, PUBLIC :: numtrc_ref = -1 !: logical unit for the reference passive tracer namelist_top_ref 25 INTEGER, PUBLIC :: numtrc_cfg = -1 !: logical unit for the reference passive tracer namelist_top_cfg 26 INTEGER, PUBLIC :: numonr = -1 !: logical unit for the reference passive tracer namelist output output.namelist.top 27 INTEGER, PUBLIC :: numstr !: logical unit for tracer statistics 28 INTEGER, PUBLIC :: numrtr !: logical unit for trc restart (read ) 29 INTEGER, PUBLIC :: numrtw !: logical unit for trc restart ( write ) 19 ! !!- logical units of passive tracers 20 INTEGER, PUBLIC :: numnat_ref = -1 !: reference passive tracer namelist_top_ref 21 INTEGER, PUBLIC :: numnat_cfg = -1 !: reference passive tracer namelist_top_cfg 22 INTEGER, PUBLIC :: numont = -1 !: reference passive tracer namelist output output.namelist.top 23 INTEGER, PUBLIC :: numtrc_ref = -1 !: reference passive tracer namelist_top_ref 24 INTEGER, PUBLIC :: numtrc_cfg = -1 !: reference passive tracer namelist_top_cfg 25 INTEGER, PUBLIC :: numonr = -1 !: reference passive tracer namelist output output.namelist.top 26 INTEGER, PUBLIC :: numstr !: tracer statistics 27 INTEGER, PUBLIC :: numrtr !: trc restart (read ) 28 INTEGER, PUBLIC :: numrtw !: trc restart ( write ) 30 29 31 30 !! passive tracers fields (before,now,after) 32 31 !! -------------------------------------------------- 33 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) 34 REAL(wp), PUBLIC 35 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) 36 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) 37 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) 38 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) 39 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) 40 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) 32 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: trai !: initial total tracer 33 REAL(wp), PUBLIC :: areatot !: total volume 34 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) :: cvol !: volume correction -degrad option- 35 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: trn !: tracer concentration for now time step 36 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: tra !: tracer concentration for next time step 37 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: trb !: tracer concentration for before time step 38 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) :: sbc_trc_b !: Before sbc fluxes for tracers 39 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) :: sbc_trc !: Now sbc fluxes for tracers 41 40 42 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) 43 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) 44 INTEGER , PUBLIC 41 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) :: trc_i !: prescribed tracer concentration in sea ice for SBC 42 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,: ) :: trc_o !: prescribed tracer concentration in ocean for SBC 43 INTEGER , PUBLIC :: nn_ice_tr !: handling of sea ice tracers 45 44 46 45 !! interpolated gradient 47 46 !!-------------------------------------------------- 48 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) 49 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) 50 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) 51 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) 52 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) 47 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: gtru !: hor. gradient at u-points at bottom ocean level 48 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: gtrv !: hor. gradient at v-points at bottom ocean level 49 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: gtrui !: hor. gradient at u-points at top ocean level 50 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: gtrvi !: hor. gradient at v-points at top ocean level 51 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: qsr_mean !: daily mean qsr 53 52 54 53 !! passive tracers (input and output) 55 54 !! ------------------------------------------ 56 LOGICAL , PUBLIC :: ln_rsttr!: boolean term for restart i/o for passive tracers (namelist)57 LOGICAL , PUBLIC :: lrst_trc!: logical to control the trc restart write58 INTEGER , PUBLIC :: nn_writetrc!: time step frequency for concentration outputs (namelist)59 INTEGER , PUBLIC :: nutwrs!: output FILE for passive tracers restart60 INTEGER , PUBLIC :: nutrst!: logical unit for restart FILE for passive tracers61 INTEGER , PUBLIC :: nn_rsttr!: control of the time step ( 0 or 1 ) for pass. tr.62 CHARACTER(len = 80) , PUBLIC :: cn_trcrst_in!: suffix of pass. tracer restart name (input)63 CHARACTER(len = 256), PUBLIC :: cn_trcrst_indir!: restart input directory64 CHARACTER(len = 80) , PUBLIC :: cn_trcrst_out!: suffix of pass. tracer restart name (output)65 CHARACTER(len = 256), PUBLIC :: cn_trcrst_outdir!: restart output directory66 REAL(wp) , PUBLIC :: rdttrc!: passive tracer time step67 REAL(wp) , PUBLIC :: r2dttrc!: = 2*rdttrc except at nit000 (=rdttrc) if neuler=068 LOGICAL , PUBLIC :: ln_top_euler!: boolean term for euler integration69 LOGICAL , PUBLIC :: ln_trcdta!: Read inputs data from files70 LOGICAL , PUBLIC :: ln_trcdmp!: internal damping flag71 LOGICAL , PUBLIC :: ln_trcdmp_clo!: internal damping flag on closed seas72 INTEGER , PUBLIC :: nittrc000!: first time step of passive tracers model73 LOGICAL , PUBLIC :: l_trcdm2dc!: Diurnal cycle for TOP55 LOGICAL , PUBLIC :: ln_rsttr !: boolean term for restart i/o for passive tracers (namelist) 56 LOGICAL , PUBLIC :: lrst_trc !: logical to control the trc restart write 57 INTEGER , PUBLIC :: nn_writetrc !: time step frequency for concentration outputs (namelist) 58 INTEGER , PUBLIC :: nutwrs !: output FILE for passive tracers restart 59 INTEGER , PUBLIC :: nutrst !: logical unit for restart FILE for passive tracers 60 INTEGER , PUBLIC :: nn_rsttr !: control of the time step ( 0 or 1 ) for pass. tr. 61 CHARACTER(len = 80) , PUBLIC :: cn_trcrst_in !: suffix of pass. tracer restart name (input) 62 CHARACTER(len = 256), PUBLIC :: cn_trcrst_indir !: restart input directory 63 CHARACTER(len = 80) , PUBLIC :: cn_trcrst_out !: suffix of pass. tracer restart name (output) 64 CHARACTER(len = 256), PUBLIC :: cn_trcrst_outdir !: restart output directory 65 REAL(wp) , PUBLIC :: rdttrc !: passive tracer time step 66 REAL(wp) , PUBLIC :: r2dttrc !: = 2*rdttrc except at nit000 (=rdttrc) if neuler=0 67 LOGICAL , PUBLIC :: ln_top_euler !: boolean term for euler integration 68 LOGICAL , PUBLIC :: ln_trcdta !: Read inputs data from files 69 LOGICAL , PUBLIC :: ln_trcdmp !: internal damping flag 70 LOGICAL , PUBLIC :: ln_trcdmp_clo !: internal damping flag on closed seas 71 INTEGER , PUBLIC :: nittrc000 !: first time step of passive tracers model 72 LOGICAL , PUBLIC :: l_trcdm2dc !: Diurnal cycle for TOP 74 73 75 74 !! Information for the ice module for tracers … … 80 79 CHARACTER(len=2) :: ctrc_o ! choice of ocean trc cc 81 80 END TYPE 82 83 REAL(wp) , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: trc_ice_ratio !ice-ocean tracer ratio84 REAL(wp) , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: trc_ice_prescr !prescribed ice trc cc85 CHARACTER(len=2), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: cn_trc_o !choice of ocean tracer cc81 ! 82 REAL(wp) , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: trc_ice_ratio !: ice-ocean tracer ratio 83 REAL(wp) , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: trc_ice_prescr !: prescribed ice trc cc 84 CHARACTER(len=2), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: cn_trc_o !: choice of ocean tracer cc 86 85 87 86 88 87 !! information for outputs 89 88 !! -------------------------------------------------- 90 TYPE, PUBLIC :: PTRACER 89 TYPE, PUBLIC :: PTRACER !: Passive tracer type 91 90 CHARACTER(len = 20) :: clsname !: short name 92 91 CHARACTER(len = 80) :: cllname !: long name … … 97 96 LOGICAL :: llobc !: read in a file or not 98 97 END TYPE PTRACER 99 100 CHARACTER(len = 20), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ctrcnm 101 CHARACTER(len = 80), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ctrcln 102 CHARACTER(len = 20), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ctrcun 103 104 TYPE, PUBLIC :: DIAG 98 ! 99 CHARACTER(len = 20), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ctrcnm !: tracer name 100 CHARACTER(len = 80), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ctrcln !: trccer field long name 101 CHARACTER(len = 20), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ctrcun !: tracer unit 102 ! 103 TYPE, PUBLIC :: DIAG !: passive trcacer ddditional diagnostic type 105 104 CHARACTER(len = 20) :: sname !: short name 106 105 CHARACTER(len = 80) :: lname !: long name 107 106 CHARACTER(len = 20) :: units !: unit 108 107 END TYPE DIAG 109 108 ! 110 109 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: trc3d !: 3D diagnostics for tracers 111 110 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: trc2d !: 2D diagnostics for tracers … … 113 112 !! information for inputs 114 113 !! -------------------------------------------------- 115 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_ini !: Initialisation from data input file116 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_obc !: Use open boundary condition data117 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_sbc !: Use surface boundary condition data118 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_cbc !: Use coastal boundary condition data119 LOGICAL , PUBLIC :: ln_rnf_ctl !: remove runoff dilution on tracers120 REAL(wp), PUBLIC :: rn_bc_time !: Time scaling factor for SBC and CBC data (seconds in a day)114 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_ini !: Initialisation from data input file 115 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_obc !: Use open boundary condition data 116 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_sbc !: Use surface boundary condition data 117 LOGICAL , PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:) :: ln_trc_cbc !: Use coastal boundary condition data 118 LOGICAL , PUBLIC :: ln_rnf_ctl !: remove runoff dilution on tracers 119 REAL(wp), PUBLIC :: rn_bc_time !: Time scaling factor for SBC and CBC data (seconds in a day) 121 120 122 123 !! variables to average over physics over passive tracer sub-steps.124 !! ----------------------------------------------------------------125 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: un_tm !: i-horizontal velocity average [m/s]126 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: vn_tm !: j-horizontal velocity average [m/s]127 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: tsn_tm !: t/s average [m/s]128 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: avs_tm !: vertical diffusivity coeff. at w-point [m2/s]129 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: rhop_tm !:130 #if defined key_trabbl131 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ahu_bbl_tm !: u-, w-points132 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ahv_bbl_tm !: j-direction slope at u-, w-points133 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: utr_bbl_tm !: j-direction slope at u-, w-points134 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: vtr_bbl_tm !: j-direction slope at u-, w-points135 #endif136 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshn_tm !: average ssh for the now step [m]137 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshb_hold !:hold sshb from the beginning of each sub-stepping[m]138 139 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: rnf_tm !: river runoff140 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: h_rnf_tm !: depth in metres to the bottom of the relevant grid box141 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hmld_tm !: mixed layer depth average [m]142 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: fr_i_tm !: average ice fraction [m/s]143 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: emp_tm !: freshwater budget: volume flux [Kg/m2/s]144 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: fmmflx_tm !: freshwater budget: freezing/melting [Kg/m2/s]145 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: emp_b_hold !: hold emp from the beginning of each sub-stepping[m]146 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: qsr_tm !: solar radiation average [m]147 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: wndm_tm !: 10m wind average [m]148 !149 150 ! Temporary physical arrays for sub_stepping151 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: tsn_temp152 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: un_temp,vn_temp,wn_temp !: hold current values of avt, un, vn, wn153 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: avs_temp, rhop_temp !: hold current values of avt, un, vn, wn154 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshn_temp, sshb_temp, ssha_temp, rnf_temp,h_rnf_temp155 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: hdivn_temp, rotn_temp156 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: hdivb_temp, rotb_temp157 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hmld_temp, qsr_temp, fr_i_temp,wndm_temp158 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: emp_temp, fmmflx_temp, emp_b_temp159 !160 #if defined key_trabbl161 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: ahu_bbl_temp, ahv_bbl_temp, utr_bbl_temp, vtr_bbl_temp !: hold current values162 #endif163 121 ! 164 122 ! -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/TOP_SRC/trcstp.F90
r7812 r7954 8 8 #if defined key_top 9 9 !!---------------------------------------------------------------------- 10 !! trc_stp : passive tracer system time-stepping11 !!---------------------------------------------------------------------- 12 USE oce_trc 10 !! trc_stp : passive tracer system time-stepping 11 !!---------------------------------------------------------------------- 12 USE oce_trc ! ocean dynamics and active tracers variables 13 13 USE sbc_oce 14 14 USE trc 15 USE trctrp 16 USE trcsms 15 USE trctrp ! passive tracers transport 16 USE trcsms ! passive tracers sources and sinks 17 17 USE trcwri 18 18 USE trcrst 19 USE trcsub ! 19 20 USE trdtrc_oce 20 21 USE trdmxl_trc 21 USE prtctl_trc ! Print control for debbuging22 USE iom23 USE i n_out_manager24 USE trcsub22 ! 23 USE prtctl_trc ! Print control for debbuging 24 USE iom ! 25 USE in_out_manager ! 25 26 26 27 IMPLICIT NONE … … 29 30 PUBLIC trc_stp ! called by step 30 31 31 REAL(wp), DIMENSION(:,:,:), SAVE, ALLOCATABLE :: qsr_arr ! save qsr during TOP time-step32 REAL(wp) :: rdt_sampl33 INTEGER :: nb_rec_per_day, ktdcy34 REAL(wp) :: rsecfst, rseclast35 LOGICAL :: llnew32 LOGICAL :: llnew ! ??? 33 REAL(wp) :: rdt_sampl ! ??? 34 INTEGER :: nb_rec_per_day, ktdcy ! ??? 35 REAL(wp) :: rsecfst, rseclast ! ??? 36 REAL(wp), DIMENSION(:,:,:), SAVE, ALLOCATABLE :: qsr_arr ! save qsr during TOP time-step 36 37 37 38 !!---------------------------------------------------------------------- … … 46 47 !! *** ROUTINE trc_stp *** 47 48 !! 48 !! ** Purpose : Time loop of opa for passive tracer49 !! ** Purpose : Time loop of opa for passive tracer 49 50 !! 50 !! ** Method : 51 !! Compute the passive tracers trends 52 !! Update the passive tracers 51 !! ** Method : Compute the passive tracers trends 52 !! Update the passive tracers 53 53 !!------------------------------------------------------------------- 54 INTEGER, INTENT( in ) :: kt! ocean time-step index55 INTEGER :: jk, jn ! dummy loop indices56 REAL(wp) :: ztrai57 CHARACTER (len=25) :: charout58 54 INTEGER, INTENT( in ) :: kt ! ocean time-step index 55 ! 56 INTEGER :: jk, jn ! dummy loop indices 57 REAL(wp):: ztrai ! local scalar 58 CHARACTER (len=25) :: charout ! 59 59 !!------------------------------------------------------------------- 60 60 ! … … 115 115 ! 116 116 END SUBROUTINE trc_stp 117 117 118 118 119 SUBROUTINE trc_mean_qsr( kt ) … … 128 129 !! In coupled mode, the sampling is done at every coupling frequency 129 130 !!---------------------------------------------------------------------- 130 INTEGER, INTENT(in) :: kt 131 INTEGER :: jn 132 REAL(wp) :: zkt, zrec 133 CHARACTER(len=1) :: cl1 ! 1 character 134 CHARACTER(len=2) :: cl2 ! 2 characters 135 131 INTEGER, INTENT( in ) :: kt ! ocean time-step index 132 ! 133 INTEGER :: jn ! dummy loop indices 134 REAL(wp) :: zkt, zrec ! local scalars 135 CHARACTER(len=1) :: cl1 ! 1 character 136 CHARACTER(len=2) :: cl2 ! 2 characters 137 !!---------------------------------------------------------------------- 138 ! 136 139 IF( kt == nittrc000 ) THEN 137 140 IF( ln_cpl ) THEN … … 143 146 ENDIF 144 147 ! 145 IF( lwp) THEN148 IF(lwp) THEN 146 149 WRITE(numout,*) 147 150 WRITE(numout,*) ' Sampling frequency dt = ', rdt_sampl, 's',' Number of sampling per day nrec = ', nb_rec_per_day … … 171 174 CALL iom_get( numrtr, jpdom_autoglo, 'qsr_arr_'//cl2, qsr_arr(:,:,jn) ) ! A mean of qsr 172 175 ENDIF 173 END DO176 END DO 174 177 ELSE 175 178 DO jn = 1, nb_rec_per_day … … 184 187 DO jn = 1, nb_rec_per_day 185 188 qsr_arr(:,:,jn) = qsr_mean(:,:) 186 END DO189 END DO 187 190 ENDIF 188 191 ! … … 220 223 CALL iom_rstput( kt, nitrst, numrtw, 'qsr_arr_'//cl2, qsr_arr(:,:,jn) ) 221 224 ENDIF 222 END DO225 END DO 223 226 CALL iom_rstput( kt, nitrst, numrtw, 'qsr_mean', qsr_mean(:,:) ) 224 227 ENDIF -
branches/2017/dev_r7881_HPC09_ZDF/NEMOGCM/NEMO/TOP_SRC/trcsub.F90
r7953 r7954 2 2 !!====================================================================== 3 3 !! *** MODULE trcsubstp *** 4 !! TOP : Averages physics variables for TOP substepping.4 !! TOP : Averages physics variables for TOP substepping. 5 5 !!====================================================================== 6 6 !! History : 1.0 ! 2011-10 (K. Edwards) Original … … 8 8 #if defined key_top 9 9 !!---------------------------------------------------------------------- 10 !! trc_sub : passive tracer system sub-stepping10 !! trc_sub : passive tracer system sub-stepping 11 11 !!---------------------------------------------------------------------- 12 USE oce_trc 12 USE oce_trc ! ocean dynamics and active tracers variables 13 13 USE trc 14 USE prtctl_trc ! Print control for debbuging 15 USE iom 16 USE in_out_manager 17 USE lbclnk 18 USE trabbl 14 USE trabbl ! bottom boundary layer 19 15 USE zdf_oce 20 16 USE domvvl 21 USE divhor ! horizontal divergence (div_hor routine) 22 USE sbcrnf , ONLY: h_rnf, nk_rnf ! River runoff 23 USE bdy_oce , ONLY: ln_bdy, bdytmask ! BDY 17 USE divhor ! horizontal divergence 18 USE sbcrnf , ONLY: h_rnf, nk_rnf ! River runoff 19 USE bdy_oce , ONLY: ln_bdy, bdytmask ! BDY 20 ! 21 USE prtctl_trc ! Print control for debbuging 22 USE in_out_manager ! 23 USE iom 24 USE lbclnk 24 25 #if defined key_agrif 25 26 USE agrif_opa_update … … 29 30 IMPLICIT NONE 30 31 31 PUBLIC trc_sub_stp ! called by trc_stp 32 PUBLIC trc_sub_ini ! called by trc_ini to initialize substepping arrays. 33 PUBLIC trc_sub_reset ! called by trc_stp to reset physics variables 34 PUBLIC trc_sub_ssh ! called by trc_stp to reset physics variables 35 36 REAL(wp) :: r1_ndttrc ! 1 / nn_dttrc 37 REAL(wp) :: r1_ndttrcp1 ! 1 / (nn_dttrc+1) 38 39 ! !* iso-neutral slopes (if l_ldfslp=T) 40 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: uslp_temp, vslp_temp, wslpi_temp, wslpj_temp !: hold current values 41 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: uslp_tm , vslp_tm , wslpi_tm , wslpj_tm !: time mean 32 PUBLIC trc_sub_stp ! called by trc_stp 33 PUBLIC trc_sub_ini ! called by trc_ini to initialize substepping arrays. 34 PUBLIC trc_sub_reset ! called by trc_stp to reset physics variables 35 PUBLIC trc_sub_ssh ! called by trc_stp to reset physics variables 36 37 REAL(wp) :: r1_ndttrc ! = 1 / nn_dttrc 38 REAL(wp) :: r1_ndttrcp1 ! = 1 / (nn_dttrc+1) 39 40 41 !! averaged and temporary saved variables (needed when a larger passive tracer time-step is used) 42 !! ---------------------------------------------------------------- 43 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: un_tm , un_temp !: i-horizontal velocity average [m/s] 44 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: vn_tm , vn_temp !: j-horizontal velocity average [m/s] 45 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: wn_temp !: hold current values of avt, un, vn, wn 46 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:,:) :: tsn_tm , tsn_temp !: t/s average [m/s] 47 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: avs_tm , avs_temp !: vertical diffusivity coeff. at w-point [m2/s] 48 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: rhop_tm , rhop_temp !: 49 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshn_tm , sshn_temp !: average ssh for the now step [m] 50 51 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: rnf_tm , rnf_temp !: river runoff 52 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: h_rnf_tm , h_rnf_temp !: depth in metres to the bottom of the relevant grid box 53 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: hmld_tm , hmld_temp !: mixed layer depth average [m] 54 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: fr_i_tm , fr_i_temp !: average ice fraction [m/s] 55 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: emp_tm , emp_temp !: freshwater budget: volume flux [Kg/m2/s] 56 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: fmmflx_tm , fmmflx_temp !: freshwater budget: freezing/melting [Kg/m2/s] 57 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: emp_b_hold, emp_b_temp !: hold emp from the beginning of each sub-stepping[m] 58 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: qsr_tm , qsr_temp !: solar radiation average [m] 59 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: wndm_tm , wndm_temp !: 10m wind average [m] 60 ! 61 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshb_hold !:hold sshb from the beginning of each sub-stepping[m] 62 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:) :: sshb_temp, ssha_temp 63 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: hdivn_temp, rotn_temp 64 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: hdivb_temp, rotb_temp 65 ! 66 ! !!- bottom boundary layer param (ln_trabbl=T) 67 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: ahu_bbl_tm, ahu_bbl_temp ! BBL diffusive i-coef. 68 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: ahv_bbl_tm, ahv_bbl_temp ! BBL diffusive j-coef. 69 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: utr_bbl_tm, utr_bbl_temp ! BBL u-advection 70 REAL(wp), ALLOCATABLE, SAVE, DIMENSION(:,:) :: vtr_bbl_tm, vtr_bbl_temp ! BBL v-advection 71 72 ! !!- iso-neutral slopes (if l_ldfslp=T) 73 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: uslp_temp, vslp_temp, wslpi_temp, wslpj_temp !: hold current values 74 REAL(wp), PUBLIC, ALLOCATABLE, SAVE, DIMENSION(:,:,:) :: uslp_tm , vslp_tm , wslpi_tm , wslpj_tm !: time mean 75 42 76 43 77 !!---------------------------------------------------------------------- 44 !! NEMO/TOP 3.3 , NEMO Consortium (2010)78 !! NEMO/TOP 4.0 , NEMO Consortium (2017) 45 79 !! $Id$ 46 80 !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) … … 57 91 !! on TOP steps, calculate averages. 58 92 !!------------------------------------------------------------------- 59 INTEGER, INTENT( in ) :: kt ! ocean time-step index 60 INTEGER :: ji,jj,jk ! dummy loop indices 61 REAL(wp) :: z1_ne3t, z1_ne3u, z1_ne3v, z1_ne3w 93 INTEGER, INTENT( in ) :: kt ! ocean time-step index 94 ! 95 INTEGER :: ji, jj, jk ! dummy loop indices 96 REAL(wp):: z1_ne3t, z1_ne3u, z1_ne3v, z1_ne3w ! local scalars 62 97 !!------------------------------------------------------------------- 63 98 ! … … 74 109 r1_ndttrc = 1._wp / REAL( nn_dttrc , wp ) 75 110 r1_ndttrcp1 = 1._wp / REAL( nn_dttrc + 1, wp ) 76 !77 111 ENDIF 78 112 79 80 81 82 83 84 85 86 113 IF( MOD( kt , nn_dttrc ) /= 0 ) THEN 114 ! 115 un_tm (:,:,:) = un_tm (:,:,:) + un (:,:,:) * e3u_n(:,:,:) 116 vn_tm (:,:,:) = vn_tm (:,:,:) + vn (:,:,:) * e3v_n(:,:,:) 117 tsn_tm (:,:,:,jp_tem) = tsn_tm (:,:,:,jp_tem) + tsn (:,:,:,jp_tem) * e3t_n(:,:,:) 118 tsn_tm (:,:,:,jp_sal) = tsn_tm (:,:,:,jp_sal) + tsn (:,:,:,jp_sal) * e3t_n(:,:,:) 119 rhop_tm (:,:,:) = rhop_tm (:,:,:) + rhop (:,:,:) * e3t_n(:,:,:) 120 avs_tm (:,:,:) = avs_tm (:,:,:) + avs (:,:,:) * e3w_n(:,:,:) 87 121 IF( l_ldfslp ) THEN 88 122 uslp_tm (:,:,:) = uslp_tm (:,:,:) + uslp (:,:,:) … … 91 125 wslpj_tm(:,:,:) = wslpj_tm(:,:,:) + wslpj(:,:,:) 92 126 ENDIF 93 # if defined key_trabbl 94 IF( nn_bbl_ldf == 1 ) THEN95 ahu_bbl_tm(:,:) = ahu_bbl_tm(:,:) + ahu_bbl(:,:)96 ahv_bbl_tm(:,:) = ahv_bbl_tm(:,:) + ahv_bbl(:,:)97 ENDIF98 IF( nn_bbl_adv == 1 ) THEN99 utr_bbl_tm(:,:) = utr_bbl_tm(:,:) + utr_bbl(:,:)100 vtr_bbl_tm(:,:) = vtr_bbl_tm(:,:) + vtr_bbl(:,:)101 ENDIF102 # endif 103 104 105 106 107 108 109 110 111 112 113 127 IF( ln_trabbl ) THEN 128 IF( nn_bbl_ldf == 1 ) THEN 129 ahu_bbl_tm(:,:) = ahu_bbl_tm(:,:) + ahu_bbl(:,:) 130 ahv_bbl_tm(:,:) = ahv_bbl_tm(:,:) + ahv_bbl(:,:) 131 ENDIF 132 IF( nn_bbl_adv == 1 ) THEN 133 utr_bbl_tm(:,:) = utr_bbl_tm(:,:) + utr_bbl(:,:) 134 vtr_bbl_tm(:,:) = vtr_bbl_tm(:,:) + vtr_bbl(:,:) 135 ENDIF 136 ENDIF 137 ! 138 sshn_tm (:,:) = sshn_tm (:,:) + sshn (:,:) 139 rnf_tm (:,:) = rnf_tm (:,:) + rnf (:,:) 140 h_rnf_tm (:,:) = h_rnf_tm (:,:) + h_rnf (:,:) 141 hmld_tm (:,:) = hmld_tm (:,:) + hmld (:,:) 142 fr_i_tm (:,:) = fr_i_tm (:,:) + fr_i (:,:) 143 emp_tm (:,:) = emp_tm (:,:) + emp (:,:) 144 fmmflx_tm(:,:) = fmmflx_tm(:,:) + fmmflx(:,:) 145 qsr_tm (:,:) = qsr_tm (:,:) + qsr (:,:) 146 wndm_tm (:,:) = wndm_tm (:,:) + wndm (:,:) 147 ! 114 148 ELSE ! It is time to substep 115 ! 1. set temporary arrays to hold physics variables149 ! 1. set temporary arrays to hold physics/dynamical variables 116 150 un_temp (:,:,:) = un (:,:,:) 117 151 vn_temp (:,:,:) = vn (:,:,:) … … 124 158 vslp_temp (:,:,:) = vslp (:,:,:) ; wslpj_temp (:,:,:) = wslpj (:,:,:) 125 159 ENDIF 126 # if defined key_trabbl 127 IF( nn_bbl_ldf == 1 ) THEN128 ahu_bbl_temp(:,:) = ahu_bbl(:,:)129 ahv_bbl_temp(:,:) = ahv_bbl(:,:)130 ENDIF131 IF( nn_bbl_adv == 1 ) THEN132 utr_bbl_temp(:,:) = utr_bbl(:,:)133 vtr_bbl_temp(:,:) = vtr_bbl(:,:)134 ENDIF135 # endif 160 IF( ln_trabbl ) THEN 161 IF( nn_bbl_ldf == 1 ) THEN 162 ahu_bbl_temp(:,:) = ahu_bbl(:,:) 163 ahv_bbl_temp(:,:) = ahv_bbl(:,:) 164 ENDIF 165 IF( nn_bbl_adv == 1 ) THEN 166 utr_bbl_temp(:,:) = utr_bbl(:,:) 167 vtr_bbl_temp(:,:) = vtr_bbl(:,:) 168 ENDIF 169 ENDIF 136 170 sshn_temp (:,:) = sshn (:,:) 137 171 sshb_temp (:,:) = sshb (:,:) … … 162 196 wslpj_tm (:,:,:) = wslpj_tm(:,:,:) + wslpj(:,:,:) 163 197 ENDIF 164 # if defined key_trabbl 165 IF( nn_bbl_ldf == 1 ) THEN166 ahu_bbl_tm(:,:) = ahu_bbl_tm(:,:) + ahu_bbl(:,:)167 ahv_bbl_tm(:,:) = ahv_bbl_tm(:,:) + ahv_bbl(:,:)168 ENDIF169 IF( nn_bbl_adv == 1 ) THEN170 utr_bbl_tm(:,:) = utr_bbl_tm(:,:) + utr_bbl(:,:)171 vtr_bbl_tm(:,:) = vtr_bbl_tm(:,:) + vtr_bbl(:,:)172 ENDIF173 # endif 198 IF( ln_trabbl ) THEN 199 IF( nn_bbl_ldf == 1 ) THEN 200 ahu_bbl_tm(:,:) = ahu_bbl_tm(:,:) + ahu_bbl(:,:) 201 ahv_bbl_tm(:,:) = ahv_bbl_tm(:,:) + ahv_bbl(:,:) 202 ENDIF 203 IF( nn_bbl_adv == 1 ) THEN 204 utr_bbl_tm(:,:) = utr_bbl_tm(:,:) + utr_bbl(:,:) 205 vtr_bbl_tm(:,:) = vtr_bbl_tm(:,:) + vtr_bbl(:,:) 206 ENDIF 207 ENDIF 174 208 sshn_tm (:,:) = sshn_tm (:,:) + sshn (:,:) 175 209 rnf_tm (:,:) = rnf_tm (:,:) + rnf (:,:) … … 195 229 fmmflx(:,:) = fmmflx_tm (:,:) * r1_ndttrc 196 230 fr_i (:,:) = fr_i_tm (:,:) * r1_ndttrc 197 # if defined key_trabbl 198 IF( nn_bbl_ldf == 1 ) THEN199 ahu_bbl(:,:) = ahu_bbl_tm (:,:) * r1_ndttrc200 ahv_bbl(:,:) = ahv_bbl_tm (:,:) * r1_ndttrc201 ENDIF202 IF( nn_bbl_adv == 1 ) THEN203 utr_bbl(:,:) = utr_bbl_tm (:,:) * r1_ndttrc204 vtr_bbl(:,:) = vtr_bbl_tm (:,:) * r1_ndttrc205 ENDIF206 # endif 231 IF( ln_trabbl ) THEN 232 IF( nn_bbl_ldf == 1 ) THEN 233 ahu_bbl(:,:) = ahu_bbl_tm (:,:) * r1_ndttrc 234 ahv_bbl(:,:) = ahv_bbl_tm (:,:) * r1_ndttrc 235 ENDIF 236 IF( nn_bbl_adv == 1 ) THEN 237 utr_bbl(:,:) = utr_bbl_tm (:,:) * r1_ndttrc 238 vtr_bbl(:,:) = vtr_bbl_tm (:,:) * r1_ndttrc 239 ENDIF 240 ENDIF 207 241 ELSE 208 242 wndm (:,:) = wndm_tm (:,:) * r1_ndttrcp1 … … 211 245 fmmflx(:,:) = fmmflx_tm (:,:) * r1_ndttrcp1 212 246 fr_i (:,:) = fr_i_tm (:,:) * r1_ndttrcp1 213 # if defined key_trabbl 214 IF( nn_bbl_ldf == 1 ) THEN215 ahu_bbl(:,:) = ahu_bbl_tm (:,:) * r1_ndttrcp1216 ahv_bbl(:,:) = ahv_bbl_tm (:,:) * r1_ndttrcp1217 ENDIF218 IF( nn_bbl_adv == 1 ) THEN219 utr_bbl(:,:) = utr_bbl_tm (:,:) * r1_ndttrcp1220 vtr_bbl(:,:) = vtr_bbl_tm (:,:) * r1_ndttrcp1221 ENDIF222 # endif 247 IF( ln_trabbl ) THEN 248 IF( nn_bbl_ldf == 1 ) THEN 249 ahu_bbl(:,:) = ahu_bbl_tm (:,:) * r1_ndttrcp1 250 ahv_bbl(:,:) = ahv_bbl_tm (:,:) * r1_ndttrcp1 251 ENDIF 252 IF( nn_bbl_adv == 1 ) THEN 253 utr_bbl(:,:) = utr_bbl_tm (:,:) * r1_ndttrcp1 254 vtr_bbl(:,:) = vtr_bbl_tm (:,:) * r1_ndttrcp1 255 ENDIF 256 ENDIF 223 257 ENDIF 224 258 ! … … 298 332 299 333 ! Physics variables that are set after initialization: 300 fr_i_tm (:,:) = 0._wp301 emp_tm (:,:) = 0._wp334 fr_i_tm (:,:) = 0._wp 335 emp_tm (:,:) = 0._wp 302 336 fmmflx_tm(:,:) = 0._wp 303 qsr_tm (:,:) = 0._wp304 wndm_tm (:,:) = 0._wp305 # if defined key_trabbl 306 IF( nn_bbl_ldf == 1 ) THEN307 ahu_bbl_tm(:,:) = 0._wp308 ahv_bbl_tm(:,:) = 0._wp309 ENDIF310 IF( nn_bbl_adv == 1 ) THEN311 utr_bbl_tm(:,:) = 0._wp312 vtr_bbl_tm(:,:) = 0._wp313 ENDIF314 # endif 337 qsr_tm (:,:) = 0._wp 338 wndm_tm (:,:) = 0._wp 339 IF( ln_trabbl ) THEN 340 IF( nn_bbl_ldf == 1 ) THEN 341 ahu_bbl_tm(:,:) = 0._wp 342 ahv_bbl_tm(:,:) = 0._wp 343 ENDIF 344 IF( nn_bbl_adv == 1 ) THEN 345 utr_bbl_tm(:,:) = 0._wp 346 vtr_bbl_tm(:,:) = 0._wp 347 ENDIF 348 ENDIF 315 349 ! 316 350 IF( nn_timing == 1 ) CALL timing_stop('trc_sub_ini') … … 359 393 qsr (:,:) = qsr_temp (:,:) 360 394 wndm (:,:) = wndm_temp (:,:) 361 # if defined key_trabbl 362 IF( nn_bbl_ldf == 1 ) THEN363 ahu_bbl(:,:) = ahu_bbl_temp(:,:)364 ahv_bbl(:,:) = ahv_bbl_temp(:,:)365 ENDIF366 IF( nn_bbl_adv == 1 ) THEN367 utr_bbl(:,:) = utr_bbl_temp(:,:)368 vtr_bbl(:,:) = vtr_bbl_temp(:,:)369 ENDIF370 # endif 395 IF( ln_trabbl ) THEN 396 IF( nn_bbl_ldf == 1 ) THEN 397 ahu_bbl(:,:) = ahu_bbl_temp(:,:) 398 ahv_bbl(:,:) = ahv_bbl_temp(:,:) 399 ENDIF 400 IF( nn_bbl_adv == 1 ) THEN 401 utr_bbl(:,:) = utr_bbl_temp(:,:) 402 vtr_bbl(:,:) = vtr_bbl_temp(:,:) 403 ENDIF 404 ENDIF 371 405 ! 372 406 hdivn (:,:,:) = hdivn_temp (:,:,:) … … 397 431 qsr_tm (:,:) = qsr (:,:) 398 432 wndm_tm (:,:) = wndm (:,:) 399 # if defined key_trabbl 400 IF( nn_bbl_ldf == 1 ) THEN401 ahu_bbl_tm(:,:) = ahu_bbl(:,:)402 ahv_bbl_tm(:,:) = ahv_bbl(:,:)403 ENDIF404 IF( nn_bbl_adv == 1 ) THEN405 utr_bbl_tm(:,:) = utr_bbl(:,:)406 vtr_bbl_tm(:,:) = vtr_bbl(:,:)407 ENDIF408 # endif 433 IF( ln_trabbl ) THEN 434 IF( nn_bbl_ldf == 1 ) THEN 435 ahu_bbl_tm(:,:) = ahu_bbl(:,:) 436 ahv_bbl_tm(:,:) = ahv_bbl(:,:) 437 ENDIF 438 IF( nn_bbl_adv == 1 ) THEN 439 utr_bbl_tm(:,:) = utr_bbl(:,:) 440 vtr_bbl_tm(:,:) = vtr_bbl(:,:) 441 ENDIF 442 ENDIF 409 443 ! 410 444 ! … … 509 543 !!------------------------------------------------------------------- 510 544 USE lib_mpp, ONLY: ctl_warn 511 INTEGER :: ierr 512 !!------------------------------------------------------------------- 513 ! 514 ALLOCATE( un_temp(jpi,jpj,jpk) , vn_temp(jpi,jpj,jpk) , & 515 & wn_temp(jpi,jpj,jpk) , & 516 & rhop_temp(jpi,jpj,jpk) , rhop_tm(jpi,jpj,jpk) , & 517 & sshn_temp(jpi,jpj) , sshb_temp(jpi,jpj) , & 518 & ssha_temp(jpi,jpj) , & 519 #if defined key_trabbl 520 & ahu_bbl_temp(jpi,jpj) , ahv_bbl_temp(jpi,jpj), & 521 & utr_bbl_temp(jpi,jpj) , vtr_bbl_temp(jpi,jpj), & 522 #endif 523 & rnf_temp(jpi,jpj) , h_rnf_temp(jpi,jpj) , & 524 & tsn_temp(jpi,jpj,jpk,2) , emp_b_temp(jpi,jpj), & 525 & emp_temp(jpi,jpj) , fmmflx_temp(jpi,jpj), & 526 & hmld_temp(jpi,jpj) , qsr_temp(jpi,jpj) , & 527 & fr_i_temp(jpi,jpj) , fr_i_tm(jpi,jpj) , & 528 & wndm_temp(jpi,jpj) , wndm_tm(jpi,jpj) , & 529 & avs_tm(jpi,jpj,jpk) , avs_temp(jpi,jpj,jpk) , & 530 & hdivn_temp(jpi,jpj,jpk) , hdivb_temp(jpi,jpj,jpk), & 531 & un_tm(jpi,jpj,jpk) , vn_tm(jpi,jpj,jpk) , & 532 & sshn_tm(jpi,jpj) , sshb_hold(jpi,jpj) , & 533 & tsn_tm(jpi,jpj,jpk,2) , & 534 & emp_tm(jpi,jpj) , fmmflx_tm(jpi,jpj) , & 535 & emp_b_hold(jpi,jpj) , & 536 & hmld_tm(jpi,jpj) , qsr_tm(jpi,jpj) , & 537 #if defined key_trabbl 538 & ahu_bbl_tm(jpi,jpj) , ahv_bbl_tm(jpi,jpj), & 539 & utr_bbl_tm(jpi,jpj) , vtr_bbl_tm(jpi,jpj), & 540 #endif 541 & rnf_tm(jpi,jpj) , h_rnf_tm(jpi,jpj) , STAT=trc_sub_alloc ) 545 INTEGER :: ierr(3) 546 !!------------------------------------------------------------------- 547 ! 548 ierr(:) = 0 549 ! 550 ALLOCATE( un_temp(jpi,jpj,jpk) , vn_temp(jpi,jpj,jpk) , & 551 & wn_temp(jpi,jpj,jpk) , & 552 & rhop_temp(jpi,jpj,jpk) , rhop_tm(jpi,jpj,jpk) , & 553 & sshn_temp(jpi,jpj) , sshb_temp(jpi,jpj) , & 554 & ssha_temp(jpi,jpj) , & 555 & rnf_temp(jpi,jpj) , h_rnf_temp(jpi,jpj) , & 556 & tsn_temp(jpi,jpj,jpk,2) , emp_b_temp(jpi,jpj) , & 557 & emp_temp(jpi,jpj) , fmmflx_temp(jpi,jpj) , & 558 & hmld_temp(jpi,jpj) , qsr_temp(jpi,jpj) , & 559 & fr_i_temp(jpi,jpj) , fr_i_tm(jpi,jpj) , & 560 & wndm_temp(jpi,jpj) , wndm_tm(jpi,jpj) , & 561 & avs_tm(jpi,jpj,jpk) , avs_temp(jpi,jpj,jpk) , & 562 & hdivn_temp(jpi,jpj,jpk) , hdivb_temp(jpi,jpj,jpk), & 563 & un_tm(jpi,jpj,jpk) , vn_tm(jpi,jpj,jpk) , & 564 & sshn_tm(jpi,jpj) , sshb_hold(jpi,jpj) , & 565 & tsn_tm(jpi,jpj,jpk,2) , & 566 & emp_tm(jpi,jpj) , fmmflx_tm(jpi,jpj) , & 567 & emp_b_hold(jpi,jpj) , & 568 & hmld_tm(jpi,jpj) , qsr_tm(jpi,jpj) , & 569 & rnf_tm(jpi,jpj) , h_rnf_tm(jpi,jpj) , STAT=ierr(1) ) 570 ! 571 IF( l_ldfslp ) THEN 572 ALLOCATE( uslp_temp(jpi,jpj,jpk) , wslpi_temp(jpi,jpj,jpk), & 573 & vslp_temp(jpi,jpj,jpk) , wslpj_temp(jpi,jpj,jpk), & 574 & uslp_tm (jpi,jpj,jpk) , wslpi_tm (jpi,jpj,jpk), & 575 & vslp_tm (jpi,jpj,jpk) , wslpj_tm (jpi,jpj,jpk), STAT=ierr(2) ) 576 ENDIF 577 IF( ln_trabbl ) THEN 578 ALLOCATE( ahu_bbl_temp(jpi,jpj) , utr_bbl_temp(jpi,jpj) , & 579 & ahv_bbl_temp(jpi,jpj) , vtr_bbl_temp(jpi,jpj) , & 580 & ahu_bbl_tm (jpi,jpj) , utr_bbl_tm (jpi,jpj) , & 581 & ahv_bbl_tm (jpi,jpj) , vtr_bbl_tm (jpi,jpj) , STAT=ierr(3) ) 582 ENDIF 583 ! 584 trc_sub_alloc = MAXVAL( ierr ) 542 585 ! 543 586 IF( trc_sub_alloc /= 0 ) CALL ctl_warn('trc_sub_alloc: failed to allocate arrays') 544 !545 IF( l_ldfslp ) THEN546 ALLOCATE( uslp_temp(jpi,jpj,jpk) , wslpi_temp(jpi,jpj,jpk), &547 & vslp_temp(jpi,jpj,jpk) , wslpj_temp(jpi,jpj,jpk), &548 & uslp_tm (jpi,jpj,jpk) , wslpi_tm (jpi,jpj,jpk), &549 & vslp_tm (jpi,jpj,jpk) , wslpj_tm (jpi,jpj,jpk), STAT=trc_sub_alloc )550 ENDIF551 !552 IF( trc_sub_alloc /= 0 ) CALL ctl_warn('trc_sub_alloc: failed to allocate ldf_slp arrays')553 587 ! 554 588 END FUNCTION trc_sub_alloc
Note: See TracChangeset
for help on using the changeset viewer.