functionObjects::subtract: From the first field subtract the remaining fields in the list

The operation can be applied to any volume or surface fields generating a
    volume or surface scalar field.

    Example of function object specification:
    \verbatim
    Tdiff
    {
        type            subtract;
        libs            ("libfieldFunctionObjects.so");
        fields          (T Tmean);
        result          Tdiff;
        executeControl  writeTime;
        writeControl    writeTime;
    }
    \endverbatim
This commit is contained in:
Henry Weller
2016-11-18 22:20:22 +00:00
parent 1254be97e3
commit 0eca493cb8
9 changed files with 595 additions and 8 deletions

View File

@ -61,4 +61,7 @@ writeCellVolumes/writeCellVolumes.C
XiReactionRate/XiReactionRate.C
streamFunction/streamFunction.C
fieldsExpression/fieldsExpression.C
subtract/subtract.C
LIB = $(FOAM_LIBBIN)/libfieldFunctionObjects