surfaceRegion will be the name of a class to provide support for surface region selection.
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: dev |
|
|
| \\ / A nd | Web: www.OpenFOAM.org |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type fieldValueDelta;
|
|
libs ("libfieldFunctionObjects.so");
|
|
|
|
operation subtract;
|
|
|
|
writeControl timeStep;
|
|
writeInterval 1
|
|
log false;
|
|
|
|
region1
|
|
{
|
|
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg"
|
|
operation areaAverage;
|
|
fields (p);
|
|
}
|
|
region2
|
|
{
|
|
#includeEtc "caseDicts/postProcessing/surfaceFieldValue/surfaceRegion.cfg"
|
|
operation areaAverage;
|
|
fields (p);
|
|
}
|
|
|
|
// ************************************************************************* //
|