21 lines
926 B
C++
21 lines
926 B
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Website: https://openfoam.org
|
|
\\/ 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 <triSurfaceFile>;
|
|
|
|
#includeEtc "caseDicts/postProcessing/flowRate/volFlowRateSurface.cfg"
|
|
|
|
// ************************************************************************* //
|