Skip to main content

Module atmosphere

Module atmosphere 

Expand description

Atmospheric Physics, Boundary-Layer Wind & Aeroelastic Coupling (atmosphere.rs)

Provides zero-heap physical modeling of:

  • Synoptic barometric state: Pressure, temperature, humidity, and moist air density
  • Orographic lifting condensation level (LCL) and inverse barometer sea surface bulge
  • Prandtl–von Kármán atmospheric boundary layer (ABL) logarithmic wind profile
  • Hierarchical aeroelastic vegetation mechanics:
    • Level 0/1: Trunk & primary bough cantilever harmonic bending
    • Level 2: Secondary branch Vogel crown streamlining ($F_{\text{drag}} \propto v^{2+\mathcal{V}}$)
    • Level 3: Leaf Strouhal vortex shedding flutter ($f = \text{St} \cdot v / L$) & petiole abscission detachment

Adheres strictly to AGENTS.md §0 (Zero heap in hot paths, deterministic).

Modules§

roughness
Aerodynamic roughness length $z_0$ presets (in meters).

Structs§

AeroelasticBranch
Aeroelastic branch oscillator with Vogel crown streamlining reconfiguration.
BarometricState
Synoptic thermodynamic and barometric state of the air column.
BoundaryLayerProfile
Atmospheric Boundary Layer (ABL) logarithmic wind profile.
LeafFlutterState
Aeroelastic leaf oscillator with Strouhal vortex-shedding flutter and petiole abscission.

Constants§

GAS_CONSTANT_DRY_AIR
Gas constant for dry air in J/(kg·K).
GAS_CONSTANT_WATER_VAPOR
Gas constant for water vapor in J/(kg·K).
STANDARD_MSLP_HPA
Standard atmospheric pressure at sea level in hPa.
VON_KARMAN_KAPPA
von Kármán constant for boundary-layer turbulence.