OpenFOAM-5.x/src/finiteVolume
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
..
cfdTools waves: Added waves library and setWaves utility 2017-05-31 10:09:08 +01:00
fields objectRegistry: Added lookupObjectRef to obtain non-const access to objects 2017-05-10 15:13:14 +01:00
finiteVolume localEulerDdtScheme: Removed unused variable 2017-05-25 10:08:28 +01:00
functionObjects functionObjects::volRegion: Cache integral properties for writeFileHeader 2016-08-24 09:32:34 +01:00
fvMatrices surfaceFilmModels::perturbedTemperatureDependentContactAngleForce: New contact angle model 2017-04-04 00:09:38 +01:00
fvMesh objectRegistry: Added lookupObjectRef to obtain non-const access to objects 2017-05-10 15:13:14 +01:00
interpolation Replacing const_cast lookupObject to lookupObjectRef 2017-05-11 14:42:59 +01:00
Make cfdTools: Added a number of functions for performing volume averages of 2017-05-22 12:29:27 +01:00
surfaceMesh Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
volMesh GeometricField, volFields: Added experimental member function ".v()" and perfix operator "~" 2016-04-26 20:45:53 +01:00