Skip to content

Feeding an array of wind speeds vs. Iterating over the radial position  #28

@MiguelMarante

Description

@MiguelMarante

Hello ,

I have been using CCBlade in my master thesis and I have ran into a problem:

Using the example provided on github, I have set the shear exponent to 0, so that I can choose the wind speeds at each radial and azimuthal positions myself.

For azimuth = 0º, I defined the wind profile for each radial position according to the power law with shear exp = 0.2:

image

Then I compute the distributed loads by iterating the "distributedAeroLoads" method throughout each radial position:

image

And the results I get are the same that the program gives if the shear exponent 0.2 was defined as an input to the CCBlade class.

image

However, if I input "wind_shear" as an array, which is way faster, the results are not the same and don't seem to be correct. Here is a plot of the results for azimuth = 0º:

image

My work involves that I loop over this method and it would be very beneficial for me if I could input the wind speed at each radial position as an array, but the results are not correct. I have gone over the source code, but I am new to programming and cannot figure out what might be wrong. Am I missing something?

Best regards,
Miguel

Metadata

Metadata

Assignees

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