Vulcan
Aerospace Engineering Utilities Built on Janus
Loading...
Searching...
No Matches
WindShear.hpp File Reference
Include dependency graph for WindShear.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  vulcan
namespace  vulcan::wind_shear
namespace  vulcan::wind_shear::roughness
namespace  vulcan::wind_shear::exponent

Functions

template<typename Scalar>
Scalar vulcan::wind_shear::linear (const Scalar &altitude, double base_wind, double base_altitude, double shear_rate)
 Linear wind shear profile.
template<typename Scalar>
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.
template<typename Scalar>
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).
template<typename Scalar>
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.
template<typename Scalar>
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).
double vulcan::wind_shear::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 vulcan::wind_shear::VON_KARMAN_CONSTANT = 0.41
 von Kármán constant for atmospheric boundary layer
constexpr double vulcan::wind_shear::roughness::OPEN_WATER = 0.0002
constexpr double vulcan::wind_shear::roughness::OPEN_TERRAIN = 0.03
constexpr double vulcan::wind_shear::roughness::RURAL = 0.1
constexpr double vulcan::wind_shear::roughness::SUBURBAN = 0.5
constexpr double vulcan::wind_shear::roughness::URBAN = 1.0
constexpr double vulcan::wind_shear::exponent::UNSTABLE
constexpr double vulcan::wind_shear::exponent::NEUTRAL = 1.0 / 4.0
constexpr double vulcan::wind_shear::exponent::STABLE = 1.0 / 3.0