Skip to content

Commit d954b76

Browse files
authored
Merge pull request #373 from bjonkman/f/Linear
New Linearization and Mode-Shape Capabilities (and more)
2 parents d45d05e + 62369e4 commit d954b76

File tree

148 files changed

+74789
-52885
lines changed

Some content is hidden

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

148 files changed

+74789
-52885
lines changed

.github/actions/compile-and-test/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cd /openfast
2424

2525
# Display the differences between this commit and `dev`
2626
echo git-diff from ${GITHUB_REF} to dev:
27-
git diff dev
27+
git diff dev --numstat
2828

2929
# Move into the "build" directory, remove the old reg tests, and compile
3030
cd /openfast/build

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ vs-build/
4444

4545
# backup files
4646
*.asv
47+
~$*.xlsx
4748

4849
# LaTeX compiling files
4950
*.aux

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ FAST v8 - OpenFAST v0.1.0
2929
The transition from FAST v8 to OpenFAST v0.1.0 represents the effort to better
3030
support an open-source developer community around FAST-based aero-hydro-servo-
3131
elastic engineering models of wind-turbines and wind-plants. OpenFAST is the
32-
next generation of FAST analysis tools. More inforation is available in the
32+
next generation of FAST analysis tools. More information is available in the
3333
`transition notes <http://openfast.readthedocs.io/en/latest/source/user/fast_to_openfast.html>`_.
3434

3535
FAST v8 is a computer-aided engineering tool for simulating the coupled dynamic
@@ -116,7 +116,7 @@ OpenFAST on Unix-based and Windows machines are available at `readthedocs <http:
116116

117117
Help
118118
----
119-
Please use `github issues <https://github.com/OpenFAST/OpenFAST/issues>`_ to:
119+
Please use `GitHub Issues <https://github.com/OpenFAST/OpenFAST/issues>`_ to:
120120

