|
Vulcan
Aerospace Engineering Utilities Built on Janus
|
Namespaces | |
| namespace | roughness |
| namespace | exponent |
Functions | |
| template<typename Scalar> | |
| Scalar | linear (const Scalar &altitude, double base_wind, double base_altitude, double shear_rate) |
| Linear wind shear profile. | |
| template<typename Scalar> | |
| wind::WindVector< Scalar > | linear_vector (const Scalar &altitude, const wind::WindVector< double > &base_wind, double base_altitude, double shear_rate) |
| Linear wind shear returning full wind vector. | |
| template<typename Scalar> | |
| Scalar | power_law (const Scalar &altitude, double ref_wind, double ref_altitude=10.0, double exponent=1.0/7.0) |
| Power-law wind profile (typical for atmospheric boundary layer). | |
| template<typename Scalar> | |
| wind::WindVector< Scalar > | power_law_vector (const Scalar &altitude, const wind::WindVector< double > &base_wind, double ref_altitude=10.0, double exponent=1.0/7.0) |
| Power-law wind profile returning full wind vector. | |
| template<typename Scalar> | |
| Scalar | logarithmic (const Scalar &altitude, double friction_velocity, double roughness_length, double displacement=0.0) |
| Logarithmic wind profile (neutral atmospheric boundary layer). | |
| double | friction_velocity_from_ref (double ref_wind, double ref_altitude, double roughness_length, double displacement=0.0) |
| Compute friction velocity from reference wind. | |
Variables | |
| constexpr double | VON_KARMAN_CONSTANT = 0.41 |
| von Kármán constant for atmospheric boundary layer | |
|
inline |
Compute friction velocity from reference wind.
Given wind speed at a reference height, compute the friction velocity for use in logarithmic profile calculations.
u* = κ * V_ref / ln((h_ref - d) / z_0)
| ref_wind | Wind speed at reference height [m/s] |
| ref_altitude | Reference height [m] |
| roughness_length | Surface roughness z_0 [m] |
| displacement | Zero-plane displacement d [m] |
| Scalar vulcan::wind_shear::linear | ( | const Scalar & | altitude, |
| double | base_wind, | ||
| double | base_altitude, | ||
| double | shear_rate ) |
Linear wind shear profile.
Wind = W_0 + (dW/dh) * (h - h_0)
| Scalar | double or casadi::MX |
| altitude | Altitude [m] |
| base_wind | Wind at reference altitude [m/s] |
| base_altitude | Reference altitude [m] |
| shear_rate | Wind change per unit altitude [1/s], i.e., dV/dh |
| wind::WindVector< Scalar > vulcan::wind_shear::linear_vector | ( | const Scalar & | altitude, |
| const wind::WindVector< double > & | base_wind, | ||
| double | base_altitude, | ||
| double | shear_rate ) |
Linear wind shear returning full wind vector.
Scales the base wind vector by the altitude-dependent factor. Wind direction is preserved while magnitude changes linearly.
| Scalar | double or casadi::MX |
| altitude | Altitude [m] |
| base_wind | Wind vector at reference altitude |
| base_altitude | Reference altitude [m] |
| shear_rate | Wind change per unit altitude [1/s] |
| Scalar vulcan::wind_shear::logarithmic | ( | const Scalar & | altitude, |
| double | friction_velocity, | ||
| double | roughness_length, | ||
| double | displacement = 0.0 ) |
Logarithmic wind profile (neutral atmospheric boundary layer).
V(h) = (u* / κ) * ln((h - d) / z_0)
Where:
| Scalar | double or casadi::MX |
| altitude | Altitude above ground [m] |
| friction_velocity | Surface friction velocity u* [m/s] |
| roughness_length | Surface roughness z_0 [m] |
| displacement | Zero-plane displacement d [m] (default: 0) |
| Scalar vulcan::wind_shear::power_law | ( | const Scalar & | altitude, |
| double | ref_wind, | ||
| double | ref_altitude = 10.0, | ||
| double | exponent = 1.0 / 7.0 ) |
Power-law wind profile (typical for atmospheric boundary layer).
V(h) = V_ref * (h / h_ref)^alpha
Common exponents:
| Scalar | double or casadi::MX |
| altitude | Altitude above ground [m] |
| ref_wind | Wind speed at reference height [m/s] |
| ref_altitude | Reference height [m] (typically 10m) |
| exponent | Power law exponent α (default: 1/7 for unstable) |
| wind::WindVector< Scalar > vulcan::wind_shear::power_law_vector | ( | const Scalar & | altitude, |
| const wind::WindVector< double > & | base_wind, | ||
| double | ref_altitude = 10.0, | ||
| double | exponent = 1.0 / 7.0 ) |
Power-law wind profile returning full wind vector.
| Scalar | double or casadi::MX |
| altitude | Altitude above ground [m] |
| base_wind | Wind vector at reference height |
| ref_altitude | Reference height [m] (typically 10m) |
| exponent | Power law exponent α |
|
inlineconstexpr |
von Kármán constant for atmospheric boundary layer