The Sediment Transport Calculator is a MATLAB-based graphical user interface (GUI) application designed to compute sediment transport rates using common coastal engineering equations. This tool is useful for researchers, engineers, and students working in coastal engineering and sediment transport studies.
-
Interactive GUI:
A user-friendly interface to input parameters and view results. -
Real-Time Calculations:
Computes sediment transport rates instantly when parameters are provided. -
Error Handling:
Displays alerts for invalid inputs to ensure accurate calculations. -
Reset Functionality:
Quickly reset all inputs and outputs to default values for a fresh start.
The following inputs are required (all fields accept numeric values):
- Breaker Height (m): Height of the breaking wave (Hb).
- Breaking Angle (°): Angle of the wave at the breaker line (heta_b).
- K: Empirical sediment transport coefficient.
- Berm Height (m): Height of the berm above the water level (B).
- Depth of Closure (m): Maximum depth of significant sediment motion (h^*).
The application calculates the following:
- Sediment Transport Rate (Q) (m³/s): Transport rate in cubic meters per second.
- Annual Sediment Transport Rate (Qy) (m³/yr): Transport rate extrapolated to one year.
- Longshore Transport Rate (G) (m²/s): Rate of sediment transported along the shore.
- MATLAB R2017a or later.
- Toolbox: MATLAB App Designer or equivalent GUI support.
- Clone this repository:
git clone https://github.com/pouyazarbipour/sediment-transport-calculator.git
- Open MATLAB and navigate to the cloned repository folder.
- Open the
sediment_transport_calculator.m
file in MATLAB.
- Run the
sediment_transport_calculator
class by typing the following in the MATLAB Command Window:sediment_transport_calculator
- A GUI window will open. Enter the input parameters in the "Input Values" panel.
- Click the Calculate button to compute sediment transport rates.
- View the results in the "Output Values" panel.
- Use the Reset button to clear inputs and outputs.
The application uses the following equations:
- Wave Energy Flux (Eb)
Eb = (ρ * g * Hb²) / 8
- Sediment Transport Coefficient (Cq)
Cq = (K * Eb * Cb) / (ρ * g * (s - 1) * (1 - p))
- Sediment Transport Rate (Q)
Q = Cq * cos(θb) * sin(θb)
- Longshore Transport Rate (G)
G = (2 * Cq * cos(2 * θb)) / (h* + B)
This project is licensed under the MIT License. See the LICENSE
file for details.
For questions or feedback, please reach out to pouyazarbipour@gmail.com.
Enjoy using the Sediment Transport Calculator to explore and analyze coastal engineering scenarios!