Changeset 2941 for palm/trunk/SOURCE
- Timestamp:
- Apr 3, 2018 11:54:58 AM (7 years ago)
- Location:
- palm/trunk/SOURCE
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/parin.f90
r2938 r2941 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Fix for spinup in case of restart run 28 ! 29 ! 2938 2018-03-27 15:52:42Z suehring 27 30 ! Change initialization in case child domain should be initialized with Inifor. 28 31 ! … … 849 852 ENDIF 850 853 end_time = end_time + spinup_time 851 spinup = .TRUE. 854 IF ( TRIM( initializing_actions ) /= 'read_restart_data' ) & 855 spinup = .TRUE. 852 856 ENDIF 853 857 ENDIF -
palm/trunk/SOURCE/radiation_model_mod.f90
r2932 r2941 28 28 ! ----------------- 29 29 ! $Id$ 30 ! No read of nsurfl from SVF file since it is calculated in 31 ! radiation_interaction_init, 32 ! allocation of arrays in radiation_read_svf only if not yet allocated, 33 ! update of 2920 revision comment. 34 ! 35 ! 2932 2018-03-26 09:39:22Z maronga 30 36 ! renamed radiation_par to radiation_parameters 31 37 ! … … 37 43 ! 2920 2018-03-22 11:22:01Z kanani 38 44 ! - Bugfix: Initialize pcbl array (=-1) 39 ! moh.hefny:40 ! - Use precalculated apparent solar positions for direct irradiance41 ! - Cumulative commit for radiation changes - merged RTM version 2.0:42 ! - New version of radiation interaction43 ! - Added new 2D raytracing process using whole vertical column at once (e.g.44 ! memory efficiency & much less RMA)45 ! - Removed virtual surfaces46 ! - Separate processing of direct and diffuse solar radiation, new discreti47 ! zation by azimuth and elevation angles48 ! - Diffuse radiation processed cumulatively using sky view factor49 ! - Enabled limiting of number of view factors between real surfaces, thus50 ! greatly enhancing scalability51 ! - Minor bugfixes and enhancements52 ! - Fixing bugs from moving radiation interaction from urban_surface_mod53 ! 45 ! RTM version 2.0 (Jaroslav Resler, Pavel Krc, Mohamed Salim): 46 ! - new major version of radiation interactions 47 ! - substantially enhanced performance and scalability 48 ! - processing of direct and diffuse solar radiation separated from reflected 49 ! radiation, removed virtual surfaces 50 ! - new type of sky discretization by azimuth and elevation angles 51 ! - diffuse radiation processed cumulatively using sky view factor 52 ! - used precalculated apparent solar positions for direct irradiance 53 ! - added new 2D raytracing process for processing whole vertical column at once 54 ! to increase memory efficiency and decrease number of MPI RMA operations 55 ! - enabled limiting the number of view factors between surfaces by the distance 56 ! and value 57 ! - fixing issues induced by transferring radiation interactions from 58 ! urban_surface_mod to radiation_mod 59 ! - bugfixes and other minor enhancements 54 60 ! 55 61 ! 2906 2018-03-19 08:56:40Z Giersch … … 6649 6655 INTEGER(iwp) :: fsvf = 88 6650 6656 INTEGER(iwp) :: i 6657 INTEGER(iwp) :: nsurfl_from_file = 0 6651 6658 CHARACTER(rad_version_len) :: rad_version_field 6652 6659 CHARACTER(svf_code_len) :: svf_code_field … … 6669 6676 6670 6677 !-- read nsvfl, ncsfl 6671 READ ( fsvf ) nsvfl, ncsfl, nsurfl 6678 READ ( fsvf ) nsvfl, ncsfl, nsurfl_from_file 6672 6679 IF ( nsvfl <= 0 .OR. ncsfl < 0 ) THEN 6673 6680 WRITE( message_string, * ) 'Wrong number of SVF or CSF' … … 6678 6685 CALL location_message( message_string, .TRUE. ) 6679 6686 ENDIF 6687 IF ( nsurfl_from_file /= nsurfl ) THEN 6688 WRITE( message_string, * ) 'nsurfl from SVF file does not ', & 6689 'match calculated nsurfl from ', & 6690 'radiation_interaction_init' 6691 CALL message( 'radiation_read_svf', 'PA0490', 1, 2, 0, 6, 0 ) 6692 ENDIF 6680 6693 6681 ALLOCATE(skyvf(nsurfl))6682 ALLOCATE(skyvft(nsurfl))6683 ALLOCATE(svf(ndsvf,nsvfl))6684 ALLOCATE(svfsurf(idsvf,nsvfl))6694 IF ( .NOT. ALLOCATED( skyvf ) ) ALLOCATE( skyvf(nsurfl) ) 6695 IF ( .NOT. ALLOCATED( skyvft ) ) ALLOCATE( skyvft(nsurfl) ) 6696 IF ( .NOT. ALLOCATED( svf ) ) ALLOCATE( svf(ndsvf,nsvfl) ) 6697 IF ( .NOT. ALLOCATED( svfsurf ) ) ALLOCATE( svfsurf(idsvf,nsvfl) ) 6685 6698 READ(fsvf) skyvf 6686 6699 READ(fsvf) skyvft … … 6688 6701 READ(fsvf) svfsurf 6689 6702 IF ( plant_canopy ) THEN 6690 ALLOCATE(csf(ndcsf,ncsfl))6691 ALLOCATE(csfsurf(idcsf,ncsfl))6703 IF ( .NOT. ALLOCATED( csf ) ) ALLOCATE( csf(ndcsf,ncsfl) ) 6704 IF ( .NOT. ALLOCATED( csfsurf ) ) ALLOCATE( csfsurf(idcsf,ncsfl) ) 6692 6705 READ(fsvf) csf 6693 6706 READ(fsvf) csfsurf -
palm/trunk/SOURCE/time_integration.f90
r2938 r2941 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Deduct spinup_time from RUN_CONTROL output of main 3d run 28 ! (use time_since_reference_point instead of simulated_time) 29 ! 30 ! 2938 2018-03-27 15:52:42Z suehring 27 31 ! Nesting of dissipation rate in case of RANS mode and TKE-e closure is applied 28 32 ! … … 1059 1063 current_timestep_number = current_timestep_number + 1 1060 1064 simulated_time = simulated_time + dt_3d 1061 simulated_time_chr = time_to_string( simulated_time )1062 1065 time_since_reference_point = simulated_time - coupling_start_time 1066 simulated_time_chr = time_to_string( time_since_reference_point ) 1067 1063 1068 1064 1069
Note: See TracChangeset
for help on using the changeset viewer.