Skip to content

Commit 209644b

Browse files
authored
Updates from welib and FAST.Farm examples on github action (#64)
* Updates from welib * Adding IEA15 model * Adding Example 0, update Example 1 so it can run on github action * Adapting Example 2 for FAST.Farm so it can run on github action * Adapting Example 3 for FAST.Farm so it can run on github action * Adding real_all io unittest, and verbose flag to unittest
1 parent 95524b2 commit 209644b

File tree

153 files changed

+26343
-395
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+26343
-395
lines changed

.github/workflows/development-pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,4 @@ jobs:
5959
pip install -e .
6060
- name: Tests
6161
run: |
62-
python -m unittest discover
62+
python -m unittest discover -v

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22

33
test:
4-
python -m unittest discover
4+
python -m unittest discover -v

data/IEA15MW/AD.dat

Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
------- AERODYN v15.03.* INPUT FILE ------------------------------------------------
2+
IEA 15 MW Offshore Reference Turbine
3+
====== General Options ============================================================================
4+
False Echo - Echo the input to "<rootname>.AD.ech"? (flag)
5+
Default DTAero - Time interval for aerodynamic calculations {or "default"} (s)
6+
1 Wake_Mod - Wake/induction model (switch) {0=none, 1=BEMT, 3=OLAF} [Wake_Mod cannot be 2 or 3 when linearizing]
7+
1 TwrPotent - Type tower influence on wind based on potential flow around the tower (switch) {0=none, 1=baseline potential flow, 2=potential flow with Bak correction}
8+
1 TwrShadow - Calculate tower influence on wind based on downstream tower shadow (switch) {0=none, 1=Powles model, 2=Eames model}
9+
True TwrAero - Calculate tower aerodynamic loads? (flag)
10+
False CavitCheck - Perform cavitation check? (flag) [UA_Mod must be 0 when CavitCheck=true]
11+
False Buoyancy - Include buoyancy effects? (flag)
12+
False NacelleDrag - Include Nacelle Drag effects? (flag)
13+
False CompAA - Flag to compute AeroAcoustics calculation [used only when Wake_Mod = 1 or 2]
14+
AeroAcousticsInput.dat AA_InputFile - AeroAcoustics input file [used only when CompAA=true]
15+
====== Environmental Conditions ===================================================================
16+
"default" AirDens - Air density (kg/m^3)
17+
"default" KinVisc - Kinematic viscosity of working fluid (m^2/s)
18+
"default" SpdSound - Speed of sound in working fluid (m/s)
19+
"default" Patm - Atmospheric pressure (Pa) [used only when CavitCheck=True]
20+
"default" Pvap - Vapour pressure of working fluid (Pa) [used only when CavitCheck=True]
21+
====== Blade-Element/Momentum Theory Options ====================================================== [unused when Wake_Mod=0 or 3, except for BEM_Mod]
22+
1 BEM_Mod - BEM model {1=legacy NoSweepPitchTwist, 2=polar} (switch) [used for all Wake_Mod to determine output coordinate system]
23+
--- Skew correction
24+
1 Skew_Mod - Skew model {0=No skew model, -1=Remove non-normal component for linearization, 1=skew model active}
25+
False SkewMomCorr - Turn the skew momentum correction on or off [used only when Skew_Mod=1]
26+
1 SkewRedistr_Mod - Type of skewed-wake correction model (switch) {0=no redistribution, 1=Glauert/Pitt/Peters, default=1} [used only when Skew_Mod=1]
27+
default SkewRedistrFactor - Constant used in Pitt/Peters skewed wake model {or "default" is 15/32*pi} (-) [used only when Skew_Mod=1 and SkewRedistr_Mod=1]
28+
--- BEM algorithm
29+
True TipLoss - Use the Prandtl tip-loss model? (flag) [unused when Wake_Mod=0 or 3]
30+
True HubLoss - Use the Prandtl hub-loss model? (flag) [unused when Wake_Mod=0 or 3]
31+
True TanInd - Include tangential induction in BEMT calculations? (flag) [unused when Wake_Mod=0 or 3]
32+
True AIDrag - Include the drag term in the axial-induction calculation? (flag) [unused when Wake_Mod=0 or 3]
33+
True TIDrag - Include the drag term in the tangential-induction calculation? (flag) [unused when Wake_Mod=0,3 or TanInd=FALSE]
34+
Default IndToler - Convergence tolerance for BEMT nonlinear solve residual equation {or "default"} (-) [unused when Wake_Mod=0 or 3]
35+
500 MaxIter - Maximum number of iteration steps (-) [unused when Wake_Mod=0]
36+
--- Shear correction
37+
False SectAvg - Use sector averaging (flag)
38+
1 SectAvgWeighting - Weighting function for sector average {1=Uniform, default=1} within a sector centered on the blade (switch) [used only when SectAvg=True]
39+
default SectAvgNPoints - Number of points per sectors (-) {default=5} [used only when SectAvg=True]
40+
default SectAvgPsiBwd - Backward azimuth relative to blade where the sector starts (<=0) {default=-60} (deg) [used only when SectAvg=True]
41+
default SectAvgPsiFwd - Forward azimuth relative to blade where the sector ends (>=0) {default=60} (deg) [used only when SectAvg=True]
42+
--- Dynamic wake/inflow
43+
2 DBEMT_Mod - Type of dynamic BEMT (DBEMT) model {0=No Dynamic Wake, -1=Frozen Wake for linearization, 1:constant tau1, 2=time-dependent tau1, 3=constant tau1 with continuous formulation} (-)
44+
29.03 tau1_const - Time constant for DBEMT (s) [used only when Wake_Mod=2 and DBEMT_Mod=1]
45+
====== OLAF -- cOnvecting LAgrangian Filaments (Free Vortex Wake) Theory Options ================== [used only when Wake_Mod=3]
46+
IEA-15-240-RWT_OLAF.dat OLAFInputFileName - Input file for OLAF [used only when Wake_Mod=3]
47+
====== Unsteady Airfoil Aerodynamics Options ====================================================
48+
True AoA34 - Sample the angle of attack (AoA) at the 3/4 chord or the AC point {default=True} [always used]
49+
4 UA_Mod - Unsteady Aero Model Switch (switch) {0=Quasi-steady (no UA), 2=B-L Gonzalez, 3=B-L Minnema/Pierce, 4=B-L HGM 4-states, 5=B-L HGM+vortex 5 states, 6=Oye, 7=Boeing-Vertol}
50+
True FLookup - Flag to indicate whether a lookup for f' will be calculated (TRUE) or whether best-fit exponential equations will be used (FALSE); if FALSE S1-S4 must be provided in airfoil input files (flag) [used only when UA_Mod>0]
51+
4 IntegrationMethod - Switch to indicate which integration method UA uses (1=RK4, 2=AB4, 3=ABM4, 4=BDF2)
52+
0.1 UAStartRad - Starting radius for dynamic stall (fraction of rotor radius [0.0,1.0]) [used only when UA_Mod>0; if line is missing UAStartRad=0]
53+
1 UAEndRad - Ending radius for dynamic stall (fraction of rotor radius [0.0,1.0]) [used only when UA_Mod>0; if line is missing UAEndRad=1]
54+
====== Airfoil Information =========================================================================
55+
1 AFTabMod - Interpolation method for multiple airfoil tables {1=1D interpolation on AoA (first table only); 2=2D interpolation on AoA and Re; 3=2D interpolation on AoA and UserProp} (-)
56+
1 InCol_Alfa - The column in the airfoil tables that contains the angle of attack (-)
57+
2 InCol_Cl - The column in the airfoil tables that contains the lift coefficient (-)
58+
3 InCol_Cd - The column in the airfoil tables that contains the drag coefficient (-)
59+
4 InCol_Cm - The column in the airfoil tables that contains the pitching-moment coefficient; use zero if there is no Cm column (-)
60+
0 InCol_Cpmin - The column in the airfoil tables that contains the Cpmin coefficient; use zero if there is no Cpmin column (-)
61+
50 NumAFfiles - Number of airfoil files used (-)
62+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_00.dat" AFNames - Airfoil file names (NumAFfiles lines) (quoted strings)
63+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_01.dat"
64+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_02.dat"
65+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_03.dat"
66+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_04.dat"
67+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_05.dat"
68+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_06.dat"
69+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_07.dat"
70+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_08.dat"
71+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_09.dat"
72+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_10.dat"
73+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_11.dat"
74+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_12.dat"
75+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_13.dat"
76+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_14.dat"
77+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_15.dat"
78+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_16.dat"
79+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_17.dat"
80+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_18.dat"
81+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_19.dat"
82+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_20.dat"
83+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_21.dat"
84+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_22.dat"
85+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_23.dat"
86+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_24.dat"
87+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_25.dat"
88+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_26.dat"
89+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_27.dat"
90+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_28.dat"
91+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_29.dat"
92+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_30.dat"
93+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_31.dat"
94+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_32.dat"
95+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_33.dat"
96+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_34.dat"
97+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_35.dat"
98+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_36.dat"
99+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_37.dat"
100+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_38.dat"
101+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_39.dat"
102+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_40.dat"
103+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_41.dat"
104+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_42.dat"
105+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_43.dat"
106+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_44.dat"
107+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_45.dat"
108+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_46.dat"
109+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_47.dat"
110+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_48.dat"
111+
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_49.dat"
112+
====== Rotor/Blade Properties =====================================================================
113+
True UseBlCm - Include aerodynamic pitching moment in calculations? (flag)
114+
"IEA-15-240-RWT_AeroDyn15_blade.dat" ADBlFile(1) - Name of file containing distributed aerodynamic properties for Blade #1 (-)
115+
"IEA-15-240-RWT_AeroDyn15_blade.dat" ADBlFile(2) - Name of file containing distributed aerodynamic properties for Blade #2 (-) [unused if NumBl < 2]
116+
"IEA-15-240-RWT_AeroDyn15_blade.dat" ADBlFile(3) - Name of file containing distributed aerodynamic properties for Blade #3 (-) [unused if NumBl < 3]
117+
====== Hub Properties ============================================================================== [used only when Buoyancy=True]
118+
0 VolHub - Hub volume (m^3)
119+
0 HubCenBx - Hub center of buoyancy x direction offset (m)
120+
====== Nacelle Properties ========================================================================== [used only when Buoyancy=True or NacelleDrag=True]
121+
0 VolNac - Nacelle volume (m^3)
122+
0.0, 0.0, 0.0 NacCenB - Position of nacelle center of buoyancy from yaw bearing in nacelle coordinates (m)
123+
0, 0, 0 NacArea - Projected area of the nacelle in X, Y, Z in the nacelle coordinate system (m^2)
124+
0, 0, 0 NacCd - Drag coefficient for the nacelle areas defined above (-)
125+
0, 0, 0 NacDragAC - Position of aerodynamic center of nacelle drag in nacelle coordinates (m)
126+
====== Tail Fin Aerodynamics =======================================================================
127+
False TFinAero - Calculate tail fin aerodynamics model (flag)
128+
"unused" TFinFile - Input file for tail fin aerodynamics [used only when TFinAero=True]
129+
====== Tower Influence and Aerodynamics ============================================================ [used only when TwrPotent/=0, TwrShadow/=0, TwrAero=True, or Buoyancy=True]
130+
20 NumTwrNds - Number of tower nodes used in the analysis (-) [used only when TwrPotent/=0, TwrShadow/=0, or TwrAero=True]
131+
TwrElev TwrDiam TwrCd TwrTI TwrCb !TwrTI used only with TwrShadow=2, TwrCb used only with Buoyancy=True
132+
(m) (m) (-) (-) (-)
133+
15.000 10.000 0.5 0.1 0.0
134+
28.000 10.000 0.5 0.1 0.0
135+
28.001 10.000 0.5 0.1 0.0
136+
41.000 9.926 0.5 0.1 0.0
137+
41.001 9.926 0.5 0.1 0.0
138+
54.000 9.443 0.5 0.1 0.0
139+
54.001 9.443 0.5 0.1 0.0
140+
67.000 8.833 0.5 0.1 0.0
141+
67.001 8.833 0.5 0.1 0.0
142+
80.000 8.151 0.5 0.1 0.0
143+
80.001 8.151 0.5 0.1 0.0
144+
93.000 7.390 0.5 0.1 0.0
145+
93.001 7.390 0.5 0.1 0.0
146+
106.000 6.909 0.5 0.1 0.0
147+
106.001 6.909 0.5 0.1 0.0
148+
119.000 6.748 0.5 0.1 0.0
149+
119.001 6.748 0.5 0.1 0.0
150+
132.000 6.572 0.5 0.1 0.0
151+
132.001 6.572 0.5 0.1 0.0
152+
144.386 6.500 0.5 0.1 0.0
153+
====== Outputs ====================================================================================
154+
False SumPrint - Generate a summary file listing input options and interpolated properties to "<rootname>.AD.sum"? (flag)
155+
9 NBlOuts - Number of blade node outputs [0 - 9] (-)
156+
6, 11, 16, 21, 25, 30, 35, 40, 45 BlOutNd - Blade nodes whose values will be output (-)
157+
0 NTwOuts - Number of tower node outputs [0 - 9] (-)
158+
0 TwOutNd - Tower nodes whose values will be output (-)
159+
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
160+
"RtArea"
161+
"RtSpeed"
162+
"RtTSR"
163+
"RtSkew"
164+
"RtAeroFxh"
165+
"RtAeroFyh"
166+
"RtAeroFzh"
167+
"RtAeroMxh"
168+
"RtAeroMyh"
169+
"RtAeroMzh"
170+
"RtVAvgxh"
171+
"RtAeroPwr"
172+
"RtArea"
173+
"RtAeroCp"
174+
"RtAeroCq"
175+
"RtAeroCt"
176+
"RtAeroFxi"
177+
"RtAeroFyi"
178+
"RtAeroFzi"
179+
"RtAeroMxi"
180+
"RtAeroMyi"
181+
"RtAeroMzi"
182+
END of input file (the word "END" must appear in the first 3 columns of this last OutList line)
183+
====== Outputs for all blade stations (same ending as above for B1N1.... =========================== [optional section]
184+
1 BldNd_BladesOut - Number of blades to output all node information at. Up to number of blades on turbine. (-)
185+
"All" BldNd_BlOutNd - Future feature will allow selecting a portion of the nodes to output. Not implemented yet. (-)
186+
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
187+
END (the word "END" must appear in the first 3 columns of this last OutList line in the optional nodal output section)

0 commit comments

Comments
 (0)