32 lines
924 B
C++
32 lines
924 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: 12
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type fieldValueDelta;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
|
|
operation subtract;
|
|
|
|
region1
|
|
{
|
|
#includeEtc "caseDicts/functions/surfaceFieldValue/surfaceValue.cfg"
|
|
operation areaAverage;
|
|
fields $fields;
|
|
}
|
|
|
|
region2
|
|
{
|
|
#includeEtc "caseDicts/functions/surfaceFieldValue/surfaceValue.cfg"
|
|
operation areaAverage;
|
|
fields $fields;
|
|
}
|
|
|
|
// ************************************************************************* //
|