Changeset 1106 for palm/trunk/SOURCE/prognostic_equations.f90
- Timestamp:
- Mar 4, 2013 5:31:38 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/prognostic_equations.f90
r1093 r1106 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! small changes in code formatting 23 23 ! 24 24 ! Former revisions: … … 418 418 419 419 ! 420 !-- If required, calculate tendencies for total water content, rain water 421 !-- content, rain drop concentration and liquid temperature 422 423 IF ( cloud_physics .AND. icloud_scheme == 0 ) THEN 424 425 tend_q(:,j,i) = 0.0 426 tend_qr(:,j,i) = 0.0 427 tend_nr(:,j,i) = 0.0 428 tend_pt(:,j,i) = 0.0 429 ! 430 !-- Droplet size distribution (dsd) properties are needed for the 431 !-- computation of selfcollection, breakup, evaporation and 432 !-- sedimentation of rain. 433 IF ( precipitation ) THEN 434 CALL dsd_properties( i,j ) 435 CALL autoconversion( i,j ) 436 CALL accretion( i,j ) 437 CALL selfcollection_breakup( i,j ) 438 CALL evaporation_rain( i,j ) 439 CALL sedimentation_rain( i,j ) 440 ENDIF 441 442 IF ( drizzle ) CALL sedimentation_cloud( i,j ) 443 444 ENDIF 420 !-- If required, calculate tendencies for total water content, rain water 421 !-- content, rain drop concentration and liquid temperature 422 IF ( cloud_physics .AND. icloud_scheme == 0 ) THEN 423 424 tend_q(:,j,i) = 0.0 425 tend_qr(:,j,i) = 0.0 426 tend_nr(:,j,i) = 0.0 427 tend_pt(:,j,i) = 0.0 428 ! 429 !-- Droplet size distribution (dsd) properties are needed for the 430 !-- computation of selfcollection, breakup, evaporation and 431 !-- sedimentation of rain 432 IF ( precipitation ) THEN 433 CALL dsd_properties( i,j ) 434 CALL autoconversion( i,j ) 435 CALL accretion( i,j ) 436 CALL selfcollection_breakup( i,j ) 437 CALL evaporation_rain( i,j ) 438 CALL sedimentation_rain( i,j ) 439 ENDIF 440 441 IF ( drizzle ) CALL sedimentation_cloud( i,j ) 442 443 ENDIF 445 444 446 445 ! … … 469 468 ENDIF 470 469 470 ! 471 471 !-- Using microphysical tendencies (latent heat) 472 472 IF ( cloud_physics ) THEN 473 473 IF ( icloud_scheme == 0 ) THEN 474 474 tend(:,j,i) = tend(:,j,i) + tend_pt(:,j,i) 475 ELSEIF ( icloud_scheme == 1 .AND. precipitation) THEN475 ELSEIF ( icloud_scheme == 1 .AND. precipitation ) THEN 476 476 CALL impact_of_latent_heat( i, j ) 477 477 ENDIF … … 480 480 ! 481 481 !-- Consideration of heat sources within the plant canopy 482 IF ( plant_canopy .AND. ( cthf /= 0.0 ) )THEN482 IF ( plant_canopy .AND. cthf /= 0.0 ) THEN 483 483 CALL plant_canopy_model( i, j, 4 ) 484 484 ENDIF 485 485 486 486 ! 487 !-- If required, compute influenceof large-scale subsidence/ascent487 !-- If required, compute effect of large-scale subsidence/ascent 488 488 IF ( large_scale_subsidence ) THEN 489 489 CALL subsidence( i, j, tend, pt, pt_init ) 490 490 ENDIF 491 492 491 493 492 CALL user_actions( i, j, 'pt-tendency' ) … … 600 599 IF ( icloud_scheme == 0 ) THEN 601 600 tend(:,j,i) = tend(:,j,i) + tend_q(:,j,i) 602 ELSEIF ( icloud_scheme == 1 .AND.precipitation ) THEN601 ELSEIF ( icloud_scheme == 1 .AND. precipitation ) THEN 603 602 CALL calc_precipitation( i, j ) 604 603 ENDIF … … 606 605 ! 607 606 !-- Sink or source of scalar concentration due to canopy elements 608 IF ( plant_canopy ) CALL plant_canopy_model( i, j, 5 )607 IF ( plant_canopy ) CALL plant_canopy_model( i, j, 5 ) 609 608 610 609 ! … … 645 644 !-- If required, calculate prognostic equations for rain water content 646 645 !-- and rain drop concentration 647 IF ( cloud_physics .AND.icloud_scheme == 0 ) THEN646 IF ( cloud_physics .AND. icloud_scheme == 0 ) THEN 648 647 ! 649 648 !-- Calculate prognostic equation for rain water content … … 706 705 IF ( timestep_scheme(1:5) == 'runge' ) THEN 707 706 IF ( ws_scheme_sca ) THEN 708 CALL advec_s_ws( i, j, nr, 'nr', flux_s_nr, &709 diss_s_nr, flux_l_nr, diss_l_nr, &710 i_omp_start, tn )707 CALL advec_s_ws( i, j, nr, 'nr', flux_s_nr, & 708 diss_s_nr, flux_l_nr, diss_l_nr, & 709 i_omp_start, tn ) 711 710 ELSE 712 711 CALL advec_s_pw( i, j, nr )
Note: See TracChangeset
for help on using the changeset viewer.