37 lines
1022 B
C++
37 lines
1022 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object functions;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
surfaceFieldValue1
|
|
{
|
|
type surfaceFieldValue;
|
|
libs ("libfieldFunctionObjects.so");
|
|
writeControl writeTime;
|
|
log yes;
|
|
writeFields no;
|
|
select patch;
|
|
patch outlet;
|
|
operation average;
|
|
weightField phi;
|
|
|
|
fields
|
|
(
|
|
H2O
|
|
T
|
|
);
|
|
}
|
|
|
|
// ************************************************************************* //
|