|
bool | GenerateWind.normalize = True |
|
float | GenerateWind.friction_velocity = 2.683479938442173 |
|
float | GenerateWind.reference_height = 180.0 |
|
float | GenerateWind.roughness_height = 0.75 |
|
| GenerateWind.grid_dimensions = np.array([1200.0, 864.0, 576.0]) |
|
| GenerateWind.grid_levels = np.array([7, 7, 7]) |
|
int | GenerateWind.seed = 9000 |
|
| GenerateWind.wind = GenerateWind(friction_velocity, reference_height, grid_dimensions, grid_levels, seed) |
|
| GenerateWind.wind_field = wind.total_wind |
|
| GenerateWind.sd = np.sqrt(np.mean(wind_field**2)) |
|
float | GenerateWind.JCSS_law = lambda z, z_0, delta, u_ast: u_ast/0.41 * ( np.log(z/z_0+1.0) + 5.57*z/delta - 1.87*(z/delta)**2 - 1.33*(z/delta)**3 + 0.25*(z/delta)**4 ) |
|
float | GenerateWind.log_law = lambda z, z_0, u_ast: u_ast * np.log(z/z_0+1.0)/0.41 |
|
| GenerateWind.z = np.linspace(0.0,grid_dimensions[2], 2**(grid_levels[2])+1) |
|
float | GenerateWind.mean_profile_z = log_law(z, roughness_height, friction_velocity) |
|
| GenerateWind.mean_profile = np.zeros_like(wind_field) |
|
string | GenerateWind.FileName = 'OntheFlyWindField' |
| Export to vtk. More...
|
|
| GenerateWind.spacing = tuple(grid_dimensions/(2.0**grid_levels + 1)) |
|
| GenerateWind.wind_field_vtk = tuple([np.copy(wind_field[...,i], order='C') for i in range(3)]) |
|
dictionary | GenerateWind.cellData = {'grid': np.zeros_like(wind_field[...,0]), 'wind': wind_field_vtk} |
|