OpenFOAM-dev / data /etc /caseDicts /functions /surfaceFieldValue /triSurfaceVolumetricFlowRate
introvoyz042's picture
Migrated from GitHub
5a600cf verified
Raw History Blame Contribute Delete
960 Bytes
/*--------------------------------*- 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"
// ************************************************************************* //