Skip to content
Snippets Groups Projects
Commit 7f330cef authored by Henry Weller's avatar Henry Weller
Browse files

etc/caseDicts/postProcessing/fields: New 'add' and 'subtract' functionObjects

parent 7eaa46a0
Branches
Tags
No related merge requests found
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Add a list of fields.
\*---------------------------------------------------------------------------*/
type add;
libs ("libfieldFunctionObjects.so");
fields (<field names>);
executeControl writeTime;
writeControl writeTime;
// ************************************************************************* //
/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Web: www.OpenFOAM.org
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
From the first field subtract the remaining fields in the list.
\*---------------------------------------------------------------------------*/
type subtract;
libs ("libfieldFunctionObjects.so");
fields (<field names>);
executeControl writeTime;
writeControl writeTime;
// ************************************************************************* //
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