Changeset 2611 for LMDZ5/trunk/libf/phylmd/physiq_mod.F90
- Timestamp:
- Aug 3, 2016, 5:41:26 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/physiq_mod.F90
r2606 r2611 216 216 217 217 USE paramLMDZ_phy_mod 218 219 USE cmp_seri_mod 218 220 219 221 !IM stations CFMIP … … 801 803 ! eva: evaporation de l'eau liquide nuageuse 802 804 ! vdf: couche limite (Vertical DiFfusion) 803 805 ! 804 806 ! tendance nulles 805 807 REAL, dimension(klon,klev):: du0, dv0, dt0, dq0, dql0, dqi0 808 ! 809 ! Flag pour pouvoir ne pas ajouter les tendances. 810 ! Par defaut, les tendances doivente etre ajoutees et 811 ! flag_inhib_tend = 0 812 ! flag_inhib_tend > 0 : tendances non ajoutees, avec un nombre 813 ! croissant de print quand la valeur du flag augmente 814 !!! attention, ce flag doit etre change avec prudence !!! 815 INTEGER :: flag_inhib_tend = 0 ! 0 is the default value 816 !! INTEGER :: flag_inhib_tend = 2 806 817 807 818 ! … … 1772 1783 ENDDO 1773 1784 ENDDO 1785 ! Initialize variables used for diagnostic purpose 1786 if (flag_inhib_tend .ne. 0) call init_cmp_seri 1774 1787 !IM 1775 1788 IF (ip_ebil_phy.ge.1) THEN … … 2217 2230 CALL add_pbl_tend & 2218 2231 (d_u_vdf,d_v_vdf,d_t_vdf+d_t_diss,d_q_vdf,dql0,dqi0,paprs,& 2219 'vdf',abortphy )2232 'vdf',abortphy,flag_inhib_tend) 2220 2233 ELSE 2221 2234 CALL add_phys_tend & 2222 2235 (d_u_vdf,d_v_vdf,d_t_vdf+d_t_diss,d_q_vdf,dql0,dqi0,paprs,& 2223 'vdf',abortphy )2236 'vdf',abortphy,flag_inhib_tend) 2224 2237 ENDIF 2225 2238 !-------------------------------------------------------------------- … … 2599 2612 2600 2613 CALL add_phys_tend(d_u_con, d_v_con, d_t_con, d_q_con, dql0, dqi0, paprs, & 2601 'convection',abortphy )2614 'convection',abortphy,flag_inhib_tend) 2602 2615 2603 2616 !------------------------------------------------------------------------- … … 2772 2785 d_q_wake(:,:)=dq_wake(:,:)*dtime 2773 2786 CALL add_phys_tend(du0,dv0,d_t_wake,d_q_wake,dql0,dqi0,paprs,'wake', & 2774 abortphy )2787 abortphy,flag_inhib_tend) 2775 2788 !------------------------------------------------------------------------ 2776 2789 … … 2919 2932 ! 2920 2933 CALL add_phys_tend(d_u_ajs,d_v_ajs,d_t_ajs,d_q_ajs, & 2921 dql0,dqi0,paprs,'thermals', abortphy )2934 dql0,dqi0,paprs,'thermals', abortphy,flag_inhib_tend) 2922 2935 ! 2923 2936 !>jyg … … 2983 2996 ! ajout des tendances de l'ajustement sec ou des thermiques 2984 2997 CALL add_phys_tend(du0,dv0,d_t_ajsb,d_q_ajsb,dql0,dqi0,paprs, & 2985 'ajsb',abortphy )2998 'ajsb',abortphy,flag_inhib_tend) 2986 2999 d_t_ajs(:,:)=d_t_ajs(:,:)+d_t_ajsb(:,:) 2987 3000 d_q_ajs(:,:)=d_q_ajs(:,:)+d_q_ajsb(:,:) … … 3042 3055 3043 3056 CALL add_phys_tend(du0,dv0,d_t_lsc,d_q_lsc,d_ql_lsc,d_qi_lsc,paprs, & 3044 'lsc',abortphy )3057 'lsc',abortphy,flag_inhib_tend) 3045 3058 !--------------------------------------------------------------------------- 3046 3059 DO k = 1, klev … … 3804 3817 ENDDO 3805 3818 3806 CALL add_phys_tend(du0,dv0,d_t_swr,dq0,dql0,dqi0,paprs,'SW',abortphy )3807 CALL add_phys_tend(du0,dv0,d_t_lwr,dq0,dql0,dqi0,paprs,'LW',abortphy )3819 CALL add_phys_tend(du0,dv0,d_t_swr,dq0,dql0,dqi0,paprs,'SW',abortphy,flag_inhib_tend) 3820 CALL add_phys_tend(du0,dv0,d_t_lwr,dq0,dql0,dqi0,paprs,'LW',abortphy,flag_inhib_tend) 3808 3821 3809 3822 ! … … 3889 3902 ! ajout des tendances de la trainee de l'orographie 3890 3903 CALL add_phys_tend(d_u_oro,d_v_oro,d_t_oro,dq0,dql0,dqi0,paprs,'oro', & 3891 abortphy )3904 abortphy,flag_inhib_tend) 3892 3905 !---------------------------------------------------------------------- 3893 3906 ! … … 3935 3948 ! ajout des tendances de la portance de l'orographie 3936 3949 CALL add_phys_tend(d_u_lif, d_v_lif, d_t_lif, dq0, dql0, dqi0, paprs, & 3937 'lif', abortphy )3950 'lif', abortphy,flag_inhib_tend) 3938 3951 ENDIF ! fin de test sur ok_orolf 3939 3952 … … 3958 3971 d_t_hin(:, :)=0. 3959 3972 CALL add_phys_tend(du_gwd_hines, dv_gwd_hines, d_t_hin, dq0, dql0, & 3960 dqi0, paprs, 'hin', abortphy )3973 dqi0, paprs, 'hin', abortphy,flag_inhib_tend) 3961 3974 ENDIF 3962 3975 … … 3975 3988 3976 3989 CALL add_phys_tend(du_gwd_front, dv_gwd_front, dt0, dq0, dql0, dqi0, & 3977 paprs, 'front_gwd_rando', abortphy )3990 paprs, 'front_gwd_rando', abortphy,flag_inhib_tend) 3978 3991 ENDIF 3979 3992 … … 3983 3996 du_gwd_rando, dv_gwd_rando, east_gwstress, west_gwstress) 3984 3997 CALL add_phys_tend(du_gwd_rando, dv_gwd_rando, dt0, dq0, dql0, dqi0, & 3985 paprs, 'flott_gwd_rando', abortphy )3998 paprs, 'flott_gwd_rando', abortphy,flag_inhib_tend) 3986 3999 zustr_gwd_rando=0. 3987 4000 zvstr_gwd_rando=0. … … 4046 4059 ! ajout de la tendance d'humidite due au methane 4047 4060 CALL add_phys_tend(du0, dv0, dt0, d_q_ch4*dtime, dql0, dqi0, paprs, & 4048 'q_ch4', abortphy )4061 'q_ch4', abortphy,flag_inhib_tend) 4049 4062 END IF 4050 4063 !
Note: See TracChangeset
for help on using the changeset viewer.