pydune.physics.dune.courrechdupont2014.resultant_flux_aligned_crest_at_crest#

resultant_flux_aligned_crest_at_crest(alpha, theta, Q0, gamma=1.6, axis=-1)[source]#

Compute the component of the resultant flux (i.e vectorial average) at the crest aligned with the dune crest.

Parameters:
  • alpha (scalar, numpy array) – dune orientation \(\alpha\).

  • theta (scalar, numpy array) – flux orientation \(\theta\) in degrees.

  • Q0 (scalar, numpy array) – flux at the bottom of the dune \(Q_{0}\).

  • gamma (scalar, numpy array) – flux-up ratio \(\gamma\) (the default is 1.6).

  • axis (int) – axis over wich the average is done (the default is -1).

Returns:

component of the resultant flux (i.e vectorial average) at the crest perpendicular to the dune crest.

Return type:

scalar, numpy array

Examples

>>> import numpy as np
>>> alpha = 10
>>> theta = np.random.random((1000,))*360
>>> Q0 = np.random.random((1000,))*50
>>> Qcrest_perp = resultant_flux_perp_crest_at_crest(alpha, theta, Q0)