Template Function es::veer_rhs

Function Documentation

template <typename T>
T es::veer_rhs(T &ui, T &uiu3_bar, const double nu)

Computes the right hand side of the veer relations given u(z) or v(z).

See veer_lhs() for the full relation.

Templated so that it can be called with active scalars (allows use of autodiff), doubles/floats, Eigen::Arrays (directly) or Eigen::VectorXds (via template specialisation) of u values.

Parameters
  • ui: Mean velocity component at a given height (m/s){
  • uiu3_bar: Mean cross term of unsteady velocity components \( \overline{u_i'u_3'}} \) (m^2/s^2)
  • nu: Kinematic viscosity of the fluid (m^2/s)