ENH: Added new AMIWeights function object

Reports the min|max|average AMI weights to text file and optionally
writes VTK surfaces of the sum of the weights, and mask field for
ACMI patches.

Example usage:

    AMIWeights
    {
        type            AMIWeights;
        libs            ("libfieldFunctionObjects.so");
        writeControl    writeTime;
        writeFields     yes;
    }
This commit is contained in:
Andrew Heather
2018-12-07 17:24:13 +00:00
parent afc373d683
commit a4dc9966ed
6 changed files with 599 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1806 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
AMIWeights
{
type AMIWeights;
libs ("libfieldFunctionObjects.so");
writeControl writeTime;
writeFields no;
}
// ************************************************************************* //

View File

@ -57,6 +57,7 @@ functions
#includeFunc Q
#include "surfaces"
#include "forces"
#include "AMIWeights"
}
// ************************************************************************* //