OpenFOAM-5.x/src
Will Bainbridge e7e4683f96 waves: Added waves library and setWaves utility
This addition allows for theoretical wave models to be utilised for
initialisation and as boundary conditions. Multiple models can be used
simultaneously, each with differing phases and orientations. If multiple
models are used the shapes and velocities are superimposed.

The wave models are specified in the velocity boundary condition. The
phase fraction boundary condition and the set utility both look up the
velocity condition in order to access the wave model. A velocity
boundary may be specified as follows:

    inlet
    {
        type            waveVelocity;
        origin          (0 0 0);
        direction       (1 0 0);
        speed           2;
        waves
        (
            Airy
            {
                length      300;
                amplitude   2.5;
                depth       150;
                phase       0;
                angle       0;
            }
        );
        scale           table ((1200 1) (1800 0));
        crossScale      constant 1;
    }

The alpha boundary only requires the type, unless the name of the
velocity field is non-standard, in which case a "U" entry will also be
needed. The setWaves utility does not require a dictionary file; non-
standard field names can be specified as command-line arguments.

Wave models currently available are Airy (1st order) and Stokes2 (second
order). If a depth is specified, and it is not too large, then shallow
terms will be included, otherwise the models assume that the liquid is
deep.

This work was supported by Jan Kaufmann and Jan Oberhagemann at DNV GL.
2017-05-31 10:09:08 +01:00
..
combustionModels The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
conversion Updates for clang++-3.9 2017-01-18 21:45:26 +00:00
dummyThirdParty Allwmake: Remove 'set -x' which generates a lot of noise 2016-11-13 18:08:22 +00:00
dynamicFvMesh Replacing const_cast lookupObject to lookupObjectRef 2017-05-10 16:07:45 +01:00
dynamicMesh primitiveShapes: Generalised tetrahedron and triangle cutting. Cuts are 2017-05-22 12:23:22 +01:00
engine Replacing const_cast lookupObject to lookupObjectRef 2017-05-11 14:42:59 +01:00
fileFormats csvSetWriter: Corrected axis header 2017-02-09 17:47:56 +00:00
finiteVolume waves: Added waves library and setWaves utility 2017-05-31 10:09:08 +01:00
functionObjects functionObjects/field: Added interfaceHeight 2017-05-31 10:08:59 +01:00
fvAgglomerationMethods Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
fvMotionSolver Replacing const_cast lookupObject to lookupObjectRef 2017-05-11 14:42:59 +01:00
fvOptions fvOptions: Added vertical damping 2017-05-31 09:39:44 +01:00
genericPatchFields fvPatchFields: Constructors from dictionary now call the corresponding constructor of the fvPatchField base-class 2016-09-25 09:11:53 +01:00
lagrangian primitiveShapes: Generalised tetrahedron and triangle cutting. Cuts are 2017-05-22 12:23:22 +01:00
mesh snappyHexMesh: Feature line tracking should end on AMI patches 2017-05-04 18:25:03 +01:00
meshTools primitiveShapes: Generalised tetrahedron and triangle cutting. Cuts are 2017-05-22 12:23:22 +01:00
ODE Updated member type comments 2016-11-28 21:23:00 +00:00
OpenFOAM vectorField: vector2DField: Added zip functions for stitching together a 2017-05-22 12:58:25 +01:00
OSspecific/POSIX Removed trailing blank lines 2017-01-19 20:17:47 +00:00
parallel Lagrangian: Rewrite of the particle tracking algorithm to function in 2017-04-28 09:25:10 +01:00
Pstream Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
randomProcesses Removed trailing blank lines 2017-01-19 20:17:47 +00:00
regionCoupled C++11: Replaced the C NULL with the safer C++11 nullptr 2016-08-05 17:19:38 +01:00
regionModels The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
renumber The "<type>Coeffs" sub-dictionary is now optional for most model parameters 2017-04-20 09:14:48 +01:00
rigidBodyDynamics Updated member type comments 2016-11-28 09:22:56 +00:00
rigidBodyMeshMotion rigidBodyMeshMotion: Added optional force damping ramp function 2017-03-16 21:01:45 +00:00
sampling Lagrangian: Rewrite of the particle tracking algorithm to function in 2017-04-28 09:25:10 +01:00
sixDoFRigidBodyMotion sixDoFRigidBodyMotion: Corrected handling of acceleration update in first time-step 2017-05-18 16:30:08 +01:00
surfMesh Updated member type comments 2016-11-28 21:23:00 +00:00
thermophysicalModels rhoPimpleFoam: Improved support for compressible liquids 2017-05-17 17:05:43 +01:00
topoChangerFvMesh Replacing const_cast lookupObject to lookupObjectRef 2017-05-11 14:42:59 +01:00
transportModels surfaceTensionModels: Resolved warning from Clang concerning virtual function overload 2017-05-03 19:17:43 +01:00
triSurface Removed trailing blank lines 2017-01-19 20:17:47 +00:00
TurbulenceModels thermalBaffle1DFvPatchScalarField: Changed name of "qr" relaxation factor to "qrRelaxation" 2017-05-22 13:07:03 +01:00
waves waves: Added waves library and setWaves utility 2017-05-31 10:09:08 +01:00
Allwmake waves: Added waves library and setWaves utility 2017-05-31 10:09:08 +01:00