NREL / SOWFA

Other
138 stars 112 forks source link

Hard-coded hub height in horizontalAxisWindTurbinesOpenFAST #9

Closed ewquon closed 7 years ago

ewquon commented 7 years ago

In sendInput(), the hub height is hard-coded to be 90 m https://github.com/NREL/SOWFA/blob/OpenFAST/src/turbineModels/turbineModelsOpenFAST/horizontalAxisWindTurbinesALMOpenFAST/horizontalAxisWindTurbinesALMOpenFAST.C#L439

mchurchf commented 7 years ago

This is okay. This is a feature that ends up not getting used by OpenFOAM, so hard coding something is fine. Nalu uses this feature to get an approximate idea of the rotor when it is allocating processors to turbines.

gantech commented 7 years ago

To avoid this issue popping in the future as a bug, we could read in an approximate hub height from the turbineArrayProperties and populate the hubLoc