Changeset 95 for palm/trunk/SOURCE/init_cloud_physics.f90
- Timestamp:
- Jun 2, 2007 4:48:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_cloud_physics.f90
r4 r95 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! hydro_press renamed hyp 7 7 ! 8 8 ! Former revisions: … … 35 35 REAL :: t_surface 36 36 37 ALLOCATE( hy dro_press(nzb:nzt+1), pt_d_t(nzb:nzt+1), t_d_pt(nzb:nzt+1) )37 ALLOCATE( hyp(nzb:nzt+1), pt_d_t(nzb:nzt+1), t_d_pt(nzb:nzt+1) ) 38 38 39 39 ! … … 54 54 !-- pt / t : ratio of potential and actual temperature (pt_d_t) 55 55 !-- t / pt : ratio of actual and potential temperature (t_d_pt) 56 !-- p_0(z) : vertical profile of the hydrostatic pressure (hy dro_press)56 !-- p_0(z) : vertical profile of the hydrostatic pressure (hyp) 57 57 t_surface = pt_surface * ( surface_pressure / 1000.0 )**0.286 58 58 DO k = nzb, nzt+1 59 hy dro_press(k)= surface_pressure * 100.0 * &60 61 pt_d_t(k) = ( 100000.0 / hydro_press(k) )**0.28662 t_d_pt(k) 59 hyp(k) = surface_pressure * 100.0 * & 60 ( (t_surface - g/cp * zu(k)) / t_surface )**(1.0/0.286) 61 pt_d_t(k) = ( 100000.0 / hyp(k) )**0.286 62 t_d_pt(k) = 1.0 / pt_d_t(k) 63 63 ENDDO 64 64
Note: See TracChangeset
for help on using the changeset viewer.