Skip to content

Unused Coefficients of Lift and Drag in blade_data.csv #110

@JonLock1689

Description

@JonLock1689

Description

As I've been modifying WindSE for a cross-code validation with STARCCM+, I've seen that many of the columns in blade_data.csv aren't used. In a recent meeting with one of the developers, I've learnt that the angle of attack is used in the source code to compute the lift coefficients and drag coefficients in the rows. Yet, the code gives me an index error when I delete the data. In the ComputeTurbineForce subroutine of ProblemManager.py, some columns are specified for blade span, twist, and chord which are read from blade_data.csv; however, the other columns are ignored with the exception of expected column length. By the way, some files in the source code are missing from the repository in GitHub, such as ActuatorLine.py in the turbine_types folder.

Steps to reproduce issue

Please provide a minimum working example (MWE) if possible

  1. In blade_data.csv, edit one of the columns for lift coefficient, drag coefficient, or another parameter besides blade span, chord, and twist
  2. Add a row or subtract a row from one of the columns
  3. Run a demo case such as 6-alm_3p4_rwt.yaml
  4. Refer to the lines of source code given in the error message

Current behavior

Expected behavior

The columns for data beside blade span, chord, and twist shouldn't lead to any error message as these data aren't used in the current code

Code versions

List versions only if relevant

  • Python

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions