Changeset 3467 for palm/trunk/SOURCE/time_integration.f90
- Timestamp:
- Oct 30, 2018 7:05:21 PM (5 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE
-
palm/trunk/SOURCE/time_integration.f90
r3448 r3467 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Implementation of a new aerosol module salsa. 28 ! 29 ! 3448 2018-10-29 18:14:31Z kanani 27 30 ! Add biometeorology 28 31 ! … … 549 552 stg_adjust, stg_main, time_stg_adjust, time_stg_call, & 550 553 use_syn_turb_gen 554 555 USE salsa_mod, & 556 ONLY: aerosol_number, aerosol_mass, nbins, ncc_tot, ngast, salsa, & 557 salsa_boundary_conds, salsa_gas, salsa_gases_from_chem, & 558 skip_time_do_salsa 551 559 552 560 USE user_actions_mod, & … … 571 579 572 580 CHARACTER (LEN=9) :: time_to_string !< 573 574 INTEGER(iwp) :: lsp !< 581 582 INTEGER(iwp) :: b !< index for aerosol size bins 583 INTEGER(iwp) :: c !< index for chemical compounds in aerosol size bins 584 INTEGER(iwp) :: g !< index for gaseous compounds 585 INTEGER(iwp) :: lsp 575 586 INTEGER(iwp) :: lsp_usr !< 576 587 INTEGER(iwp) :: n !< loop counter for chemistry species … … 694 705 CALL cpu_log( log_point(55), 'wind_turbine', 'stop' ) 695 706 696 ENDIF 707 ENDIF 697 708 698 709 ! … … 852 863 ENDIF 853 864 865 IF ( salsa .AND. time_since_reference_point >= skip_time_do_salsa )& 866 THEN 867 CALL cpu_log( log_point_s(91), 'salsa exch-horiz ', 'start' ) 868 DO b = 1, nbins 869 CALL exchange_horiz( aerosol_number(b)%conc_p, nbgp ) 870 CALL cpu_log( log_point_s(93), 'salsa decycle', 'start' ) 871 CALL salsa_boundary_conds( aerosol_number(b)%conc_p, & 872 aerosol_number(b)%init ) 873 CALL cpu_log( log_point_s(93), 'salsa decycle', 'stop' ) 874 DO c = 1, ncc_tot 875 CALL exchange_horiz( aerosol_mass((c-1)*nbins+b)%conc_p, & 876 nbgp ) 877 CALL cpu_log( log_point_s(93), 'salsa decycle', 'start' ) 878 CALL salsa_boundary_conds( aerosol_mass((c-1)*nbins+b)%conc_p,& 879 aerosol_mass((c-1)*nbins+b)%init ) 880 CALL cpu_log( log_point_s(93), 'salsa decycle', 'stop' ) 881 ENDDO 882 ENDDO 883 IF ( .NOT. salsa_gases_from_chem ) THEN 884 DO g = 1, ngast 885 CALL exchange_horiz( salsa_gas(g)%conc_p, nbgp ) 886 CALL cpu_log( log_point_s(93), 'salsa decycle', 'start' ) 887 CALL salsa_boundary_conds( salsa_gas(g)%conc_p, & 888 salsa_gas(g)%init ) 889 CALL cpu_log( log_point_s(93), 'salsa decycle', 'stop' ) 890 ENDDO 891 ENDIF 892 CALL cpu_log( log_point_s(91), 'salsa exch-horiz ', 'stop' ) 893 ENDIF 894 854 895 CALL cpu_log( log_point(26), 'exchange-horiz-progn', 'stop' ) 855 896 … … 906 947 ENDIF 907 948 908 IF ( passive_scalar ) CALL exchange_horiz( s, nbgp ) 949 IF ( passive_scalar ) CALL exchange_horiz( s, nbgp ) 950 909 951 IF ( .NOT. constant_diffusion ) CALL exchange_horiz( e, nbgp ) 910 952 … … 926 968 !-- Correct the w top-BC in nest domains to ensure mass conservation. 927 969 !-- This action must never be done for the root domain. Vertical 928 !-- nesting implies mass conservation.929 970 !-- Commented out April 18, 2018 as seemingly unnecessary. 930 971 !-- Will later be completely removed. … … 1248 1289 time_dopr = time_dopr + dt_3d 1249 1290 ENDIF 1250 time_dopr_listing = time_dopr_listing+ dt_3d1291 time_dopr_listing = time_dopr_listing + dt_3d 1251 1292 time_run_control = time_run_control + dt_3d 1252 1293 !
Note: See TracChangeset
for help on using the changeset viewer.