Changeset 4877 for palm/trunk/SOURCE/init_3d_model.f90
- Timestamp:
- Feb 17, 2021 4:17:35 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_3d_model.f90
r4848 r4877 24 24 ! ----------------- 25 25 ! $Id$ 26 ! Bugfix in initialization of vertical surfaces with roughness and surface heat fluxes 27 ! 28 ! 4848 2021-01-21 15:51:51Z gronemeier 26 29 ! replaced use_syn_turb_gen by syn_turb_gen 27 30 ! … … 166 169 167 170 USE control_parameters 171 172 USE exchange_horiz_mod, & 173 ONLY: exchange_horiz_2d 168 174 169 175 USE grid_variables, & … … 207 213 pids_id, & 208 214 real_2d, & 215 resize_array, & 209 216 vars_pids 210 217 … … 1508 1515 !-- Read variable 1509 1516 CALL get_variable( pids_id, 'z0', tmp_2d%var, nxl, nxr, nys, nyn ) 1517 CALL resize_array( tmp_2d%var, nys, nyn, nxl, nxr ) 1518 CALL exchange_horiz_2d( tmp_2d%var ) 1510 1519 ! 1511 1520 !-- Initialize roughness length. Note, z0 will be only initialized at default-type surfaces. … … 1534 1543 !-- Read variable 1535 1544 CALL get_variable( pids_id, 'shf', tmp_2d%var, nxl, nxr, nys, nyn ) 1545 CALL resize_array( tmp_2d%var, nys, nyn, nxl, nxr ) 1546 CALL exchange_horiz_2d( tmp_2d%var ) 1536 1547 ! 1537 1548 !-- Initialize heat flux. Note, shf will be only initialized at default-type surfaces. At … … 1561 1572 !-- Read variable 1562 1573 CALL get_variable( pids_id, 'qsws', tmp_2d%var, nxl, nxr, nys, nyn ) 1574 CALL resize_array( tmp_2d%var, nys, nyn, nxl, nxr ) 1575 CALL exchange_horiz_2d( tmp_2d%var ) 1563 1576 ! 1564 1577 !-- Initialize latent heat flux. Note, qsws will be only initialized at default-type surfaces. … … 1590 1603 !-- Read variable 1591 1604 CALL get_variable( pids_id, 'ssws', tmp_2d%var, nxl, nxr, nys, nyn ) 1605 CALL resize_array( tmp_2d%var, nys, nyn, nxl, nxr ) 1606 CALL exchange_horiz_2d( tmp_2d%var ) 1592 1607 ! 1593 1608 !-- Initialize passive scalar flux. Initialize horizontal surface elements.
Note: See TracChangeset
for help on using the changeset viewer.