Changeset 3646 for palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
- Timestamp:
- Dec 28, 2018 5:58:49 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/synthetic_turbulence_generator_mod.f90
r3579 r3646 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Bugfix: use time_since_reference_point instead of simulated_time (relevant 28 ! when using wall/soil spinup) 29 ! 30 ! 3579 2018-11-29 15:32:39Z suehring 27 31 ! - Bugfix in calculation of turbulence scaling parameters for turbulence 28 32 ! generator in case of topography … … 1054 1058 USE control_parameters, & 1055 1059 ONLY: child_domain, dt_3d, intermediate_timestep_count, & 1056 nesting_offline, rans_mode, simulated_time, volume_flow_initial 1060 nesting_offline, rans_mode, time_since_reference_point, & 1061 volume_flow_initial 1057 1062 1058 1063 USE grid_variables, & … … 1087 1092 ! 1088 1093 !-- Initial value of fu, fv, fw 1089 IF ( simulated_time== 0.0_wp .AND. .NOT. velocity_seed_initialized ) THEN1094 IF ( time_since_reference_point == 0.0_wp .AND. .NOT. velocity_seed_initialized ) THEN 1090 1095 CALL stg_generate_seed_yz( nuy, nuz, buy, buz, fu_yz, id_stg_left ) 1091 1096 CALL stg_generate_seed_yz( nvy, nvz, bvy, bvz, fv_yz, id_stg_left )
Note: See TracChangeset
for help on using the changeset viewer.