pub struct EkmanProfile {
pub geostrophic_mps: f64,
pub latitude_deg: f64,
pub eddy_viscosity_m2s: f64,
pub direction_from_deg: f64,
}Expand description
Ekman spiral: the classic solution for a neutrally stratified boundary
layer with constant eddy viscosity K. At the ground the wind is zero;
aloft it approaches the geostrophic speed G, backing (NH) or veering
(SH) with height. See Holton, An Introduction to Dynamic Meteorology.
u = G(1 − e^(−γz)·cos(γz)), v = sign(f)·G·e^(−γz)·sin(γz) with
γ = sqrt(|f| / 2K) and Coriolis f = 2Ω·sin(latitude). The result is
rotated so the geostrophic direction matches direction_from_deg aloft.
Fields§
§geostrophic_mps: f64Geostrophic wind speed aloft, m/s.
latitude_deg: f64Latitude, degrees (sign sets the turning sense).
eddy_viscosity_m2s: f64Constant eddy viscosity K, m²/s.
direction_from_deg: f64Meteorological direction the geostrophic wind comes FROM aloft, degrees.
Implementations§
Source§impl EkmanProfile
impl EkmanProfile
Trait Implementations§
Source§impl Clone for EkmanProfile
impl Clone for EkmanProfile
impl Copy for EkmanProfile
Source§impl Debug for EkmanProfile
impl Debug for EkmanProfile
Auto Trait Implementations§
impl Freeze for EkmanProfile
impl RefUnwindSafe for EkmanProfile
impl Send for EkmanProfile
impl Sync for EkmanProfile
impl Unpin for EkmanProfile
impl UnsafeUnpin for EkmanProfile
impl UnwindSafe for EkmanProfile
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more