Real-time calculation of natural oscillation periods and Helmholtz resonance for open/closed boundary rectangular harbors. Visualize long-wave (tsunami/storm surge) amplification frequency response and standing wave patterns.
(Helmholtz resonance: when the entrance is much smaller than the harbor basin)
What is Harbor Resonance?
🙋
What exactly is harbor resonance? Is it like when you slosh coffee in a mug?
🎓
Basically, yes! It's the same physics. When a wave enters a harbor, it reflects off the back wall. If the wave's timing matches the harbor's "natural period," the water keeps sloshing back and forth, amplifying the motion. In practice, this can cause dangerous water level changes that damage docks and moored ships.
🙋
Wait, really? So the harbor's shape controls this timing? What's the most important parameter in the simulator above?
🎓
Great question. The two key factors are the harbor's length (L) and the water depth (h). Try moving the "Harbor Length L" slider. You'll see the resonant period get longer for a longer harbor, just like a longer pendulum swings slower. The depth controls the wave speed, which is why it's also critical.
🙋
Okay, but what's this "Helmholtz" or "pumping" mode? That sounds different from the back-and-forth sloshing.
🎓
Exactly, it's a different type of oscillation. Imagine the entire harbor basin rising and falling like water in a giant bottle when you blow across the top. The entrance channel acts like the bottle's neck. In the simulator, this frequency is calculated from the channel length (Lc), its cross-section (Am), and the harbor's total volume. Try making the entrance channel very narrow and see how the Helmholtz period changes.
Physical Model & Key Equations
The foundation is the shallow water wave speed. For long waves like tsunamis or seiches, the speed depends only on gravity and water depth.
$$c = \sqrt{gh}$$
Here, $c$ is the wave speed (m/s), $g$ is gravity (9.81 m/s²), and $h$ is the water depth (m). This is why depth is so crucial in the simulator—changing $h$ directly changes how fast waves travel and thus the harbor's resonant timing.
The resonant periods for a rectangular harbor depend on whether it's open at one end (like a typical harbor) or closed. For an open-ended harbor (one opening), the fundamental period is when the harbor length is one-quarter of the wavelength.
$$T_n = \dfrac{4L}{(2n-1)\,c}$$
$T_n$ is the period of the nth resonance mode (seconds), $L$ is the harbor length (m), and $n$ = 1, 2, 3... is the mode number (n=1 is the fundamental, strongest mode). The Helmholtz ("pumping") mode period is calculated from the geometry of the entrance and basin volume:
$f_H$ is the Helmholtz frequency (Hz), $A_m$ is the entrance cross-sectional area (m²), $L_c$ is the entrance channel length (m), and $V_b$ is the basin volume (m³).
Frequently Asked Questions
This tool assumes an ideal rectangular harbor. While errors may occur with actual complex shapes, it is effective for initial studies and trend analysis. For more accurate analysis, please consider numerical wave simulations (e.g., Boussinesq model).
Amplification is particularly likely to occur in harbors for long waves such as tsunamis and storm surges (periods of several minutes to several tens of minutes). If a wave with a period matching the calculated natural period arrives, resonance can cause significant water level fluctuations, so please use this as a reference for disaster prevention planning.
Select 'open end' if the harbor mouth is open to the open sea, and 'closed end' if the harbor is completely enclosed by breakwaters, etc. Actual harbors are often close to the open-end case, but corrections may be necessary depending on the width and structure of the harbor mouth.
This tool assumes uniform water depth. If the water depth varies significantly, the wave speed changes from place to place, so the actual resonant period will differ. In such cases, please try multiple representative water depths or use advanced analysis tools that can account for gradual changes in water depth.
Real-World Applications
Tsunami & Storm Surge Harbor Design: Engineers use these calculations in CAE software like STOC-ML or TUNAMI for preliminary analysis. By adjusting the breakwater length or dredging the depth, they can shift the harbor's natural period away from the dominant period of expected tsunamis, preventing catastrophic resonance amplification.
Moored Vessel Safety: A ship has its own natural roll and pitch periods. If the harbor's water oscillation period matches the ship's, it can induce dangerous resonant motions, leading to cargo damage or broken mooring lines. This assessment is critical for port operations.
Marina and Floating Dock Design: Small craft marinas are especially vulnerable. Designers model the basin to ensure the resonant periods are either very short (damping out quickly) or do not align with common wave periods from local wind or boat traffic.
Environmental Impact Assessments: Before constructing a new harbor or modifying an existing one, engineers model potential resonance effects. Changing the coastline geometry can unexpectedly trap wave energy, affecting not just the harbor but also adjacent beaches and ecosystems.
Common Misconceptions and Points to Note
There are a few key points I want you to be especially mindful of when starting to use this tool. First, remember that "the calculation results are values for an ideal rectangular model." Actual harbors have complex topography, and the seabed is not flat. For example, even if you input a length L=500m and a depth h=10m and get a fundamental period of about 100 seconds, in a real harbor, factors like the seabed slope or structures inside the bay can cause the actual resonant period to deviate by around ±10-20% from this value. Use the tool's results as a guideline, thinking "roughly around this period is where caution is needed."
Next, how to choose "representative values" for parameters. This is often the trickiest part. Take the "average depth h", for instance. Harbors are often deep at the entrance and shallower at the head. In such cases, a good tip is to consider that the shallower depth at the head of the harbor is more influential for resonance and choose a slightly shallower value as the representative one. If you use an average depth calculated over the entire area, you might get a shorter period than in reality (which means you could miss a potential hazard), so be careful.
Finally, the point that "you shouldn't just look at one period." The tool calculates from the first mode (n=1) onwards, but higher modes like n=2, 3 cannot be ignored. For example, in a harbor with a fundamental period of 3 minutes, if a wave with a period of 1.5 minutes (half that) comes in, a "node" where the wave sloshes significantly can form right in the middle of the harbor. When formulating disaster prevention plans, you need to consider these multiple modes and think about which specific areas of the harbor become particularly hazardous.