This changes simplifies the specification of functionObjects in controlDict and is consistent with the 'libs' option in controlDict to load special solver libraries. Support for the old 'functionObjectLibs' name is supported for backward compatibility.
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
object pressureDifference.cfg;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type fieldValueDelta;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
operation subtract;
|
|
|
|
enabled true;
|
|
writeControl timeStep;
|
|
writeInterval 1
|
|
log false;
|
|
|
|
source1
|
|
{
|
|
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
|
operation areaAverage;
|
|
fields ( p );
|
|
}
|
|
source2
|
|
{
|
|
#includeEtc "caseDicts/postProcessing/faceSource/faceSource.cfg"
|
|
operation areaAverage;
|
|
fields ( p );
|
|
}
|
|
|
|
// ************************************************************************* //
|