I Shallow Water Wave Equation Simulation: Reverse Shoaling?

Click For Summary
The simulation of the shallow water wave equation in MATLAB is designed to model traveling waves, reflection, superposition, diffraction, and refraction using specific equations. However, it encounters an issue where the wave height decreases as the water depth decreases, contrary to expected behavior. The creator questions whether this decrease is a characteristic of the shallow water equations or a flaw in their model. They reference a previous successful simulation of tsunami run-up that used a quasi-linear formulation, which resulted in increased wave height with decreasing depth. The discussion seeks clarity on the accuracy of the current model's predictions.
person123
Messages
326
Reaction score
52
TL;DR
My simulation of water waves using the shallow water equations predicts decreasing wave height as depth decreases.
I'm creating a simulation of the shallow water wave equation in MATLAB. I'm using the equations:

$$\frac{\partial v}{\partial t}=-g\frac{\partial \eta}{\partial x}$$
$$\frac{\partial h}{\partial t}=-h\frac{\partial v}{\partial x}$$

Iteratively updating the velocity from neighboring heights and then the height from neighboring velocities.

It's able to modeling traveling waves traveling at ##c=\sqrt{gh}## as well as reflection, superposition of waves, and (in 2D) diffraction and refraction. However, when the depth decreases over the distances, it predicts the wave height decreases instead of increases. In the attached video, for example, the water depth decreases linearly from a maximum to ##0## with increasing ##x##.

Is this decrease in wave height predicted with the shallow water equations, or do you think this is an issue with my model? Thanks!

 
Physics news on Phys.org
It may be the model? I've done a 1D tsunami run-up simulation as exercise a lifetime ago, but I used a quasi-linear formulation:
1650023269635.png

1650023331485.png

This definitely did increase the waveheight with decreasing depth.
 
Thread 'Why higher speeds need more power if backward force is the same?'
Power = Force v Speed Power of my horse = 104kgx9.81m/s^2 x 0.732m/s = 1HP =746W Force/tension in rope stay the same if horse run at 0.73m/s or at 15m/s, so why then horse need to be more powerfull to pull at higher speed even if backward force at him(rope tension) stay the same? I understand that if I increase weight, it is hrader for horse to pull at higher speed because now is backward force increased, but don't understand why is harder to pull at higher speed if weight(backward force)...

Similar threads

Replies
5
Views
397
  • · Replies 19 ·
Replies
19
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K