OpenFOAM-4.x/etc/caseDicts/postProcessing/pressure/pressureDifference.cfg
Henry Weller 71290b4d9e functionObjects: Changed options 'outputControl' -> 'writeControl' and 'outputInterval' -> 'writeInterval'
for consistency with the time controls in controlDict and to avoid
unnecessary confusion.  All code and tutorials have been updated.

The old names 'outputControl' and 'outputInterval' are but supported for
backward compatibility but deprecated.
2016-05-12 11:38:11 +01:00

40 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;
functionObjectLibs ("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 );
}
// ************************************************************************* //