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

This commit is contained in:
Henry Weller
2016-11-23 16:21:38 +00:00
parent 7eaa46a08b
commit 7f330cef40
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,21 @@
/*--------------------------------*- 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;
// ************************************************************************* //

View File

@ -0,0 +1,21 @@
/*--------------------------------*- 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;
// ************************************************************************* //