Wave cases are set-up by defining boundary conditions on the velocity and phase fraction fields, in combination with common settings in the waveProperties
dictionary located in the constant
directory.
The condition on the phase fraction field, typically named alpha
, is set to waveAlpha
:
<patch> { type waveAlpha; values <initial value>; }
and the velocity field, typically named U
, to waveVelocity
:
<patch> { type waveVelocity; values <initial value>; }
Source code:
Would you like to suggest an improvement to this page? | Create an issue |
Copyright © 2016-2019 OpenCFD Ltd.