Skip to content

Commit

Permalink
expanding tests to (almost) all openfast glue-code r-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankchetan committed Aug 28, 2024
1 parent d3f0c30 commit bb7f142
Showing 1 changed file with 41 additions and 12 deletions.
53 changes: 41 additions & 12 deletions openfast_io/openfast_io/tests/test_of_io_pytest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,46 @@

# Exercising the various OpenFAST modules
FOLDERS_TO_RUN = [
"5MW_Land_DLL_WTurb" , # "openfast;elastodyn;aerodyn15;servodyn")
"5MW_OC3Mnpl_DLL_WTurb_WavesIrr" , # "openfast;elastodyn;aerodyn15;servodyn;hydrodyn;subdyn;offshore")
"5MW_OC3Mnpl_DLL_WTurb_WavesIrr_Restart", # "openfast;elastodyn;aerodyn15;servodyn;hydrodyn;subdyn;offshore;restart")
"5MW_ITIBarge_DLL_WTurb_WavesIrr" , # "openfast;elastodyn;aerodyn15;servodyn;hydrodyn;map;offshore")
"5MW_OC4Semi_WSt_WavesWN" , # "openfast;elastodyn;aerodyn15;servodyn;hydrodyn;moordyn;offshore")
"5MW_Land_BD_DLL_WTurb" , # "openfast;beamdyn;aerodyn15;servodyn")
"5MW_OC4Jckt_ExtPtfm" , # "openfast;elastodyn;extptfm")
"HelicalWake_OLAF" , # "openfast;aerodyn15;olaf")
"StC_test_OC4Semi" , # "openfast;servodyn;hydrodyn;moordyn;offshore;stc")
"MHK_RM1_Fixed" , # "openfast;elastodyn;aerodyn15;mhk")
"MHK_RM1_Floating" , # "openfast;elastodyn;aerodyn15;hydrodyn;moordyn;mhk")
# "Tailfin_FreeYaw1DOF_PolarBased" , # "openfast;elastodyn;aerodyn15") # lets wait for furl to be included in fst_vt
"AWT_YFix_WSt" , # "openfast;elastodyn;aerodyn;servodyn")
"AWT_WSt_StartUp_HighSpShutDown" , # "openfast;elastodyn;aerodyn;servodyn")
"AWT_YFree_WSt" , # "openfast;elastodyn;aerodyn;servodyn")
"AWT_YFree_WTurb" , # "openfast;elastodyn;aerodyn;servodyn")
"AWT_WSt_StartUpShutDown" , # "openfast;elastodyn;aerodyn;servodyn")
"AOC_WSt" , # "openfast;elastodyn;aerodyn;servodyn")
"AOC_YFree_WTurb" , # "openfast;elastodyn;aerodyn;servodyn")
"AOC_YFix_WSt" , # "openfast;elastodyn;aerodyn;servodyn")
"UAE_Dnwind_YRamp_WSt" , # "openfast;elastodyn;aerodyn;servodyn")
"UAE_Upwind_Rigid_WRamp_PwrCurve" , # "openfast;elastodyn;aerodyn;servodyn")
"WP_VSP_WTurb_PitchFail" , # "openfast;elastodyn;aerodyn;servodyn")
"WP_VSP_ECD" , # "openfast;elastodyn;aerodyn;servodyn")
"WP_VSP_WTurb" , # "openfast;elastodyn;aerodyn;servodyn")
"SWRT_YFree_VS_EDG01" , # "openfast;elastodyn;aerodyn;servodyn")
"SWRT_YFree_VS_EDC01" , # "openfast;elastodyn;aerodyn;servodyn")
"SWRT_YFree_VS_WTurb" , # "openfast;elastodyn;aerodyn;servodyn")
"5MW_Land_DLL_WTurb" , # "openfast;elastodyn;aerodyn;servodyn")
"5MW_Land_DLL_WTurb_ADsk" ,
"5MW_Land_DLL_WTurb_ADsk_SED" ,
"5MW_Land_DLL_WTurb_SED" ,
"5MW_Land_DLL_WTurb_wNacDrag" , # "openfast;elastodyn;aerodyn;servodyn")
"5MW_OC3Mnpl_DLL_WTurb_WavesIrr" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;subdyn;offshore")
"5MW_OC3Mnpl_DLL_WTurb_WavesIrr_Restart" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;subdyn;offshore;restart")
"5MW_OC3Trpd_DLL_WSt_WavesReg" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;subdyn;offshore")
"5MW_OC4Jckt_DLL_WTurb_WavesIrr_MGrowth" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;subdyn;offshore")
"5MW_ITIBarge_DLL_WTurb_WavesIrr" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;map;offshore")
"5MW_TLP_DLL_WTurb_WavesIrr_WavesMulti" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;map;offshore")
"5MW_OC3Spar_DLL_WTurb_WavesIrr" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;map;offshore")
"5MW_OC4Semi_WSt_WavesWN" , # "openfast;elastodyn;aerodyn;servodyn;hydrodyn;moordyn;offshore")
"5MW_Land_BD_DLL_WTurb" , # "openfast;beamdyn;aerodyn;servodyn")
"5MW_Land_BD_Init" , # "openfast;beamdyn;aerodyn;servodyn")
"5MW_OC4Jckt_ExtPtfm" , # "openfast;elastodyn;extptfm")
"HelicalWake_OLAF" , # "openfast;aerodyn;olaf")
"EllipticalWing_OLAF" , # "openfast;aerodyn;olaf")
"StC_test_OC4Semi" , # "openfast;servodyn;hydrodyn;moordyn;offshore;stc")
"MHK_RM1_Fixed" , # "openfast;elastodyn;aerodyn;mhk")
"MHK_RM1_Floating" , # "openfast;elastodyn;aerodyn;hydrodyn;moordyn;mhk")
"MHK_RM1_Floating_wNacDrag" , # "openfast;elastodyn;aerodyn;hydrodyn;moordyn;mhk")
"Tailfin_FreeYaw1DOF_PolarBased" , # "openfast;elastodyn;aerodyn")
"Tailfin_FreeYaw1DOF_Unsteady" , # "openfast;elastodyn;aerodyn")
]


Expand Down Expand Up @@ -69,6 +97,7 @@ def write_action(folder, fst_vt, path_dict = getPaths()):
fast_writer.fst_vt = dict(fst_vt)
fst_vt = {}
fst_vt['Fst', 'TMax'] = 2.
fst_vt['Fst', 'TStart'] = 0.
fst_vt['Fst','OutFileFmt'] = 3
# check if the case needs ServoDyn
if 'DLL_FileName' in fast_writer.fst_vt['ServoDyn']:
Expand Down

0 comments on commit bb7f142

Please sign in to comment.