Skip to content

Commit

Permalink
bugfix turbulent wind file ending
Browse files Browse the repository at this point in the history
  • Loading branch information
rbehrensdeluna committed Jan 16, 2025
1 parent ea91ee2 commit 127a403
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weis/aeroelasticse/turbsim_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ def generate_wind_files(dlc_generator, FAST_namingOut, wind_directory, rotorD, h
# Write out turbsim input file
turbsim_input_file_name = FAST_namingOut + '_' + dlc_generator.cases[i_case].IEC_WindType + (
'_U%1.6f'%dlc_generator.cases[i_case].URef +
'_Seed%1.1f'%dlc_generator.cases[i_case].RandSeed1) + '.in'
wind_file_path_InflowWind = os.path.join("wind", turbsim_input_file_name[:-3] + '.bts')
'_Seed%1.1f'%dlc_generator.cases[i_case].RandSeed1) + '.inp'
wind_file_path_InflowWind = os.path.join("wind", turbsim_input_file_name[:-4] + '.bts')
turbsim_input_file_path = os.path.join(wind_directory, turbsim_input_file_name)
wind_file_name = turbsim_input_file_path[:-3] + '.bts'

Expand Down

0 comments on commit 127a403

Please sign in to comment.