Explore natural frequencies and hydrostatic pressure from tank length, liquid depth and density.
Tank Parameters
Tank width a
m
Fluid depth h
m
Fluid density ρ
kg/m³
Results
First-mode surface · 3D
Drag or use the left/right arrow keys to rotate
Length a and depth h follow the inputs. It extrudes the 2D first mode along the depth and, during playback, moves in phase with the 2D section. Amplitude is illustrative, not a forced response or 3D fluid solution. Density affects hydrostatic pressure, not geometry.
Results
—
f₁ (Hz) Mode 1
—
f₂ (Hz) Mode 2
—
Equiv. pendulum (m)
—
Pendulum period (s)
—
Bottom hydrostatic pressure (kPa)
Sloshing Natural Frequencies (Modes 1–5)
Tank Cross-Section — Mode 1 Standing Wave Animation
Paused initially. Playback follows T₁. Surface amplitude, headroom and pendulum drawing length are illustrative, not predicted response heights or loads.
This calculator describes small-amplitude gravity waves in a rigid rectangular tank. Width a and equilibrium depth h determine the two-dimensional free-mode frequencies n=1–5. Density ρ is used for bottom hydrostatic pressure, not for these frequencies, equivalent length or period.
The calculation uses g=9.81m/s² and kₙ=nπ/a. The equivalent pendulum length matches the first-mode period; it does not supply an effective modal mass or a tank load. Bottom hydrostatic pressure p₀=ρgh is distinct from dynamic pressure.
Reading the diagrams
The 2D view shows only the first mode. Play follows the calculated period T₁ and preserves the width-to-depth ratio. Wave amplitude, headroom and the drawn pendulum length are illustrative. The rotatable 3D view extrudes the two-dimensional mode along the depth and moves in phase with the 2D section during playback. Neither view solves forced wave height or spilling.
Learn by changing an input
🙋
Why does density not change the period?
🎓
In this model, inertia and gravitational restoring effects scale with the same density, which cancels from the frequency equation. In the worked example, changing 850 to 1000 kg/m³ changes bottom pressure from 20.8 to 24.5 kPa, while the period remains 1.971 s.
🙋
Is mode 2 always twice the frequency of mode 1?
🎓
No. In the shallow-water limit fₙ is proportional to n; in the deep-water limit it is proportional to √n. Change depth and compare the bar heights.
🙋
Does pendulum length determine the earthquake load?
🎓
Not by itself. Loads and response heights also require excitation history, damping, effective modal mass and the actual geometry. Use this tool first to check frequencies and the model's scope.
Frequently asked questions
How do width, depth and density affect the results?⌄
Increasing width lowers the natural frequencies. Increasing depth raises them towards their deep-water limits. Changing density alone leaves frequencies and period unchanged, while bottom hydrostatic pressure changes in direct proportion to density.
How can I check the equivalent length and period?⌄
For the first-mode frequency f₁, T₁=1/f₁ and l_eq=g/(2πf₁)². At a=3m and h=2.5m, f₁=0.5074Hz, T₁=1.971s and l_eq=0.965m. Each displayed value is rounded.
Can these results establish seismic safety?⌄
No. Tank height, excitation, damping, structural stiffness and baffles are not inputs, so required freeboard, peak load, spilling and code compliance cannot be established. Use suitable analysis, experiments and the applicable design standards for the actual tank.
Are all five displayed modes excited equally?⌄
No. These are free eigenmodes, not response amplitudes. For ideal uniform horizontal translational excitation of a rectangular tank, symmetry gives zero coupling to even n. Different geometry or excitation changes that conclusion.
Connecting the model to engineering work
Use these frequencies as a check against experiments or another linear calculation for a rectangular tank. Check the shallow and deep limits, density-independent quantities and T₁=1/f₁ before moving to a response analysis. Cylindrical tanks, viscous damping, surface tension, large amplitudes, impacts, breaking waves and fluid–structure coupling are not included.
Set tank width a to 0.5–5m and equilibrium liquid depth h to 0.1–3m, using sliders or number fields.
Set density ρ to 600–1500kg/m³. It changes bottom hydrostatic pressure, not the natural frequencies, equivalent length or period in this model.
The bars show modes 1–5. The cards show f₁, f₂, equivalent length, period and bottom hydrostatic pressure.
The rotatable 3D view is a schematic of the first mode that follows the 2D playback, not a prediction of wave height or dynamic load.
Worked Example
Enter a=3.00m, h=2.50m and ρ=850kg/m³. The displayed results are f₁=0.5074Hz, f₂=0.7214Hz, l_eq=0.965m, T₁=1.971s and bottom hydrostatic pressure=20.8kPa. Check T₁=1/f₁ independently. Changing only density to 1000kg/m³ gives 24.5kPa, while frequencies and period stay unchanged. These results do not determine seismic safety or response wave height.
Practical Notes
This is a two-dimensional, small-amplitude gravity-wave model for a rigid rectangular tank and an inviscid, incompressible, irrotational liquid. Cylindrical tanks, baffles, surface tension and structural coupling are outside its scope.
The finite-depth tanh relation already spans shallow and deep water. No separate depth threshold or additional deep-water correction is applied.
The equivalent pendulum length matches the first-mode frequency only. Loads also require effective modal mass, excitation and damping.
Without tank height or excitation inputs, this tool cannot determine fill ratio, required freeboard, spilling, peak response or code compliance. There is no universal unsafe fill percentage or frequency band.