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.
40 lines
1.3 KiB
C++
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 );
|
|
}
|
|
|
|
// ************************************************************************* //
|