Changeset 221 for palm/trunk/SOURCE
- Timestamp:
- Jan 12, 2009 3:32:23 PM (16 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/CURRENT_MODIFICATIONS
r217 r221 9 9 DVRP arguments changed to single precision, mode pathlines added. 10 10 11 User can add additional routines in files user_additional_routines .f9011 User can add additional routines in files user_additional_routines 12 12 13 13 User can check user parameters and deduce further quantities in user_check_parameters … … 76 76 of grid points do not match (read_3d_binary) 77 77 78 advec_particles, combine_plot_fields, data_output_2d, header, production_e, read_3d_binary 78 Bugfix: abort in case that absolute temperature is below zero (init_cloud_physics) 79 80 advec_particles, combine_plot_fields, data_output_2d, header, init_cloud_physics, production_e, read_3d_binary -
palm/trunk/SOURCE/init_cloud_physics.f90
r98 r221 4 4 ! Actual revisions: 5 5 ! ----------------- 6 ! 6 ! Bugfix: abort in case that absolute temperature is below zero 7 7 ! 8 8 ! Former revisions: … … 62 62 t_surface = pt_surface * ( surface_pressure / 1000.0 )**0.286 63 63 DO k = nzb, nzt+1 64 ! 65 !-- Check temperature in case of too large domain height 66 IF ( ( t_surface - g/cp * zu(k) ) < 0.0 ) THEN 67 WRITE( message_string, * ) 'absolute temperature < 0.0 at zu(', k, & 68 ') = ', zu(k) 69 CALL handle_palm_message( 'init_cloud_physics', 'PA0142', 1, 2, 0, 6, & 70 0 ) 71 ENDIF 64 72 hyp(k) = surface_pressure * 100.0 * & 65 73 ( (t_surface - g/cp * zu(k)) / t_surface )**(1.0/0.286)
Note: See TracChangeset
for help on using the changeset viewer.