Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/development-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ jobs:
pip install -e .
- name: Tests
run: |
python -m unittest discover
python -m unittest discover -v
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@


test:
python -m unittest discover
python -m unittest discover -v
2 changes: 2 additions & 0 deletions data/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.lin
*.sum.yaml
187 changes: 187 additions & 0 deletions data/IEA15MW/AD.dat
Original file line number Diff line number Diff line change
@@ -0,0 +1,187 @@
------- AERODYN v15.03.* INPUT FILE ------------------------------------------------
IEA 15 MW Offshore Reference Turbine
====== General Options ============================================================================
False Echo - Echo the input to "<rootname>.AD.ech"? (flag)
Default DTAero - Time interval for aerodynamic calculations {or "default"} (s)
1 Wake_Mod - Wake/induction model (switch) {0=none, 1=BEMT, 3=OLAF} [Wake_Mod cannot be 2 or 3 when linearizing]
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}
1 TwrShadow - Calculate tower influence on wind based on downstream tower shadow (switch) {0=none, 1=Powles model, 2=Eames model}
True TwrAero - Calculate tower aerodynamic loads? (flag)
False CavitCheck - Perform cavitation check? (flag) [UA_Mod must be 0 when CavitCheck=true]
False Buoyancy - Include buoyancy effects? (flag)
False NacelleDrag - Include Nacelle Drag effects? (flag)
False CompAA - Flag to compute AeroAcoustics calculation [used only when Wake_Mod = 1 or 2]
AeroAcousticsInput.dat AA_InputFile - AeroAcoustics input file [used only when CompAA=true]
====== Environmental Conditions ===================================================================
"default" AirDens - Air density (kg/m^3)
"default" KinVisc - Kinematic viscosity of working fluid (m^2/s)
"default" SpdSound - Speed of sound in working fluid (m/s)
"default" Patm - Atmospheric pressure (Pa) [used only when CavitCheck=True]
"default" Pvap - Vapour pressure of working fluid (Pa) [used only when CavitCheck=True]
====== Blade-Element/Momentum Theory Options ====================================================== [unused when Wake_Mod=0 or 3, except for BEM_Mod]
1 BEM_Mod - BEM model {1=legacy NoSweepPitchTwist, 2=polar} (switch) [used for all Wake_Mod to determine output coordinate system]
--- Skew correction
1 Skew_Mod - Skew model {0=No skew model, -1=Remove non-normal component for linearization, 1=skew model active}
False SkewMomCorr - Turn the skew momentum correction on or off [used only when Skew_Mod=1]
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]
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]
--- BEM algorithm
True TipLoss - Use the Prandtl tip-loss model? (flag) [unused when Wake_Mod=0 or 3]
True HubLoss - Use the Prandtl hub-loss model? (flag) [unused when Wake_Mod=0 or 3]
True TanInd - Include tangential induction in BEMT calculations? (flag) [unused when Wake_Mod=0 or 3]
True AIDrag - Include the drag term in the axial-induction calculation? (flag) [unused when Wake_Mod=0 or 3]
True TIDrag - Include the drag term in the tangential-induction calculation? (flag) [unused when Wake_Mod=0,3 or TanInd=FALSE]
Default IndToler - Convergence tolerance for BEMT nonlinear solve residual equation {or "default"} (-) [unused when Wake_Mod=0 or 3]
500 MaxIter - Maximum number of iteration steps (-) [unused when Wake_Mod=0]
--- Shear correction
False SectAvg - Use sector averaging (flag)
1 SectAvgWeighting - Weighting function for sector average {1=Uniform, default=1} within a sector centered on the blade (switch) [used only when SectAvg=True]
default SectAvgNPoints - Number of points per sectors (-) {default=5} [used only when SectAvg=True]
default SectAvgPsiBwd - Backward azimuth relative to blade where the sector starts (<=0) {default=-60} (deg) [used only when SectAvg=True]
default SectAvgPsiFwd - Forward azimuth relative to blade where the sector ends (>=0) {default=60} (deg) [used only when SectAvg=True]
--- Dynamic wake/inflow
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} (-)
29.03 tau1_const - Time constant for DBEMT (s) [used only when Wake_Mod=2 and DBEMT_Mod=1]
====== OLAF -- cOnvecting LAgrangian Filaments (Free Vortex Wake) Theory Options ================== [used only when Wake_Mod=3]
IEA-15-240-RWT_OLAF.dat OLAFInputFileName - Input file for OLAF [used only when Wake_Mod=3]
====== Unsteady Airfoil Aerodynamics Options ====================================================
True AoA34 - Sample the angle of attack (AoA) at the 3/4 chord or the AC point {default=True} [always used]
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}
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]
4 IntegrationMethod - Switch to indicate which integration method UA uses (1=RK4, 2=AB4, 3=ABM4, 4=BDF2)
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]
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]
====== Airfoil Information =========================================================================
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} (-)
1 InCol_Alfa - The column in the airfoil tables that contains the angle of attack (-)
2 InCol_Cl - The column in the airfoil tables that contains the lift coefficient (-)
3 InCol_Cd - The column in the airfoil tables that contains the drag coefficient (-)
4 InCol_Cm - The column in the airfoil tables that contains the pitching-moment coefficient; use zero if there is no Cm column (-)
0 InCol_Cpmin - The column in the airfoil tables that contains the Cpmin coefficient; use zero if there is no Cpmin column (-)
50 NumAFfiles - Number of airfoil files used (-)
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_00.dat" AFNames - Airfoil file names (NumAFfiles lines) (quoted strings)
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_01.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_02.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_03.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_04.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_05.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_06.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_07.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_08.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_09.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_10.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_11.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_12.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_13.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_14.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_15.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_16.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_17.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_18.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_19.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_20.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_21.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_22.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_23.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_24.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_25.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_26.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_27.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_28.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_29.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_30.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_31.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_32.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_33.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_34.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_35.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_36.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_37.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_38.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_39.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_40.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_41.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_42.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_43.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_44.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_45.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_46.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_47.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_48.dat"
"Airfoils/IEA-15-240-RWT_AeroDyn15_Polar_49.dat"
====== Rotor/Blade Properties =====================================================================
True UseBlCm - Include aerodynamic pitching moment in calculations? (flag)
"IEA-15-240-RWT_AeroDyn15_blade.dat" ADBlFile(1) - Name of file containing distributed aerodynamic properties for Blade #1 (-)
"IEA-15-240-RWT_AeroDyn15_blade.dat" ADBlFile(2) - Name of file containing distributed aerodynamic properties for Blade #2 (-) [unused if NumBl < 2]
"IEA-15-240-RWT_AeroDyn15_blade.dat" ADBlFile(3) - Name of file containing distributed aerodynamic properties for Blade #3 (-) [unused if NumBl < 3]
====== Hub Properties ============================================================================== [used only when Buoyancy=True]
0 VolHub - Hub volume (m^3)
0 HubCenBx - Hub center of buoyancy x direction offset (m)
====== Nacelle Properties ========================================================================== [used only when Buoyancy=True or NacelleDrag=True]
0 VolNac - Nacelle volume (m^3)
0.0, 0.0, 0.0 NacCenB - Position of nacelle center of buoyancy from yaw bearing in nacelle coordinates (m)
0, 0, 0 NacArea - Projected area of the nacelle in X, Y, Z in the nacelle coordinate system (m^2)
0, 0, 0 NacCd - Drag coefficient for the nacelle areas defined above (-)
0, 0, 0 NacDragAC - Position of aerodynamic center of nacelle drag in nacelle coordinates (m)
====== Tail Fin Aerodynamics =======================================================================
False TFinAero - Calculate tail fin aerodynamics model (flag)
"unused" TFinFile - Input file for tail fin aerodynamics [used only when TFinAero=True]
====== Tower Influence and Aerodynamics ============================================================ [used only when TwrPotent/=0, TwrShadow/=0, TwrAero=True, or Buoyancy=True]
20 NumTwrNds - Number of tower nodes used in the analysis (-) [used only when TwrPotent/=0, TwrShadow/=0, or TwrAero=True]
TwrElev TwrDiam TwrCd TwrTI TwrCb !TwrTI used only with TwrShadow=2, TwrCb used only with Buoyancy=True
(m) (m) (-) (-) (-)
15.000 10.000 0.5 0.1 0.0
28.000 10.000 0.5 0.1 0.0
28.001 10.000 0.5 0.1 0.0
41.000 9.926 0.5 0.1 0.0
41.001 9.926 0.5 0.1 0.0
54.000 9.443 0.5 0.1 0.0
54.001 9.443 0.5 0.1 0.0
67.000 8.833 0.5 0.1 0.0
67.001 8.833 0.5 0.1 0.0
80.000 8.151 0.5 0.1 0.0
80.001 8.151 0.5 0.1 0.0
93.000 7.390 0.5 0.1 0.0
93.001 7.390 0.5 0.1 0.0
106.000 6.909 0.5 0.1 0.0
106.001 6.909 0.5 0.1 0.0
119.000 6.748 0.5 0.1 0.0
119.001 6.748 0.5 0.1 0.0
132.000 6.572 0.5 0.1 0.0
132.001 6.572 0.5 0.1 0.0
144.386 6.500 0.5 0.1 0.0
====== Outputs ====================================================================================
False SumPrint - Generate a summary file listing input options and interpolated properties to "<rootname>.AD.sum"? (flag)
9 NBlOuts - Number of blade node outputs [0 - 9] (-)
6, 11, 16, 21, 25, 30, 35, 40, 45 BlOutNd - Blade nodes whose values will be output (-)
0 NTwOuts - Number of tower node outputs [0 - 9] (-)
0 TwOutNd - Tower nodes whose values will be output (-)
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
"RtArea"
"RtSpeed"
"RtTSR"
"RtSkew"
"RtAeroFxh"
"RtAeroFyh"
"RtAeroFzh"
"RtAeroMxh"
"RtAeroMyh"
"RtAeroMzh"
"RtVAvgxh"
"RtAeroPwr"
"RtArea"
"RtAeroCp"
"RtAeroCq"
"RtAeroCt"
"RtAeroFxi"
"RtAeroFyi"
"RtAeroFzi"
"RtAeroMxi"
"RtAeroMyi"
"RtAeroMzi"
END of input file (the word "END" must appear in the first 3 columns of this last OutList line)
====== Outputs for all blade stations (same ending as above for B1N1.... =========================== [optional section]
1 BldNd_BladesOut - Number of blades to output all node information at. Up to number of blades on turbine. (-)
"All" BldNd_BlOutNd - Future feature will allow selecting a portion of the nodes to output. Not implemented yet. (-)
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
END (the word "END" must appear in the first 3 columns of this last OutList line in the optional nodal output section)
Loading