template <class T>
class vtb::core::ANLT_wind_solver
Derived classes
Types
  • using ray_array = vtb::geometry::Ray_array< T, 3 >
  • using ray_type = vtb::geometry::Ray< T, 3 >
  • using panel_array = std::vector< panel_type >
  • using panel_type = Ship_hull_panel< T, 3 >
  • using grid_type = Grid< T, 3 >
  • using wind_field_type = Array< vec3, 3 >
  • using vec3 = blitz::TinyVector< T, 3 >
  • using array_type = Array< T, 4 >
Fields
  • bool _stratification
  • bool _near_the_boundary
  • bool _on_the_boundary
  • T _reference_height
  • T _hellman_exponent
  • T _leeward_ratio
  • vec3 _velocity
  • ray_array _wind_field_boundary
  • wind_field_type _wind_field
Methods
  • step(const grid_type & grid, panel_array & panels) -> voidvirtual
  • wind_field_boundary() const -> const ray_array &
  • stratification(bool rhs) -> void
  • stratification() const -> bool

    Make wind speed increase with height.

  • near_the_boundary(bool rhs) -> void
  • near_the_boundary() const -> bool

    Compute wind field near the boundary.

  • on_the_boundary(bool rhs) -> void
  • on_the_boundary() const -> bool

    Compute wind field on the boundary.

  • reference_height(T rhs) -> void
  • reference_height() const -> T

    A height with respect to which wind speed gradient is computed. Default value is 10 metres.

    See
    https://en.wikipedia.org/wiki/Wind_gradient
  • hellman_exponent(T rhs) -> void
  • hellman_exponent() const -> T

    Hellman exponent. Controls the wind speed gradient (an increase of wind speed with height). Typical values range from 0.06 to 0.27. Default value is 0.10.

    See
    https://en.wikipedia.org/wiki/Wind_gradient
  • leeward_ratio(T rhs) -> void
  • leeward_ratio() const -> T

    The ratio of wind reflection in leeward part of the ship hull. If you set it to 0, the direction of wind in the leeward part of the hull will be the same as the direction of initial velocity. If you set it to 1, the wind will reflect from the leeward part of the hull the same way as from the windward part.

    Date
    2020-04-26
  • velocity(const vec3 & rhs) -> void
  • velocity() const -> const vec3 &

    Wind velocity.

  • wind_field() const -> const wind_field_type &
  • wind_field() -> wind_field_type &
  • ~ANLT_wind_solver()virtual
  • ANLT_wind_solver()
template <class T>
make_anlt_wind_solver(Policy policy) -> std::unique_ptr< ANLT_wind_solver< T > >
template <class T, Policy P>
make_anlt_wind_solver() -> std::unique_ptr< ANLT_wind_solver< T > >