pydune.physics.dune.courrechdupont2014.resultant_flux_at_crest#

resultant_flux_at_crest(alpha, theta, Q0, gamma=1.6, **kwargs)[source]#

Compute the resultant flux (i.e vectorial average) of the sand flux at 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).

  • **kwargskwargs are passed to vector_average.

Returns:

  • angle (array_like) – the counterclockwise angle of the resultant sand flux at the crest in the range [-180, 180], i.e RDD at the dune crest.

  • norm (array_like) – norm of the resultant the resultant sand flux at the crest, i.e RDP at the dune crest.

Examples

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