Changeset 57 for palm/trunk/SOURCE/diffusivities.f90
 Timestamp:
 Mar 9, 2007 12:05:41 PM (16 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

palm/trunk/SOURCE/diffusivities.f90
r4 r57 4 4 ! Actual revisions: 5 5 !  6 ! 6 ! Reference temperature pt_reference can be used in buoyancy term 7 7 ! 8 8 ! Former revisions: … … 90 90 dpt_dz = ( theta(k+1,j,i)  theta(k1,j,i) ) * dd2zu(k) 91 91 IF ( dpt_dz > 0.0 ) THEN 92 l_stable = 0.76 * sqrt_e(k) / & 93 SQRT( g / theta(k,j,i) * dpt_dz ) + 1E5 92 IF ( use_pt_reference ) THEN 93 l_stable = 0.76 * sqrt_e(k) / & 94 SQRT( g / pt_reference * dpt_dz ) + 1E5 95 ELSE 96 l_stable = 0.76 * sqrt_e(k) / & 97 SQRT( g / theta(k,j,i) * dpt_dz ) + 1E5 98 ENDIF 94 99 ELSE 95 100 l_stable = l_grid(k)
Note: See TracChangeset
for help on using the changeset viewer.