The velocity of a wave group (also known as 'group celerity')

You're viewing an older version of this page (#707). View the current version.

View versions (1)

Interface

#include <codecogs/engineering/fluid_mechanics/waves/group_celerity.h>

using namespace Engineering::Fluid_Mechanics::Waves;

Within a train of waves the movement of energy is usually slower than that of the waves. As such is you study a short train of waves they will develop at the back of the group, travel forward through the group and disappear at the front of the group.

[DIAGRAM]

The definition of group velocity is:

C_g = \frac{\partial \omega}{\partial k}
(1)

In deep water, where \omega^2=gk, group velocity is merely

C_g = \frac{1}{2}C
(2)

While in shallow water the form is a little more complicated, i.e.

C_g = \frac{g}{2 \omega} \left [ k sech^2(k d) + tanh(k d) \right ]
(3)

Using this second form, we can plot as an example the relationship between Cg and wave-number, k : \graph k=0:4 depth=1:10:4

Example 1

#include <stdio.h>
#include <codecogs/engineering/waves/group_celerity.h>
using namespace Engineering::Waves;

int main()
{
  printf("   k         Cg ");
  for(double k=0.01; k<1;k+=0.1)
  {
    printf("\n %.6lf", k);
    double w=group_celerity_k(k,2);
    printf("  %.3lf", w);
  }
}

Output:

k         Cg
??

Parameters

k
wave-number defines as (2 \pi/m). [rad/m]
depth
the depth of the water to mean sea level. A value of zero or less corresponds to deep water. [m]
gravity
acceleration due to gravity (default 9.8066 m/s\^2). [m/s\^2]

Returns

wave-frequency (2 \pi/s). [rad/s]
GPL Licence — free for non commercial use. See Licence details.

Interactive Calculator

k
depth
gravity
Result