Class scale_wind_vert
Defined in File scale_wind_vert.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public module_base
(Class module_base)
Class Documentation
-
class scale_wind_vert : public module_base
Scales wind speed from reference height to defined heights. Scales the wind vertically using a neutral stability log relationship. If snow depth is present, the height is taken into account. A fixed z0 of 0.01m is currently used. If a canopy is present then an exp sub-canopy scaling is used.
Depends:
Wind speed @reference height “U_R” [ \( m \cdot s^{-1} \) ]
Optional:
Snow depth to take into account for the scaling “snowdepthavg” [m]
Provides:
Wind speed @2m “U_2m_above_srf” [ \( m \cdot s^{-1} \) ]
Parameters:
If
ignore_canopy=False
, then Leaf Area Index “LAI” [-]
Configuration:
{ "ignore_canopy": false }
- ignore_canopy
Ignores the vegetation canopy
- Default:
false
Public Functions
-
scale_wind_vert(config_file cfg)
-
~scale_wind_vert()
-
virtual void init(mesh &domain)
-
virtual void run(mesh &domain)
domain parallel allows for blending through vegetation to avoid sharp gradietns that can complicate blowing snow, &c.
-
virtual void run(mesh_elem &face)
Needs to be implemented by each data parallel module. This will be called and executed for each timestep
- Parameters:
face – The terrain element (triangle) to be worked upon for an element parallel domain
global_param – A pointer to the shared global paramter space with domain-wide paramters
-
void point_scale(mesh_elem &face)
Public Members
-
bool ignore_canopy
-
struct d : public face_info