Files
OpenFOAM-12/etc/caseDicts/functions/surfaceFieldValue/triSurfaceVolumetricFlowRate
Henry Weller de363dde05 functionObjectList: Moved the functions entry from controlDict into a functions file
for consistency with fvModels and fvConstraints, to simplify code and case
maintenance and to avoid the potentially complex functions entries being
unnecessarily parsed by utilities for which functionObject evaluation is
disabled.

The functions entry in controlDict is still read if the functions file is not
present for backward-compatibility, but it is advisable to migrate cases to use
the new functions file.
2024-01-20 14:46:28 +00:00

25 lines
960 B
C++

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: dev
\\/ M anipulation |
-------------------------------------------------------------------------------
Description
Calculates volumetric flow rate through a specified triangulated surface
by interpolating velocity onto the triangles and integrating over the
surface area. Triangles need to be small (<= cell size) for an accurate
result.
\*---------------------------------------------------------------------------*/
triSurface <triSurfaceFileName>;
fields (U);
operation areaNormalIntegrate;
#includeEtc "caseDicts/functions/surfaceFieldValue/triSurfaceValue.cfg"
// ************************************************************************* //