Skip to content

Commit

Permalink
Rename case to case_i
Browse files Browse the repository at this point in the history
  • Loading branch information
dzalkind committed Dec 3, 2024
1 parent d9986c4 commit 0f39767
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions weis/aeroelasticse/openmdao_openfast.py
Original file line number Diff line number Diff line change
Expand Up @@ -1886,11 +1886,11 @@ def run_FAST(self, inputs, discrete_inputs, fst_vt):
case_list.extend(case_list_i)
case_name.extend(case_name_i)

# Apply wind files to case_list
for case, wt, wf in zip(case_list,WindFile_type,WindFile_name):
case[('InflowWind','WindType')] = wt
case[('InflowWind','Filename_Uni')] = wf
case[('InflowWind','FileName_BTS')] = wf
# Apply wind files to case_list (this info will be in combined case matrix, but not individual DLCs)
for case_i, wt, wf in zip(case_list,WindFile_type,WindFile_name):
case_i[('InflowWind','WindType')] = wt
case_i[('InflowWind','Filename_Uni')] = wf
case_i[('InflowWind','FileName_BTS')] = wf

# Save some case info
self.TMax = [c.total_time for c in dlc_generator.cases]
Expand Down

0 comments on commit 0f39767

Please sign in to comment.