Files
2024-07-06 16:02:47 +01:00

24 lines
934 B
C++

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