UniformFlow Struct Reference
Kynema API
A flexible multibody structural dynamics code for wind turbines
|
Loading...
Searching...
No Matches
kynema::interfaces::components::UniformFlow Struct Reference
Uniform flow with time-dependent parameters. More...
#include <inflow.hpp>
Public Member Functions | |
std::array< double, 3 > | Velocity (double t, const std::array< double, 3 > &position) const |
Calculates velocity vector at a given time and position. | |
Public Attributes | |
std::vector< double > | time |
Time vector for uniform flow parameters. | |
std::vector< UniformFlowParameters > | data |
Detailed Description
Uniform flow with time-dependent parameters.
Member Function Documentation
◆ Velocity()
std::array< double, 3 > kynema::interfaces::components::UniformFlow::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
◆ data
std::vector<UniformFlowParameters> kynema::interfaces::components::UniformFlow::data |
◆ time
std::vector<double> kynema::interfaces::components::UniformFlow::time |
Time vector for 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