python_codes.linear_theory.By#
- By(alpha, B0)[source]#
Calculate the hydrodynamic coefficient \(\mathcal{B}_{y}\) using the geometrical model:
\[\mathcal{B}_{y} = 0.5*\mathcal{B}_{0}\cos\alpha\sin\alpha\]- Parameters
alpha (array, scalar) – Dune orientation with respect to the perpendicular to the flow direction (in degree).
B0 (array, scalar) – value of the hydrodynamic coefficient for \(\alpha = 0\), i.e. for a dune orientation perpendicular to the flow direction.
- Returns
the hydrodynamic coefficient.
- Return type
array, scalar