These scripts compute the sediment transport outside the surf zone in the beach. The procedure and equations can be reviewed on the Coastal Engineering Manual. Ahrens model was used to get the fall velocity.
Madsen, Ole S., Wood, William. (2002).
Sediment Transport Outside the Surf Zone.
In: Vincent, L., and Demirbilek, Z. (editors), Coastal Engineering Manual,
Part III, Combined wave and current
bottom boundary layer flow, Chapter III-6, Engineer Manual 1110-2-1100,
U.S. Army Corps of Engineers,
Gar (2020). Sediment Transport Outside of the Surf Zone (https://www.mathworks.com/matlabcentral/fileexchange/18320-sediment-transport-outside-of-the-surf-zone), MATLAB Central File Exchange. Retrieved .