Elastic Wave Propagation Simulator Back
Interactive Tool — Wave Physics

Elastic Wave Propagation Simulator
(P-wave & S-wave)

Real-time visualization of longitudinal (P-wave) and transverse (S-wave) velocities and waveforms propagating through solids. Experience the fundamentals of ultrasonic testing and seismic wave analysis by varying material elastic modulus and density.

Material Presets
Material Properties
Young's modulus E
GPa
GPa units — Steel 210, Al 70, CFRP 135, Concrete 30
Poisson's Ratio ν
density ρ
kg/m³
Waveform Parameters
Frequency f
kHz
testingultrasonic: 1〜10 MHz / seismic wave: 1〜10 Hz
Amplitude
Playback Controls
Waveform Comparison
💡 Canvas Click: Set wave source position. Waves originate from the clicked position.
Waveform Animation (Real Time) t = 0.00 μs
P-wave (Longitudinal / Compression) S-wave (Transverse / Shear)
Wave
Calculation Results Summary
Results
cP [m/s]
cS [m/s]
λP [mm]
λS [mm]
Z [MRayl]

Theory Notes — Elastic Wave Velocity

Elastic wave velocity in solids is determined by the material elastic constants and density. P-wave (Primary wave) is a longitudinal wave where particle vibration is in the wave propagation direction; S-wave (Secondary wave) is a transverse wave perpendicular to it.

$$c_P = \sqrt{\frac{E(1-\nu)}{\rho(1+\nu)(1-2\nu)}}, \quad c_S = \sqrt{\frac{E}{2\rho(1+\nu)}}= \sqrt{\frac{G}{\rho}}$$

The ratio of both velocities $c_P/c_S = \sqrt{2(1-\nu)/(1-2\nu)}$ depends only on Poisson's ratio regardless of material (approx. 1.73 for steel). Acoustic impedance $Z = \rho \cdot c_P$ is essential for reflectance calculation in ultrasonic testing.

Wave equation: $\partial^2 u/\partial t^2 = c^2 \partial^2 u/\partial x^2$ ; solution: $u(x,t) = A\sin(kx - \omega t)$($k = \omega/c$)。

What is Elastic Wave Propagation?

🙋
What exactly are P-waves and S-waves? I hear these terms a lot in geology, but I'm not sure what the physical difference is.
🎓
Basically, they are the two main types of elastic body waves that travel through solid materials. A P-wave, or primary wave, is a compressional wave where particles move back-and-forth in the same direction the wave is traveling. An S-wave, or shear wave, is a transverse wave where particles move perpendicular to the wave's direction. In this simulator, you can see their distinct waveforms and velocities update as you change the material properties on the left.
🙋
Wait, really? So the material itself changes the wave speed? What properties matter most?
🎓
Absolutely. The speed depends on the material's stiffness and density. For instance, in steel, both waves travel much faster than in rubber. The key properties are Young's modulus (stiffness), Poisson's ratio (how much it squishes sideways when compressed), and density. Try moving the "Young's modulus" slider up—you'll see both wave velocities increase instantly on the right, because a stiffer material transmits vibrations faster.
🙋
That makes sense. But why are there two different formulas for their speeds? And why does Poisson's ratio appear in both?
🎓
Great question. The formulas differ because each wave type deforms the material in a fundamentally different way. A P-wave involves both volume change and shear, so its speed depends on all elastic constants. An S-wave is pure shear. Poisson's ratio links the different types of stiffness. A common case is that for most materials, P-waves are about 1.7 times faster than S-waves. Adjust the "Poisson's Ratio" slider and watch how the ratio between $c_P$ and $c_S$ changes in the summary cards.

Physical Model & Key Equations

The propagation velocity of a P-wave (compressional wave) in an isotropic, elastic solid is governed by the material's bulk and shear stiffness. It is derived from the linear elasticity equations of motion.

$$c_P = \sqrt{\frac{E(1-\nu)}{\rho(1+\nu)(1-2\nu)}}$$

Where $c_P$ is the P-wave velocity (m/s), $E$ is Young's modulus (Pa), $\nu$ is Poisson's ratio (dimensionless), and $\rho$ is the density (kg/m³). A higher $E$ or a lower $\rho$ increases the speed.

The S-wave (shear wave) velocity depends solely on the material's shear modulus $G$ and density, as it involves a sliding deformation without volume change.

$$c_S = \sqrt{\frac{E}{2\rho(1+\nu)}}= \sqrt{\frac{G}{\rho}}$$

Here, $c_S$ is the S-wave velocity (m/s) and $G$ is the shear modulus. Notice that $c_P$ is always greater than $c_S$ because materials generally resist compression more than shear.

Frequently Asked Questions

P-wave velocity is directly proportional to Young's modulus and Poisson's ratio, and inversely proportional to density. S-wave velocity depends on the shear modulus and does not propagate in liquids (where the shear modulus is zero). Making a material harder increases both velocities, while increasing density decreases them.
When Poisson's ratio approaches 0.5, the denominator of the P-wave velocity formula approaches zero, causing the velocity to become extremely large. This represents an incompressible material (such as rubber), but it can lead to numerical instability, so it is generally recommended to use values of 0.49 or lower.
Yes. By changing the material parameters, you can reproduce P-wave and S-wave velocities close to those of actual inspection targets such as steel or aluminum. You can visually observe wave propagation delays and reflections, which helps in understanding the principles of inspection.
S-waves propagate through shear deformation (shape change), but liquids have a shear modulus of zero and lack restoring force against deformation. Therefore, S-waves do not occur in liquids; only P-waves (volume change) propagate.

Real-World Applications

Earthquake Seismology: When an earthquake occurs, P-waves arrive at a monitoring station first, followed by the slower, more destructive S-waves. The time difference between their arrivals is used to locate the earthquake's epicenter. The waves' speeds also help geologists map the Earth's internal structure.

Ultrasonic Non-Destructive Testing (NDT): In industry, high-frequency P-waves and S-waves are sent into materials like pipelines or aircraft wings to detect internal flaws like cracks or voids. Changes in wave speed or reflected signals indicate defects without damaging the part.

Medical Ultrasound Imaging: While mostly using P-waves in fluids (like the body), some advanced techniques utilize shear wave elastography. This measures the speed of induced S-waves in tissue to assess its stiffness, helping diagnose conditions like liver fibrosis.

Geophysical Exploration: Energy companies use controlled seismic sources to generate waves that travel through underground rock layers. By analyzing the reflected P and S waves, they can identify potential locations for oil, gas, or geothermal reservoirs.

Common Misconceptions and Points of Caution

Model assumptions: The mathematical model used here relies on simplifying assumptions such as linearity, homogeneity, and isotropy. Always verify that your real system satisfies these assumptions before applying results directly to design decisions.

Units and scale: Many calculation errors arise from unit conversion mistakes or order-of-magnitude errors. Pay close attention to the units shown next to each parameter input.

Validating results: Always sanity-check simulator output against physical intuition or hand calculations. If a result seems unexpected, review your input parameters or verify with an independent method.

Related Tools

Second Moment of Area & Moment of Inertia Calculator
Real-time calculation of second moment of area and centroid position for rectangular, circular, I-beam, and T-beam sections
SIMP Phase Optimization Simulator
Real-time topology optimization using 2D FEM (Q4 elements)
Stress concentrationCoefficient Kt
Calculate Kt for holes, notches, and stepped shafts from shape parameters
EulerBucklingLoad
Calculate critical load Pcr and buckling mode shape from cross-section shape and end conditions (4 types)