$$\omega^2 = gk\tanh(kd)$$ Deep water (d > λ/2): $C_p = \sqrt{g/k}$
Shallow water (d < λ/20): $C_p = \sqrt{gd}$
Wave energy: $E = \frac{1}{8}\rho g H^2$
Adjust wave height, period, and water depth to animate the wave profile and water particle orbits. Explore the dispersion relation ω²=gk tanh(kd) and compare deep vs shallow water waves.
The core of linear wave theory is the dispersion relation. It defines how the angular frequency (related to period) is linked to the wavenumber (related to wavelength) and the water depth.
$$\omega^2 = gk\tanh(kd)$$Where $\omega = 2\pi/T$ is the angular frequency, $k=2\pi/\lambda$ is the wavenumber, $g$ is gravity, and $d$ is water depth. The $\tanh$ function is the mathematical key—it smoothly transitions the physics from deep to shallow water.
From the dispersion relation, we derive the phase velocity ($C_p$), the speed of individual wave crests. This equation shows the two important limits you can explore in the simulator.
$$C_p = \frac{\omega}{k}= \sqrt{\frac{g}{k}\tanh(kd)}$$Deep water ($d > \lambda/2$): $\tanh(kd) \approx 1$, so $C_p \approx \sqrt{g/k}$. Speed depends on wavelength.
Shallow water ($d < \lambda/20$): $\tanh(kd) \approx kd$, so $C_p \approx \sqrt{gd}$. Speed depends only on depth.
Coastal Engineering & Harbor Design: Engineers use these exact equations to model how waves will propagate into a harbor. They need to predict where waves will refract, slow down, and potentially cause damaging resonance inside the harbor, which directly affects the placement of breakwaters.
Offshore Structure Design: Platforms for oil, gas, or wind energy must withstand wave forces. The particle orbits and wave energy equation $E = \frac{1}{8}\rho g H^2$ are used to calculate the total load on the structure's legs, which is critical for ensuring stability in storms.
Surf Forecasting: Forecast models use the dispersion relation to "back-track" waves seen by deep-water buoys to their source storm. Since long-period swell travels faster, its arrival time at a beach can be predicted days in advance, which is essential for surfers and maritime safety.
Sediment Transport & Beach Erosion: The shift from circular to elliptical particle orbits in shallow water is what moves sand along the seabed. Understanding this helps coastal managers predict how beaches will change after storms or where to place sand nourishments to combat erosion.
When you start using this simulator, there are a few key points to keep in mind. First, the "Significant Wave Height (Hs)" is *not* the "Maximum Wave Height". Significant wave height is the average of the highest one-third of wave heights. For example, even if Hs is 3m, there can occasionally be much larger waves mixed in, exceeding 5m. In design, it's crucial not to overlook these "maximum waves". Next, "Peak Period (Tp)" and "Average Period" are different. Tp corresponds to the period at the peak of the spectrum and is close to the interval of the "swell" you see in the wave profile. However, if you calculate the actual zero-up-crossing period from a wave record, it's typically shorter than Tp. For instance, even if you set Tp=10 seconds, the average period will often be around 7-8 seconds. Finally, remember that simulation results are just "one possible realization". The irregular waves generated by Fourier synthesis will produce a different wave profile every time for the same Hs and Tp, due to the randomness of the phases. When evaluating the response of an actual structure, the golden rule is to account for this "variability" by running calculations with multiple different wave profiles (using different random seeds).
The concepts behind this wave spectrum simulator actually extend beyond ocean engineering and are applied in various other fields. The closest is "Wind Engineering". Fluctuations in wind (turbulence) can also be represented as a superposition of eddies with different frequency components, modeled as a wind speed spectrum. Using a concept similar to the JONSWAP wave spectrum, it represents gusty winds influenced by terrain. Next is "Structural Dynamics". When irregular forces from waves or wind act on a structure, components close to the structure's natural frequency are amplified, causing resonance (excessive vibration). Practicing by imagining the impact on a structure with a specific period while changing the peak frequency of the wave spectrum in this simulator is a great first step towards understanding dynamic response analysis. Furthermore, in "Naval Architecture", wave spectra are directly used as input to predict ship motions (rolling, pitching) in such irregular seas and the increase in resistance in waves (added resistance). For example, if a container ship has a rolling period of 8 seconds, you can assess that sea conditions with wave energy concentrated around Tp=8 seconds would be the most dangerous.
Once you've gotten a feel for irregular waves with this tool, the next step is to learn the mathematical background and how it bridges to practical application. Step 1 is understanding the basics of Fourier Transform. Wave time-series data and its spectrum have an inseparable relationship; they are two sides of the same coin, convertible via the mathematical operation of Fourier Transform. Inside the tool, the amplitude is determined from the spectrum S(f) as $A_n = \sqrt{2 S(f_n) \Delta f}$ and synthesized with random phases. Try to unpack the meaning of this equation. Step 2 is to experience calculating statistics like "Significant Wave Height" and "Spectral Moments" by hand. If you understand the n-th spectral moment $m_n = \int_0^{\infty} f^n S(f) df$, you can derive various wave characteristics directly from the spectrum, such as significant wave height $H_s \approx 4.0\sqrt{m_0}$ and average period $T_{01} = m_0 / m_1$. The final Step 3 is to imagine integrating this into an actual CAE process. For example, how would you use the wave time-series data generated by this tool as the external force acting on a structure in Finite Element Method (FEM) software? To do that, you'll need knowledge from the next layer, such as the Morison equation to obtain wave particle velocity and acceleration, or the dispersion relation $\omega^2 = gk \tanh(kh)$ (where $\omega$ is angular frequency, k is wavenumber, h is water depth) for calculating wave forces. First and foremost, the foundation for all this is to thoroughly explore with your own hands and eyes how tweaking this simulator's parameters changes the "character" of the waves.