mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
An "inletOutlet" switch has been added to the wave velocity boundary condition to allow the boundary to be fixed, as is possible for the corresponding alpha condition. A "heightAboveWave" option has been added to the wave superposition class to calculate velocity based on the height above the wave, rather than above the origin. This may improve initialisation but it may also generate divergence in the initial velocity field. The alpha condition has also been completed so that it applies a modelled gradient when the flow points out and a wave pressure condition is in use.