I'm looking for a simple, right-traveling wave for the linear shallow water equations (1D). My question: what are the initial conditions (velocity $U_0(x)$ and/or average water height, average velocity) for a simple (single!) right-traveling wave?
I want to create a simple wave solution for the 1D shallow water equations by choosing appropriate initial conditions, just like in this other post. I'm comparing a staggered grid with a non-staggered grid. On the staggered grid, if I have a simple wave traveling to the right, there should not be a left-traveling wave, whereas on the non-staggered grid, there can still be a component with negative group velocity. Just like in the other question, I'm also working with a Gaussian initial wave profile. The problem is that when I use their equation for $m_0(x)$, I still get a (small) left-traveling component on both grids. I don't have access to the book by Leveque, so I don't understand where the equation for $m_0(x)$ comes from. Could someone please tell me what the reasoning behind $m_0(x)$ is or share with me the relevant page(s) from Leveque?
I'm working with linearized shallow water equations, which, I think, is different from their example. It's pretty much the simplest case of shallow water equations: linear equations and no bottom topography. On the staggered grid, the dispersion relation with my discretization scheme (centered-space, leapfrog-time) is
$$\sin(\omega\Delta t) = \frac{(U \pm 2c)\Delta t}{\Delta x}\sin\Big(\frac{k\Delta x}{2}\Big)$$
Where $c = \sqrt{gH}$ with $H$ the average water height and $g$ the gravitational constant. I thought I could just set my initial velocity $U_0(x)$ equal to $2\sqrt{g H}$ or to $2\sqrt{g H_0(x)}$ to eliminate the "-" solution, and have only the right-traveling wave left, but when I do there is a left-traveling trough and I don't know what to make of it. The pictures below are for $U_0(x) = 2\sqrt{g H_0(x)}$. The other thing I tried gives a forward and a backward wave.
What are the initial conditions for a simple (single!) right-traveling wave?
Your insights will be very much appreciated.