54 lines
1.5 KiB
C++
54 lines
1.5 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 postProcessingDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
functions
|
|
{
|
|
readFields1
|
|
{
|
|
type readFields;
|
|
libs ("libfieldFunctionObjects.so");
|
|
enabled true;
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
|
|
fields
|
|
(
|
|
interpolateU
|
|
);
|
|
}
|
|
|
|
faceObj2
|
|
{
|
|
type faceSource;
|
|
libs ("libfieldFunctionObjects.so");
|
|
enabled true;
|
|
writeControl timeStep;
|
|
writeInterval 1;
|
|
log true;
|
|
writeFields true;
|
|
source faceZone;
|
|
sourceName f0;
|
|
operation areaAverage;
|
|
|
|
fields
|
|
(
|
|
interpolateU
|
|
);
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|