Changeset 2716 for LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
- Timestamp:
- Nov 28, 2016, 11:01:20 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
r2672 r2716 32 32 USE indice_sol_mod 33 33 USE phyaqua_mod 34 USE mod_1D_cases_read 34 ! USE mod_1D_cases_read 35 USE mod_1D_cases_read2 35 36 USE mod_1D_amma_read 36 37 USE print_control_mod, ONLY: lunout, prt_level … … 140 141 logical :: forcing_fire = .false. 141 142 logical :: forcing_case = .false. 143 logical :: forcing_case2 = .false. 142 144 integer :: type_ts_forcing ! 0 = SST constant; 1 = SST read from a file 143 145 ! (cf read_tsurf1d.F) … … 192 194 real :: du_phys(llm),dv_phys(llm),dt_phys(llm) 193 195 real :: dt_dyn(llm) 194 real :: dt_cooling(llm),d_t h_adv(llm),d_t_nudge(llm)196 real :: dt_cooling(llm),d_t_adv(llm),d_th_adv(llm),d_t_nudge(llm) 195 197 real :: d_u_nudge(llm),d_v_nudge(llm) 196 198 real :: du_adv(llm),dv_adv(llm) … … 332 334 ! 101=cindynamo 333 335 ! 102=bomex 336 !forcing_type >= 100 ==> forcing_case2 = .true. 337 ! temporary flag while all the 1D cases are not whith the same cas.nc forcing file 338 ! 103=arm_cu2 ie arm_cu with new forcing format 339 ! 104=rico2 ie rico with new forcing format 334 340 !forcing_type = 40 ==> forcing_GCSSold = .true. 335 341 ! initial profile from GCSS file … … 384 390 heure_ini_cas=0. 385 391 pdt_cas=1800. ! forcing frequency 392 elseif (forcing_type .eq.103) THEN ! Arm_cu starts 21-6-1997 11h30 393 forcing_case2 = .true. 394 year_ini_cas=1997 395 mth_ini_cas=6 396 day_deb=21 397 heure_ini_cas=11.5 398 pdt_cas=1800. ! forcing frequency 399 elseif (forcing_type .eq.104) THEN ! rico starts 16-12-2004 0h 400 forcing_case2 = .true. 401 year_ini_cas=2004 402 mth_ini_cas=12 403 day_deb=16 404 heure_ini_cas=0. 405 pdt_cas=1800. ! forcing frequency 386 406 elseif (forcing_type .eq.40) THEN 387 407 forcing_GCSSold = .true. … … 456 476 endif 457 477 print *,'fnday=',fnday 458 478 ! start_time doit etre en FRACTION DE JOUR 459 479 start_time=time_ini/24. 460 480 461 481 ! Special case for arm_cu which lasts less than one day : 53100s !! (MPL 20111026) 462 482 IF(forcing_type .EQ. 61) fnday=53100./86400. 483 IF(forcing_type .EQ. 103) fnday=53100./86400. 463 484 ! Special case for amma which lasts less than one day : 64800s !! (MPL 20120216) 464 485 IF(forcing_type .EQ. 6) fnday=64800./86400. … … 505 526 print*,'time case',year_ini_cas,mth_ini_cas,day_ini_cas 506 527 call ymds2ju & 507 & (year_ini_cas,mth_ini_cas,day_ini_cas,heure_ini_cas 528 & (year_ini_cas,mth_ini_cas,day_ini_cas,heure_ini_cas*3600 & 508 529 & ,day_ju_ini_cas) 509 530 print*,'time case 2',day_ini_cas,day_ju_ini_cas … … 527 548 ENDIF 528 549 550 IF (forcing_type .gt.100) THEN 551 daytime = day + heure_ini_cas/24. ! 1st day and initial time of the simulation 552 ELSE 529 553 daytime = day + time_ini/24. ! 1st day and initial time of the simulation 554 ENDIF 530 555 ! Print out the actual date of the beginning of the simulation : 531 556 call ju2ymds(daytime,year_print, month_print,day_print,sec_print) … … 1034 1059 1035 1060 if (forcing_toga .or. forcing_GCSSold .or. forcing_twpice & 1036 & .or.forcing_amma ) then1061 & .or.forcing_amma .or. forcing_type.eq.101) then 1037 1062 fcoriolis=0.0 ; ug=0. ; vg=0. 1038 1063 endif 1039 if(forcing_rico) then 1064 1065 if(forcing_rico) then 1040 1066 dt_cooling=0. 1041 1067 endif 1042 1068 1043 1069 IF (prt_level >= 5) print*, 'fcoriolis, xlat,mxcalc ', & … … 1201 1227 !#endif 1202 1228 1229
Note: See TracChangeset
for help on using the changeset viewer.