GETWAVEVEL, GETWINDVEL, and GETCURRVEL (get wave, wind, and current velocities)

Interface

      CALL GETWAVEVEL (NDIM, X, V, A, LERROR, NOEL, XINTERMED)
      CALL GETWINDVEL (NDIM, X, V, NOEL, XINTERMED)
      CALL GETCURRVEL (NDIM, X, V, NOEL, XINTERMED)

Variables to be provided to the utility routine

NDIM

Dimensionality of the element. It should be set to 2 for two-dimensional cases (for example, beams in a plane) and 3 for three-dimensional cases (for example, beams in space).

X(1..NDIM)

Global coordinates of the point.

Variables returned from the utility routine

V(1..NDIM)

Velocity components in the global coordinate system.

A(1..NDIM)

Wave acceleration components in the global coordinate system. This variable is returned by GETWAVEVEL only.

LERROR

For gridded wave data LERROR is returned as 0 if the current point is within the grid or above the crest; it is returned as 1 if the point is outside the bounds of the grid. For Airy and Stokes waves LERROR is always returned as 0. If LERROR is returned as 1, the global coordinates of the nearest grid point are returned in X. LERROR is returned by GETWAVEVEL only.

NOEL

Element number.

XINTERMED(NDIM)

An array containing the intermediate configuration coordinates of the load integration point. For nonstochastic analysis this array is not used. In a stochastic analysis the wave field is based upon this configuration. Additional details are found in UWAVE, Section 1.1.45.