No description
Find a file
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
applications waves: Added waves library and setWaves utility 2017-05-31 10:09:08 +01:00
bin foamInstallationTest: deleted redundant, unmaintained and outdated script 2017-05-30 18:17:10 +01:00
doc Reinstated operation of "-doc" and "-srcDoc" 2017-05-12 18:35:50 +01:00
etc Bash [TAB] completion: enabled for scripts in bin/ dir 2017-05-30 19:33:05 +01:00
src waves: Added waves library and setWaves utility 2017-05-31 10:09:08 +01:00
tutorials rhoPimpleFoam: Improved support for compressible liquids 2017-05-17 17:05:43 +01:00
wmake Allwmake: Provides clearer message when OpenFOAM environment is not loaded 2017-01-28 17:57:13 +00:00
.gitignore .gitignore: Ignore emacs projectile configuration files 2016-11-09 11:23:20 +00:00
Allwmake Allwmake: Provides clearer message when OpenFOAM environment is not loaded 2017-01-28 17:57:13 +00:00
COPYING COPYING: Updated date and contact details 2017-05-05 09:04:55 +01:00
README.org Updated and simplified the Doxygen documentation 2016-06-20 21:20:28 +01:00

README for OpenFOAM-dev

#

About OpenFOAM

OpenFOAM is a free, open source computational fluid dynamics (CFD) software package released by the OpenFOAM Foundation. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.