Skip to content

Commit 8547c41

Browse files
authored
Merge pull request #3114 from luwang00/b/EDInput
ED blade input check, bug fix, and docs update
2 parents 99ddcaa + 7e1ee84 commit 8547c41

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

docs/source/user/api_change.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ Removed in OpenFAST `dev`
9797
Module Line Flag Name Example Value
9898
============================================= ======== ==================== ========================================================================================================================================================================================================
9999
AeroDyn 11 Buoyancy False Buoyancy - Include buoyancy effects? (flag)
100+
BeamDyn \* ---------------------- PITCH ACTUATOR PARAMETERS -------------------------------
101+
BeamDyn \* UsePitchAct False UsePitchAct - Whether a pitch actuator should be used (flag)
102+
BeamDyn \* PitchJ 200 PitchJ - Pitch actuator inertia (kg-m^2) [used only when UsePitchAct is true]
103+
BeamDyn \* PitchK 20000000 PitchK - Pitch actuator stiffness (kg-m^2/s^2) [used only when UsePitchAct is true]
104+
BeamDyn \* PitchC 500000 PitchC - Pitch actuator damping (kg-m^2/s) [used only when UsePitchAct is true]
105+
ElastoDyn Blade Input File \* The PitchAxis column has been removed from the DISTRIBUTED BLADE PROPERTIES table. The table should now only have 5 columns: BlFract, StrcTwst, BMassDen, FlpStff, and EdgStff
100106
============================================= ======== ==================== ========================================================================================================================================================================================================
101107

102108

docs/source/user/beamdyn/input_files.rst

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -401,20 +401,6 @@ Material Parameter
401401
``BldFile`` is the file name of the blade input file. This name should
402402
be in quotations and can contain an absolute path or a relative path.
403403

404-
Pitch Actuator Parameter
405-
~~~~~~~~~~~~~~~~~~~~~~~~
406-
407-
In this release, the pitch actuator implemented in BeamDyn is not
408-
available. The ``UsePitchAct`` should be set to “FALSE” in this
409-
version, whereby the input blade-pitch angle prescribed by the driver
410-
code is used to orient the blade directly. ``PitchJ``, ``PitchK``,
411-
and ``PitchC`` specify the pitch actuator inertial, stiffness, and
412-
damping coefficient, respectively. In future releases, specifying
413-
``UsePitchAct`` :math:`=` TRUE will enable a second-order pitch
414-
actuator, whereby the pitch angular orientation, velocity, and
415-
acceleration are determined by the actuator based on the input
416-
blade-pitch angle prescribed by the driver code.
417-
418404
.. _BD-Outputs:
419405

420406
Outputs

modules/elastodyn/src/ElastoDyn.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10076,7 +10076,7 @@ SUBROUTINE ED_PrintSum( p, OtherState, ErrStat, ErrMsg )
1007610076
WRITE (UnSu,'(A)') ' (-) (-) (m) (m) (deg) (kg/m) (Nm^2) (Nm^2)'
1007710077

1007810078
DO I=1,p%BldNodes
10079-
WRITE(UnSu,'(I4,3F9.3,3F10.3,2ES11.3)') I, p%RNodesNorm(I), p%RNodes(I) + p%HubRad, p%DRNodes(I), &
10079+
WRITE(UnSu,'(I4,3F9.3,2F10.3,2ES11.3)') I, p%RNodesNorm(I), p%RNodes(I) + p%HubRad, p%DRNodes(I), &
1008010080
p%ThetaS(K,I)*R2D, p%MassB(K,I), &
1008110081
p%StiffBF(K,I), p%StiffBE(K,I)
1008210082
ENDDO ! I

modules/elastodyn/src/ElastoDyn_IO.f90

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1789,6 +1789,14 @@ SUBROUTINE ReadBladeFile ( BldFile, BladeKInputFileData, UnEc, ErrStat, ErrMsg )
17891789
call ParseCom( InFileInfo, CurLine, TmpComment, ErrStat2, ErrMsg2, UnEc ); if (Failed()) return; ! Separator
17901790
call ParseCom( InFileInfo, CurLine, TmpComment, ErrStat2, ErrMsg2, UnEc ); if (Failed()) return; ! Col Names
17911791
call ParseCom( InFileInfo, CurLine, TmpComment, ErrStat2, ErrMsg2, UnEc ); if (Failed()) return; ! Col Units
1792+
1793+
call ParseAry( InFileInfo, CurLine, 'Blade input station table', TmpRAry, 6_IntKi, ErrStat2, ErrMsg2, UnEc=0_IntKi );
1794+
if (ErrStat2 < AbortErrLev) then ! CurLine won't be incremented if ErrStat2>=AbortErrLev
1795+
call SetErrStat( ErrID_Fatal, " The ElastoDyn Blade file, "//trim(InFileInfo%FileList(1))// &
1796+
", DISTRIBUTED BLADE PROPERTIES table contains the PitchAxis column. This column is no longer supported and must be removed. ", ErrStat, ErrMsg, RoutineName )
1797+
return
1798+
endif
1799+
17921800
call ParseTable5Col(ErrStat2, ErrMsg2); if (Failed()) return;
17931801

17941802
! -------------- BLADE MODE SHAPES --------------------------------------------

0 commit comments

Comments
 (0)