Skip to content
Snippets Groups Projects
Commit 75769add authored by Andrew Heather's avatar Andrew Heather Committed by Mark OLESEN
Browse files

ENH: Function objects - added new 'multiply' function object

Multiplies a given list of (at least two or more) fields and outputs the
result into a new field.

    fieldResult = field1 * field2 * ... * fieldN

Minimal example by using \c system/controlDict.functions:

    multiply1
    {
        // Mandatory entries (unmodifiable)
        type    multiply;
        libs    (fieldFunctionObjects);

        // Mandatory (inherited) entry (runtime modifiable)
        fields  (<field1> <field2> ... <fieldN>);

        ...
    }
parent b700456a
Branches
Tags
1 merge request!410ENH: Function objects - added new 'multiply' function object
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment