Changeset 2373 for LMDZ5/trunk/libf/phylmd
- Timestamp:
- Oct 13, 2015, 7:28:01 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd/dyn1d
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/dyn1d/1D_decl_cases.h
r2332 r2373 51 51 real dth_rico(llm) 52 52 real dqh_rico(llm) 53 real du_age(llm),dv_age(llm)54 53 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 55 54 ! Declarations specifiques au cas TWPice -
LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
r2354 r2373 177 177 real :: d_u_nudge(llm),d_v_nudge(llm) 178 178 real :: du_adv(llm),dv_adv(llm) 179 real :: du_age(llm),dv_age(llm) 179 180 real :: alpha 180 181 real :: ttt … … 241 242 ! INITIALIZATIONS 242 243 !===================================================================== 244 du_phys(:)=0. 245 dv_phys(:)=0. 246 dt_phys(:)=0. 247 dt_dyn(:)=0. 248 dt_cooling(:)=0. 249 d_th_adv(:)=0. 250 d_t_nudge(:)=0. 251 d_u_nudge(:)=0. 252 d_v_nudge(:)=0. 253 du_adv(:)=0. 254 dv_adv(:)=0. 255 du_age(:)=0. 256 dv_age(:)=0. 257 243 258 ! Initialization of Common turb_forcing 244 259 dtime_frcg = 0. … … 566 581 plev =ap+bp*psurf 567 582 play = 0.5*(plev(1:llm)+plev(2:llm+1)) 568 !cczlay=-rd*300.*log(play/psurf)/rg ! moved after reading profiles583 zlay=-rd*300.*log(play/psurf)/rg ! moved after reading profiles 569 584 570 585 IF (forcing_type .eq. 59) THEN … … 595 610 596 611 print*,'mxcalc=',mxcalc 597 612 ! print*,'zlay=',zlay(mxcalc) 598 613 print*,'play=',play(mxcalc) 599 614 … … 924 939 d_q_adv=0.0 925 940 endif 941 print*, 'calcul de fcoriolis ', fcoriolis 926 942 927 943 if (forcing_toga .or. forcing_GCSSold .or. forcing_twpice & … … 933 949 endif 934 950 935 print*, 'fcoriolis ', fcoriolis, xlat 936 937 951 print*, 'fcoriolis ', fcoriolis, xlat,mxcalc 952 953 du_age(1:mxcalc)=fcoriolis*(v(1:mxcalc)-vg(1:mxcalc)) 938 954 dv_age(1:mxcalc)=-fcoriolis*(u(1:mxcalc)-ug(1:mxcalc)) 955 print *,'u-ug=',u-ug 939 956 940 957 !!!!!!!!!!!!!!!!!!!!!!!! … … 943 960 sfdt = sin(0.5*fcoriolis*timestep) 944 961 cfdt = cos(0.5*fcoriolis*timestep) 962 print *,'fcoriolis,sfdt,cfdt,timestep',fcoriolis,sfdt,cfdt,timestep 945 963 ! 946 964 du_age(1:mxcalc)= -2.*sfdt/timestep* & … … 1002 1020 & 'physiq-> temp(1),dt_phys(1),d_th_adv(1),dt_cooling(1) ', & 1003 1021 & temp(1),dt_phys(1),d_th_adv(1),dt_cooling(1) 1004 print*,du_phys 1022 print* ,'dv_phys=',dv_phys 1023 print* ,'dv_age=',dv_age 1024 print* ,'dv_adv=',dv_adv 1025 print* ,'d_v_nudge=',d_v_nudge 1005 1026 print*, v 1006 1027 print*, vg -
LMDZ5/trunk/libf/phylmd/dyn1d/mod_1D_amma_read.F90
r2310 r2373 479 479 480 480 ! time interpolation: 481 frac=(time_amma2-timeit)/(time_amma2-time_amma1) 482 frac=max(frac,0.0) 481 IF (it_amma1 .EQ. it_amma2) THEN 482 frac=0. 483 ELSE 484 frac=(time_amma2-timeit)/(time_amma2-time_amma1) 485 frac=max(frac,0.0) 486 ENDIF 483 487 484 488 lat_prof = lat_amma(it_amma2) & -
LMDZ5/trunk/libf/phylmd/dyn1d/mod_1D_cases_read.F90
r2332 r2373 1100 1100 1101 1101 ! time interpolation: 1102 frac=(time_cas2-timeit)/(time_cas2-time_cas1) 1103 frac=max(frac,0.0) 1102 IF (it_cas1 .EQ. it_cas2) THEN 1103 frac=0. 1104 ELSE 1105 frac=(time_cas2-timeit)/(time_cas2-time_cas1) 1106 frac=max(frac,0.0) 1107 ENDIF 1104 1108 1105 1109 lat_prof_cas = lat_cas(it_cas2) &
Note: See TracChangeset
for help on using the changeset viewer.