121121
* ask usage questions
122122
* report bugs
104 KB
Binary file not shown.
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
.. _AD-Nodal-Outputs:
2+
3+
Nodal Outputs
4+
~~~~~~~~~~~~~
5+
6+
In addition to the named outputs in :numref:`AD-Outputs` above, AeroDyn allows
7+
for outputting the full set blade node motions and loads (tower nodes
8+
unavailable at present). Please refer to the AeroDyn_Nodes tab in the
9+
Excel file :download:`OutListParameters.xlsx <../../../OtherSupporting/OutListParameters.xlsx>`
10+
for a complete list of possible output parameters.
11+
12+
This section follows the `END` statement from normal Outputs section described
13+
above, and includes a separator description line followed by the following
14+
optinos.
15+
16+
**BldNd_BladesOut** specifies the number of blades to output. Possible values
17+
are 0 through the number of blades AeroDyn is modeling. If the value is set to
18+
1, only blade 1 will be output, and if the value is 2, blades 1 and 2 will be
19+
output.
20+
21+
**BldNd_BlOutNd** specifies which nodes to output. This is currently unused.
22+
23+
The **OutList** section controls the nodal output quantities generated by
24+
AeroDyn. In this section, the user specifies the name of the channel family to
25+
output. The output name for each channel is then created internally by AeroDyn
26+
by combining the blade number, node number, and channel family name. For
27+
example, if the user specifies **AxInd** as the channel family name, the output
28+
channels will be named with the convention of **B**\ :math:`\mathbf{\beta}`\
29+
**N###AxInd** where :math:`\mathbf{\beta}` is the blade number, and **###** is
30+
the three digit node number.
31+
32+
33+
Sample Nodal Outputs section
34+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
35+
36+
This sample includes the ``END`` statement from the regular outputs section.
37+
38+
.. container::
39+
:name: File:ADNodalOutputs
40+
41+
.. literalinclude:: examples/NodalOutputs.txt
42+
:linenos:
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
END of input file (the word "END" must appear in the first 3 columns of this last OutList line)
2+
---------------------- NODE OUTPUTS --------------------------------------------
3+
3 BldNd_BladesOut - Blades to output
4+
99 BldNd_BlOutNd - Blade nodes on each blade (currently unused)
5+
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx, AeroDyn_Nodes tab for a listing of available output channels, (-)
6+
"VUndx" - x-component of undisturbed wind velocity at each node
7+
"VUndy" - y-component of undisturbed wind velocity at each node
8+
"VUndz" - z-component of undisturbed wind velocity at each node
9+
"VDisx" - x-component of disturbed wind velocity at each node
10+
"VDisy" - y-component of disturbed wind velocity at each node
11+
"VDisz" - z-component of disturbed wind velocity at each node
12+
"STVx" - x-component of structural translational velocity at each node
13+
"STVy" - y-component of structural translational velocity at each node
14+
"STVz" - z-component of structural translational velocity at each node
15+
"VRel" - Relvative wind speed at each node
16+
"DynP" - Dynamic pressure at each node
17+
"Re" - Reynolds number (in millions) at each node
18+
"M" - Mach number at each node
19+
"Vindx" - Axial induced wind velocity at each node
20+
"Vindy" - Tangential induced wind velocity at each node
21+
"AxInd" - Axial induction factor at each node
22+
"TnInd" - Tangential induction factor at each node
23+
"Alpha" - Angle of attack at each node
24+
"Theta" - Pitch+Twist angle at each node
25+
"Phi" - Inflow angle at each node
26+
"Curve" - Curvature angle at each node
27+
"Cl" - Lift force coefficient at each node
28+
"Cd" - Drag force coefficient at each node
29+
"Cm" - Pitching moment coefficient at each node
30+
"Cx" - Normal force (to plane) coefficient at each node
31+
"Cy" - Tangential force (to plane) coefficient at each node
32+
"Cn" - Normal force (to chord) coefficient at each node
33+
"Ct" - Tangential force (to chord) coefficient at each node
34+
"Fl" - Lift force per unit length at each node
35+
"Fd" - Drag force per unit length at each node
36+
"Mm" - Pitching moment per unit length at each node
37+
"Fx" - Normal force (to plane) per unit length at each node
38+
"Fy" - Tangential force (to plane) per unit length at each node
39+
"Fn" - Normal force (to chord) per unit length at each node
40+
"Ft" - Tangential force (to chord) per unit length at each node
41+
"Clrnc" - Tower clearance at each node (based on the absolute distance to the nearest point in the tower from blade node B#N# minus the local tower radius, in the deflected configuration); please note that this clearance is only approximate because the calculation assumes that the blade is a line with no volume (however, the calculation does use the local tower radius); when blade node B#N# is above the tower top (or below the tower base), the absolute distance to the tower top (or base) minus the local tower radius, in the deflected configuration, is output
42+
"Vx" - Local axial velocity
43+
"Vy" - Local tangential velocity
44+
"GeomPhi" - Geometric phi? If phi was solved using normal BEMT equations, GeomPhi = 1; otherwise, if it was solved geometrically, GeomPhi = 0.
45+
"Chi" - Skew angle (used in skewed wake correction)
46+
"UA_Flag" - Flag indicating if UA is turned on for this node.
47+
END of input file (the word "END" must appear in the first 3 columns of this last OutList line)
48+
---------------------------------------------------------------------------------------

docs/source/user/aerodyn/examples/ad_primary_example.inp

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ True TIDrag - Include the drag term in the tangential-induc
3131
2 DBEMT_Mod - Type of dynamic BEMT (DBEMT) model {1=constant tau1, 2=time-dependent tau1} (-) [used only when WakeMod=2]
3232
4 tau1_const - Time constant for DBEMT (s) [used only when WakeMod=2 and DBEMT_Mod=1]
3333
====== Beddoes-Leishman Unsteady Airfoil Aerodynamics Options ===================================== [used only when AFAeroMod=2]
34-
1 UAMod - Unsteady Aero Model Switch (switch) {1=Baseline model (Original), 2=Gonzalez's variant (changes in Cn,Cc,Cm), 3=Minemma/Pierce variant (changes in Cc and Cm)} [used only when AFAeroMod=2]
34+
1 UAMod - Unsteady Aero Model Switch (switch) {1=Baseline model (Original), 2=Gonzalez's variant (changes in Cn,Cc,Cm), 3=Minnema/Pierce variant (changes in Cc and Cm)} [used only when AFAeroMod=2]
3535
FALSE 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 AFAeroMod=2]
3636
====== Airfoil Information =========================================================================
3737
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} (-)
@@ -82,5 +82,19 @@ True SumPrint - Generate a summary file listing input option
8282
"B1N1AxInd, B1N2AxInd, B1N3AxInd"
8383
"B1N1Alpha, B1N2Alpha, B1N3Alpha"
8484
"B1N1Theta, B1N2Theta, B1N3Theta"
85-
END of input file (the word "END" must appear in the first 3 columns of this last OutList line)
86-
---------------------------------------------------------------------------------------
85+
END of OutList section (the word "END" must appear in the first 3 columns of the last OutList line)
86+
====== Outputs for all blade stations (same ending as above for B1N1.... =========================== [optional section]
87+
1 BldNd_BladesOut - Number of blades to output all node information at. Up to number of blades on turbine. (-)
88+
"All" BldNd_BlOutNd - Future feature will allow selecting a portion of the nodes to output. Not implemented yet. (-)
89+
OutList - The next line(s) contains a list of output parameters. See OutListParameters.xlsx for a listing of available output channels, (-)
90+
"Fx, Fy"
91+
"Vx, Vy"
92+
Vrel
93+
TnInd
94+
AxInd
95+
Theta
96+
Phi
97+
Vindx
98+
Vindy
99+
Alpha
100+
END (the word "END" must appear in the first 3 columns of this last OutList line in the optional nodal output section)

docs/source/user/aerodyn/input.rst

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ file is required. This driver file specifies initialization inputs
1010
normally provided to AeroDyn by OpenFAST, as well as the per-time-step
1111
inputs to AeroDyn.
1212

13-
As an example, the ``driver.dvr`` file is the main driver, the ``input.dat`` is the primary input file, the ``blade.dat`` file contains the blade
14-
geometry data, and the ``airfoil.dat`` file contains the airfoil
15-
angle of attack, lift, drag, moment coefficients, and pressure
16-
coefficients. Example input files are included in :numref:`ad_appendix`.
13+
As an example, the ``driver.dvr`` file is the main driver, the ``input.dat`` is
14+
the primary input file, the ``blade.dat`` file contains the blade geometry data,
15+
and the ``airfoil.dat`` file contains the airfoil angle of attack, lift, drag,
16+
moment coefficients, and pressure coefficients. Example input files are
17+
included in :numref:`ad_appendix`.
1718

1819
No lines should be added or removed from the input files, except in
1920
tables where the number of rows is specified and comment lines in the
@@ -151,11 +152,11 @@ for ``DTAero`` may be used to indicate that AeroDyn should employ the
151152
time step prescribed by the driver code (OpenFAST or the standalone driver
152153
program).
153154

154-
Set ``WakeMod`` to 0 if you want to disable rotor wake/induction
155-
effects or 1 to include these effects using the (quasi-steady) BEM theory model. When
156-
``WakeMod`` is set to 2, a dynamic BEM theory model (DBEMT) is used (also referred to
157-
as dynamic inflow or dynamic wake model).
158-
``WakeMod`` cannot be set to 2 during linearization analyses.
155+
Set ``WakeMod`` to 0 if you want to disable rotor wake/induction effects or 1 to
156+
include these effects using the (quasi-steady) BEM theory model. When
157+
``WakeMod`` is set to 2, a dynamic BEM theory model (DBEMT) is used (also
158+
referred to as dynamic inflow or dynamic wake model). ``WakeMod`` cannot be set
159+
to 2 during linearization analyses.
159160

160161
Set ``AFAeroMod`` to 1 to include steady blade airfoil aerodynamics or 2
161162
to enable UA; ``AFAeroMod`` must be 1 during linearization analyses
@@ -361,6 +362,8 @@ specifies the local tower drag-force coefficient. ``TwrElev`` must be
361362
entered in monotonically increasing order—from the lowest (tower-base)
362363
to the highest (tower-top) elevation. See Figure 2.
363364

365+
.. _AD-Outputs:
366+
364367
Outputs
365368
~~~~~~~
366369

@@ -415,6 +418,9 @@ unknown/invalid channel name, it warns the users but will remove the
415418
suspect channel from the output file. Please refer to Appendix E for a
416419
complete list of possible output parameters.
417420

421+
.. include:: ADNodalOutputs.rst
422+
423+
418424
.. _airfoil_data_input_file:
419425

420426
Airfoil Data Input File

0 commit comments

Comments
 (0)