Changeset 3937 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Apr 29, 2019 3:09:07 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r3900 r3937 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Move initialization of synthetic turbulence generator behind initialization 28 ! of offline nesting. Remove call for stg_adjust, as this is now already done 29 ! in stg_init. 30 ! 31 ! 3900 2019-04-16 15:17:43Z suehring 27 32 ! Fix problem with LOD = 2 initialization 28 33 ! … … 666 671 667 672 USE synthetic_turbulence_generator_mod, & 668 ONLY: parametrize_inflow_turbulence, stg_adjust, stg_init, & 669 use_syn_turb_gen 673 ONLY: parametrize_inflow_turbulence, stg_init, use_syn_turb_gen 670 674 671 675 USE surface_layer_fluxes_mod, & … … 1305 1309 !-- fluxes, etc. 1306 1310 CALL init_surfaces 1307 !1308 !-- Initialize turbulence generator1309 IF( use_syn_turb_gen ) CALL stg_init1310 1311 1311 1312 CALL location_message( 'initializing with INIFOR', 'finished' ) … … 1375 1376 !-- fluxes, etc. 1376 1377 CALL init_surfaces 1377 !1378 !-- Initialize synthetic turbulence generator if required1379 IF( use_syn_turb_gen ) CALL stg_init1380 1378 1381 1379 CALL location_message( 'initializing with 1D model profiles', 'finished' ) … … 1446 1444 !-- fluxes, etc. 1447 1445 CALL init_surfaces 1448 !1449 !-- Initialize synthetic turbulence generator if required1450 IF( use_syn_turb_gen ) CALL stg_init1451 1446 1452 1447 CALL location_message( 'initializing with constant profiles', 'finished' ) … … 1868 1863 ENDIF 1869 1864 IF ( passive_scalar ) ts_m = 0.0_wp 1870 !1871 !-- Initialize synthetic turbulence generator in case of restart.1872 IF ( TRIM( initializing_actions ) == 'read_restart_data' .AND. &1873 use_syn_turb_gen ) CALL stg_init1874 1865 1875 1866 CALL location_message( 'initializing in case of restart / cyclic_fill', 'finished' ) … … 2315 2306 IF ( agents_active ) CALL mas_init 2316 2307 ! 2317 !-- In case the synthetic turbulence generator does not have any information 2318 !-- about the inflow turbulence, these information will be parametrized 2319 !-- depending on the initial atmospheric conditions and surface properties. 2320 !-- Please note, within pre-determined time intervals these turbulence 2321 !-- information can be updated if desired. 2322 IF ( use_syn_turb_gen .AND. parametrize_inflow_turbulence ) THEN 2323 CALL stg_adjust 2324 ENDIF 2308 !-- Initialization of synthetic turbulence generator 2309 IF ( use_syn_turb_gen ) CALL stg_init 2325 2310 ! 2326 2311 !-- Initializing actions for all other modules
Note: See TracChangeset
for help on using the changeset viewer.