Inflow Struct Reference
|
Kynema API
A flexible multibody structural dynamics code for wind turbines
|
Loading...
Searching...
No Matches
kynema::interfaces::components::Inflow Struct Reference
Wind inflow model for turbine simulations. More...
#include <inflow.hpp>
Public Member Functions | |
| Inflow (InflowType type_, UniformFlow uniform_flow_) | |
| Constructor with type and uniform flow parameters. | |
| std::array< double, 3 > | Velocity (double t, const std::array< double, 3 > &position) const |
| Calculates velocity vector at a given time and position. | |
Static Public Member Functions | |
| static Inflow | SteadyWind (double vh, double z_ref, double alpha, double angle_h) |
| Creates a steady wind inflow. | |
| static Inflow | UniformWind (double vh, double z_ref, double alpha, double angle_h) |
| Creates a uniform wind inflow. | |
Public Attributes | |
| InflowType | type {InflowType::Uniform} |
| Type of inflow model. | |
| UniformFlow | uniform_flow |
| Uniform flow parameters. | |
Detailed Description
Wind inflow model for turbine simulations.
Constructor & Destructor Documentation
◆ Inflow()
|
inline |
Constructor with type and uniform flow parameters.
Member Function Documentation
◆ SteadyWind()
|
static |
Creates a steady wind inflow.
- Parameters
-
vh Horizontal inflow velocity (m/s) z_ref Reference height (m) alpha Vertical shear exponent angle_h Flow angle relative to x axis (radians)
◆ UniformWind()
|
static |
Creates a uniform wind inflow.
- Parameters
-
vh Horizontal inflow velocity (m/s) z_ref Reference height (m) alpha Vertical shear exponent angle_h Flow angle relative to x axis (radians)
◆ Velocity()
| std::array< double, 3 > kynema::interfaces::components::Inflow::Velocity | ( | double | t, |
| const std::array< double, 3 > & | position | ||
| ) | const |
Calculates velocity vector at a given time and position.
- Parameters
-
t Time position 3D position [x, y, z]
- Returns
- 3D velocity vector [vx, vy, vz]
Member Data Documentation
◆ type
| InflowType kynema::interfaces::components::Inflow::type {InflowType::Uniform} |
Type of inflow model.
◆ uniform_flow
| UniformFlow kynema::interfaces::components::Inflow::uniform_flow |
Uniform flow parameters.
The documentation for this struct was generated from the following files:
- /home/runner/work/kynema/kynema/kynema/src/interfaces/components/inflow.hpp
- /home/runner/work/kynema/kynema/kynema/src/interfaces/components/inflow.cpp
Generated by