Changeset 2903 for LMDZ5/trunk
- Timestamp:
- Jun 6, 2017, 12:24:43 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/ener_conserv.F90
r2895 r2903 27 27 USE phys_state_var_mod, ONLY : du_gwd_front,du_gwd_rando 28 28 USE phys_output_var_mod, ONLY : bils_ec,bils_ech,bils_tke,bils_kinetic,bils_enthalp,bils_latent,bils_diss 29 USE add_phys_tend_mod, ONLY : fl_cor_ebil 30 29 31 30 32 IMPLICIT none … … 62 64 DO k = 1, klev 63 65 DO i = 1, klon 64 ZRCPD = RCPD*(1.0+RVTMP2*(pqn(i,k)+pqln(i,k)+pqsn(i,k))) 65 d_t_ec(i,k)=0.5/ZRCPD & 66 & *(puo(i,k)**2+pvo(i,k)**2-pun(i,k)**2-pvn(i,k)**2) 67 ENDDO 68 ENDDO 66 IF (fl_cor_ebil .GT. 0) then 67 ZRCPD = RCPD*(1.0+RVTMP2*(pqn(i,k)+pqln(i,k)+pqsn(i,k))) 68 ELSE 69 ZRCPD = RCPD*(1.0+RVTMP2*pqn(i,k)) 70 ENDIF 71 d_t_ec(i,k)=0.5/ZRCPD & 72 & *(puo(i,k)**2+pvo(i,k)**2-pun(i,k)**2-pvn(i,k)**2) 73 ENDDO 74 ENDDO 69 75 !-jld ec_conser 70 76
Note: See TracChangeset
for help on using the changeset viewer.