- Timestamp:
- May 22, 2014, 5:30:38 PM (10 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/ener_conserv.F90
r2042 r2051 153 153 154 154 bils_ec(:)=0. 155 bils_ech(:)=0.156 155 bils_tke(:)=0. 157 156 bils_diss(:)=0. … … 161 160 DO k=1,klev 162 161 bils_ec(:)=bils_ec(:)-d_t_ec(:,k)*masse(:,k) 163 bils_ech(:)=bils_ech(:)-d_t_ech(:,k)*masse(:,k)164 162 bils_tke(:)=bils_tke(:)+0.5*(dtke(:,k)+dtke(:,k+1))*masse(:,k) 165 163 bils_diss(:)=bils_diss(:)-d_t_diss(:,k)*masse(:,k) … … 175 173 ENDDO 176 174 bils_ec(:)=rcpd*bils_ec(:)/pdtphys 177 bils_ech(:)=rcpd*bils_ech(:)/pdtphys178 175 bils_tke(:)=bils_tke(:)/pdtphys 179 176 bils_diss(:)=rcpd*bils_diss(:)/pdtphys … … 181 178 bils_enthalp(:)=rcpd*bils_enthalp(:)/pdtphys 182 179 bils_latent(:)=rlvtt*bils_latent(:)/pdtphys 180 181 IF (iflag_ener_conserv>=1) THEN 182 bils_ech(:)=0. 183 DO k=1,klev 184 bils_ech(:)=bils_ech(:)-d_t_ech(:,k)*masse(:,k) 185 ENDDO 186 bils_ech(:)=rcpd*bils_ech(:)/pdtphys 187 ENDIF 188 183 189 RETURN 184 190 -
LMDZ5/trunk/libf/phylmd/phys_output_write_mod.F90
r2042 r2051 467 467 CALL histwrite_phy(o_bils_diss, bils_diss) 468 468 CALL histwrite_phy(o_bils_ec, bils_ec) 469 CALL histwrite_phy(o_bils_ech, bils_ech) 469 IF (iflag_ener_conserv>=1) THEN 470 CALL histwrite_phy(o_bils_ech, bils_ech) 471 ENDIF 470 472 CALL histwrite_phy(o_bils_tke, bils_tke) 471 473 CALL histwrite_phy(o_bils_kinetic, bils_kinetic)
Note: See TracChangeset
for help on using the changeset viewer.