OpenFOAM-5.x/src/OpenFOAM
Henry Weller 5a3048fbc5 Function1::Scale: New function to scale a given function by a scalar function, e.g. a ramp
For example in the potentialFreeSurfaceFoam/oscillatingBox tutorial it is
cleaner to apply the "linearRamp" function to the "sine" function rather than
using an amplitude table:

    floatingObject
    {
        type            fixedNormalInletOutletVelocity;

        fixTangentialInflow false;

        normalVelocity
        {
            type            uniformFixedValue;

            uniformValue
            {
                type        scale;

                value
                {
                    type sine;

                    frequency   1;
                    amplitude   0.025;
                    scale       (0 1 0);
                    level       (0 0 0);
                }

                scale
                {
                    type linearRamp;

                    duration 10;
                }
            }
        }

        value           uniform (0 0 0);
    }
2017-03-18 17:11:11 +00:00
..
algorithms indexedOctree: Corrected comment 2016-11-05 21:00:16 +00:00
containers Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
db Updated header 2017-03-16 20:51:14 +00:00
dimensionedTypes Removed trailing blank lines 2017-01-19 20:17:47 +00:00
dimensionSet C++11: Replaced the C NULL with the safer C++11 nullptr 2016-08-05 17:19:38 +01:00
fields Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
global Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
graph Change field loop index from "fieldI" to "fieldi" 2016-05-02 18:20:48 +01:00
include fileModification: time checking now with nano-second precision 2016-11-25 15:36:10 +00:00
interpolations Rationalized the keyword to specify a file name in a dictionary to 'file' 2017-01-07 09:38:54 +00:00
Make Function1: Added "Ramp" to the names of the ramp functions to avoid conflict 2017-03-18 17:10:48 +00:00
matrices Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
memory autoPtr: Added assignment to pointer 2017-03-16 20:49:21 +00:00
meshes Updated UPstream::commsTypes to use the C++11 enum class 2017-03-10 19:54:55 +00:00
primitives Function1::Scale: New function to scale a given function by a scalar function, e.g. a ramp 2017-03-18 17:11:11 +00:00