With the inclusion of boundary layer modelling in the gas, the separation of wave perturbation from and mean flow became less useful, and potentially prevents further extension to support similar boundary layer modelling in the liquid. The mean velocity entry, UMean, is now needed in the constant/waveProperties file rather than in the waveVelocity boundary condition.
29 lines
943 B
C++
29 lines
943 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object setWavesDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
// Optional name of the volume fraction field
|
|
alpha alpha.water;
|
|
|
|
// Optional name of the velocity field
|
|
U U;
|
|
|
|
// Optional flag which indicates whether the alpha field is that of the liquid
|
|
// under the waves (true) or the gas over the waves (false)
|
|
liquid true;
|
|
|
|
|
|
// ************************************************************************* //
|