Download data/etc/caseDicts/functions/surfaceFieldValue/triSurfaceAverage from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 935 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/etc/caseDicts/functions/surfaceFieldValue/triSurfaceAverage
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/etc/caseDicts/functions/surfaceFieldValue/triSurfaceAverage
-
curl -L -o triSurfaceAverage https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/etc/caseDicts/functions/surfaceFieldValue/triSurfaceAverage
935 Bytes
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ 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" | |
| // ************************************************************************* // | |