TurbVelocityFieldBts¶
Turbulent Velocity Field Generator from TurbSim bts files
TurbVelocitityFieldBts
is a class inherited fromBaseGenerator
The
TurbVelocitityFieldBts
class generates a velocity field based on the input from a bts file generated by TurbSim. https://nwtc.nrel.gov/TurbSimTo call this generator, the
generator_id = TurbVelocityField
shall be used. This is parsed as the value for thevelocity_field_generator
key in the desired aerodynamic solver’s settings.The settings that this solver accepts are given by a dictionary, with the following key-value pairs:
Name
Type
Description
Default
print_info
bool
Output solver-specific information in runtime
True
turbulent_field
str
BTS file path of the velocity file
None
new_orientation
str
New orientation of the axes
xyz
u_fed
list(float)
Velocity at which the turbulence field is fed into the solid
numpy.zeros
u_out
list(float)
Velocity to set for points outside the interpolating box
numpy.zeros
case_with_tower
bool
Does the SHARPy case will include the tower in the simulation?
False
interpolate_wake
bool
If False, u_out will be assigned to all the points in the wake
True
num_cores
int
Number of cores to be used in parallel computation
1
extra_offset
float
Distance [m] to displace the turbulence box
0.0
use_3_4_interpolation
bool
Use the farfield velocity at 3/4 chord for all the points along the chord
False