Changeset 4329 for palm/trunk/SOURCE/wind_turbine_model_mod.f90
- Timestamp:
- Dec 10, 2019 3:46:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/wind_turbine_model_mod.f90
r4326 r4329 26 26 ! ----------------- 27 27 ! $Id$ 28 ! Renamed wall_flags_0 to wall_flags_static_0 29 ! 30 ! 4326 2019-12-06 14:16:14Z oliver.maas 28 31 ! changed format of turbine control output to allow for higher 29 32 ! torque and power values … … 111 114 USE indices, & 112 115 ONLY: nbgp, nx, nxl, nxlg, nxr, nxrg, ny, nyn, nyng, nys, nysg, nz, & 113 nzb, nzt, wall_flags_ 0116 nzb, nzt, wall_flags_static_0 114 117 115 118 USE kinds … … 2221 2224 ! 2222 2225 !-- Predetermine flag to mask topography 2223 flag = MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_ 0(k,j,i), 1 ) )2226 flag = MERGE( 1.0_wp, 0.0_wp, BTEST( wall_flags_static_0(k,j,i), 1 ) ) 2224 2227 2225 2228 ! … … 2695 2698 - tend_nac_x - tend_tow_x ) & 2696 2699 * MERGE( 1.0_wp, 0.0_wp, & 2697 BTEST( wall_flags_ 0(k,j,i), 1 ) )2700 BTEST( wall_flags_static_0(k,j,i), 1 ) ) 2698 2701 ENDDO 2699 2702 ENDDO … … 2715 2718 - tend_nac_y - tend_tow_y ) & 2716 2719 * MERGE( 1.0_wp, 0.0_wp, & 2717 BTEST( wall_flags_ 0(k,j,i), 2 ) )2720 BTEST( wall_flags_static_0(k,j,i), 2 ) ) 2718 2721 ENDDO 2719 2722 ENDDO … … 2730 2733 tend(k,j,i) = tend(k,j,i) - rot_tend_z(k,j,i) & 2731 2734 * MERGE( 1.0_wp, 0.0_wp, & 2732 BTEST( wall_flags_ 0(k,j,i), 3 ) )2735 BTEST( wall_flags_static_0(k,j,i), 3 ) ) 2733 2736 ENDDO 2734 2737 ENDDO … … 2781 2784 - tend_nac_x - tend_tow_x ) & 2782 2785 * MERGE( 1.0_wp, 0.0_wp, & 2783 BTEST( wall_flags_ 0(k,j,i), 1 ) )2786 BTEST( wall_flags_static_0(k,j,i), 1 ) ) 2784 2787 ENDDO 2785 2788 ENDIF … … 2797 2800 - tend_nac_y - tend_tow_y ) & 2798 2801 * MERGE( 1.0_wp, 0.0_wp, & 2799 BTEST( wall_flags_ 0(k,j,i), 2 ) )2802 BTEST( wall_flags_static_0(k,j,i), 2 ) ) 2800 2803 ENDDO 2801 2804 ENDIF … … 2808 2811 tend(k,j,i) = tend(k,j,i) - rot_tend_z(k,j,i) & 2809 2812 * MERGE( 1.0_wp, 0.0_wp, & 2810 BTEST( wall_flags_ 0(k,j,i), 3 ) )2813 BTEST( wall_flags_static_0(k,j,i), 3 ) ) 2811 2814 ENDDO 2812 2815 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.