Skip to main content

waveMaker

Description

The waveMaker is a boundary condition that provides a point motion boundary condition to generate waves based on either piston or flap motions.

Reference

Hughes, S.A. (1993).
Physical Models And Laboratory Techniques In Coastal Engineering.
Advanced Series On Ocean Engineering, volume 7.

Usage

The condition requires entries in both the boundary and field files.

Boundary file

<patchName>
{
type patch;
...
}

Field file

<patchName>
{
// Mandatory entries
type waveMaker;
motionType <word>;
n <vector>;
initialDepth <scalar>;
wavePeriod <scalar>;
waveHeight <scalar>;
wavePhase <scalar>;
rampTime <scalar>;

// Optional entries
waveAngle <scalar>;
startTime <scalar>;
secondOrder <bool>;
nPaddle <label>;

// Inherited entries
...
}

where:

PropertyDescriptionTypeRequiredDefault
typeType name: waveMakerwordyes-
motionTypeMotion typewordyes-
nDirection of motionvectoryes-
initialDepthInitial depthscalaryes-
wavePeriodWave periodscalaryes-
waveHeightWave heightscalaryes-
wavePhaseWave phasescalaryes-
rampTimeTime to reach maximum motionscalaryes-
waveAngleWave anglescalarno0
startTimeStart timescalarnocase start time
secondOrderSecond order calculationboolnofalse
nPaddleNumber of paddleslabelno1

Options for the motionType entry:

PropertyDescription
pistonPiston type
flapFlap type
solitarySolitary type

The inherited entries are elaborated in:

  • fixedValuePointPatchField.H

Further information

Tutorial:

Source code:

API:

History: Introduced in version v1812