Changeset 2881
- Timestamp:
- May 15, 2017, 7:39:40 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/ener_conserv.F90
r2850 r2881 24 24 USE phys_local_var_mod, ONLY : d_t_eva,d_t_lsc,d_q_eva,d_q_lsc 25 25 USE phys_output_var_mod, ONLY : bils_ec,bils_ech,bils_tke,bils_kinetic,bils_enthalp,bils_latent,bils_diss 26 USE add_phys_tend_mod, ONLY : fl_cor_ebil 26 27 27 28 IMPLICIT none … … 59 60 DO k = 1, klev 60 61 DO i = 1, klon 61 ZRCPD = RCPD*(1.0+RVTMP2*(pqn(i,k)+pqln(i,k)+pqsn(i,k))) 62 d_t_ec(i,k)=0.5/ZRCPD & 63 & *(puo(i,k)**2+pvo(i,k)**2-pun(i,k)**2-pvn(i,k)**2) 64 ENDDO 65 ENDDO 62 IF (fl_cor_ebil .GT. 0) then 63 ZRCPD = RCPD*(1.0+RVTMP2*(pqn(i,k)+pqln(i,k)+pqsn(i,k))) 64 ELSE 65 ZRCPD = RCPD*(1.0+RVTMP2*pqn(i,k)) 66 ENDIF 67 d_t_ec(i,k)=0.5/ZRCPD & 68 & *(puo(i,k)**2+pvo(i,k)**2-pun(i,k)**2-pvn(i,k)**2) 69 ENDDO 70 ENDDO 66 71 !-jld ec_conser 67 72
Note: See TracChangeset
for help on using the changeset viewer.