Changeset 2393 for LMDZ5/trunk/libf/phylmd/dyn1d
- Timestamp:
- Nov 18, 2015, 12:25:20 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/dyn1d/lmdz1d.F90
r2373 r2393 8 8 PROGRAM lmdz1d 9 9 10 USE ioipsl, only: ju2ymds, ymds2ju, ioconf_calendar 11 use phys_state_var_mod 12 use dimphy 13 use surface_data, only : type_ocean,ok_veget 14 use pbl_surface_mod, only : ftsoil, pbl_surface_init, & 10 USE ioipsl, only: ju2ymds, ymds2ju, ioconf_calendar 11 USE phys_state_var_mod, ONLY : phys_state_var_init, phys_state_var_end, & 12 clwcon, detr_therm, & 13 qsol, fevap, z0m, z0h, agesno, & 14 du_gwd_rando, du_gwd_front, entr_therm, f0, fm_therm, & 15 falb_dir, falb_dif, & 16 ftsol, pbl_tke, pctsrf, radsol, rain_fall, snow_fall, ratqs, & 17 rlat, rlon, rnebcon, rugoro, sig1, w01, solaire_etat0, sollw, sollwdown, & 18 solsw, t_ancien, q_ancien, u_ancien, v_ancien, wake_cstar, wake_deltaq, & 19 wake_deltat, wake_delta_pbl_TKE, delta_tsurf, wake_fip, wake_pe, & 20 wake_s, zgam, & 21 zmax0, zmea, zpic, zsig, & 22 zstd, zthe, zval, ale_bl, ale_bl_trig, alp_bl 23 use dimphy 24 use surface_data, only : type_ocean,ok_veget 25 use pbl_surface_mod, only : ftsoil, pbl_surface_init, & 15 26 & pbl_surface_final 16 27 use fonte_neige_mod, only : fonte_neige_init, fonte_neige_final 17 28 18 19 20 21 22 23 24 25 26 29 use infotrac ! new 30 use control_mod 31 USE indice_sol_mod 32 USE phyaqua_mod 33 USE mod_1D_cases_read 34 USE mod_1D_amma_read 35 USE print_control_mod, ONLY: prt_level 36 USE iniphysiq_mod, ONLY: iniphysiq 37 USE mod_const_mpi, ONLY: comm_lmdz 27 38 28 39 implicit none … … 127 138 !vertical advection computation 128 139 ! real d_t_z(llm), d_q_z(llm) 129 ! real d_t_dyn_z(llm), d _q_dyn_z(llm)140 ! real d_t_dyn_z(llm), dq_dyn_z(llm) 130 141 ! real zz(llm) 131 142 ! real zfact … … 516 527 ! allocate(d_th_adv(llm)) 517 528 529 q(:,:) = 0. 530 dq(:,:) = 0. 531 dq_dyn(:,:) = 0. 532 d_q_adv(:,:) = 0. 533 d_q_nudge(:,:) = 0. 534 518 535 ! 519 536 ! No ozone climatology need be read in this pre-initialization … … 730 747 solsw=0. 731 748 sollw=0. 749 sollwdown=rsigma*tsurf**4 732 750 radsol=0. 733 751 rnebcon=0. 734 752 ratqs=0. 735 753 clwcon=0. 754 zmax0 = 0. 736 755 zmea=0. 737 756 zstd=0. … … 742 761 sig1=0. 743 762 w01=0. 763 wake_cstar = 0. 764 wake_deltaq = 0. 765 wake_deltat = 0. 766 wake_delta_pbl_TKE = 0. 767 delta_tsurf = 0. 768 wake_fip = 0. 769 wake_pe = 0. 770 wake_s = 0. 771 ale_bl = 0. 772 ale_bl_trig = 0. 773 alp_bl = 0. 774 IF (ALLOCATED(du_gwd_rando)) du_gwd_rando = 0. 775 IF (ALLOCATED(du_gwd_front)) du_gwd_front = 0. 776 entr_therm = 0. 777 detr_therm = 0. 778 f0 = 0. 779 fm_therm = 0. 744 780 u_ancien(1,:)=u(:) 745 781 v_ancien(1,:)=v(:) … … 752 788 ! pctsrf(:,is_sic),ftsol(:,nsrf),tsoil(:,isoil,nsrf),qsurf(:,nsrf) 753 789 ! qsol,falb_dir(:,nsrf),falb_dif(:,nsrf),evap(:,nsrf),snow(:,nsrf) 754 ! radsol,solsw,sollw, fder,rain_fall,snow_fall,frugs(:,nsrf)790 ! radsol,solsw,sollw, sollwdown,fder,rain_fall,snow_fall,frugs(:,nsrf) 755 791 ! agesno(:,nsrf),zmea,zstd,zsig,zgam,zthe,zpic,zval,rugoro 756 792 ! t_ancien,q_ancien,,frugs(:,is_oce),clwcon(:,1),rnebcon(:,1),ratqs(:,1) … … 939 975 d_q_adv=0.0 940 976 endif 941 print*, 'calcul de fcoriolis ', fcoriolis977 ! print*, 'calcul de fcoriolis ', fcoriolis 942 978 943 979 if (forcing_toga .or. forcing_GCSSold .or. forcing_twpice & … … 949 985 endif 950 986 951 print*, 'fcoriolis ', fcoriolis, xlat,mxcalc 987 IF (prt_level >= 1) print*, 'fcoriolis, xlat,mxcalc ', & 988 fcoriolis, xlat,mxcalc 952 989 953 990 du_age(1:mxcalc)=fcoriolis*(v(1:mxcalc)-vg(1:mxcalc)) 954 991 dv_age(1:mxcalc)=-fcoriolis*(u(1:mxcalc)-ug(1:mxcalc)) 955 print *,'u-ug=',u-ug992 ! print *,'u-ug=',u-ug 956 993 957 994 !!!!!!!!!!!!!!!!!!!!!!!! … … 960 997 sfdt = sin(0.5*fcoriolis*timestep) 961 998 cfdt = cos(0.5*fcoriolis*timestep) 962 print *,'fcoriolis,sfdt,cfdt,timestep',fcoriolis,sfdt,cfdt,timestep999 ! print *,'fcoriolis,sfdt,cfdt,timestep',fcoriolis,sfdt,cfdt,timestep 963 1000 ! 964 1001 du_age(1:mxcalc)= -2.*sfdt/timestep* &
Note: See TracChangeset
for help on using the changeset viewer.