Download data/etc/caseDicts/functions/graphs/graphPatchCutLayerAverage from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 2.1 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/etc/caseDicts/functions/graphs/graphPatchCutLayerAverage
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/etc/caseDicts/functions/graphs/graphPatchCutLayerAverage
-
curl -L -o graphPatchCutLayerAverage https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/etc/caseDicts/functions/graphs/graphPatchCutLayerAverage
2.1 kB
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ M anipulation | | |
| ------------------------------------------------------------------------------- | |
| Description | |
| Writes graphs of patch face values, area-averaged in planes perpendicular | |
| to a given direction or in contours of a given distance field. It | |
| adaptively grades the distribution of graph points to match the resolution | |
| of the mesh. | |
| \*---------------------------------------------------------------------------*/ | |
| patch <patchName>; // Patch on which to average values | |
| direction <direction>; // Direction along which to graph | |
| //distance <fieldName>; // Name of the distance field. Contours of this | |
| // field are used to define the layers in which to | |
| // average. Either this or direction should be | |
| // specified; not both. | |
| nPoints <nPoints>; // Number of points in the graph | |
| interpolate no; // Whether or not to do linear interpolation | |
| // between the plot points. Generates a smoother, | |
| // higher order result. Loses the ability to | |
| // visualise and reason about the layer | |
| // thicknesses. | |
| axis default; // The independent variable of the graph. Can be | |
| // "x", "y", "z", "xyz" (all coordinates written | |
| // out), "distance" (plane distance from the | |
| // origin), or "default" (both coordinates and | |
| // distance written out). | |
| fields (<fieldNames>); | |
| // ************************************************************************* // | |