OpenFOAM-4.x/src/OpenFOAM/primitives/functions/DataEntry
Henry Weller a0cec770fa DataEntry/Sine: New DataEntryType which evaluates a sin function with offset
Description
    Templated sine function with support for an offset level.

        \f[
            a sin(2 \pi f (t - t_0)) s + l
        \f]

    where

    \vartable
        a       | Amplitude
        f       | Frequency [1/s]
        s       | Type scale factor
        l       | Type offset level
        t_0     | Start time [s]
        t       | Time [s]
    \endvartable

    Example for a scalar:
    \verbatim
        <entryName> sine;
        <entryName>Coeffs
        {
            frequency 10;
            amplitude 0.1;
            scale     2e-6;
            level     2e-6;
        }
    \endverbatim

    Example for a vector:
    \verbatim
        <entryName> sine;
        <entryName>Coeffs
        {
            frequency 10;
            amplitude 1;
            scale     (1 0.1 0);
            level     (10 1 0);
        }
    \endverbatim
2016-02-08 11:06:28 +00:00
..
Constant DataEntryTypes: Update headers to include the new namespace 2016-02-07 13:48:50 +00:00
CSV DataEntryTypes: Update headers to include the new namespace 2016-02-07 13:48:50 +00:00
DataEntry DataEntry: Created the DataEntryTypes namespace for all the concrete DataEntry types 2016-02-07 13:32:38 +00:00
PolynomialEntry DataEntryTypes: Update headers to include the new namespace 2016-02-07 13:48:50 +00:00
Sine DataEntry/Sine: New DataEntryType which evaluates a sin function with offset 2016-02-08 11:06:28 +00:00
Table DataEntryTypes: Update headers to include the new namespace 2016-02-07 13:48:50 +00:00
TableFile DataEntryTypes: Update headers to include the new namespace 2016-02-07 13:48:50 +00:00
makeDataEntries.C DataEntry/Sine: New DataEntryType which evaluates a sin function with offset 2016-02-08 11:06:28 +00:00