Download data/tutorials/mesh/refineMesh/sector/system/R from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 840 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/mesh/refineMesh/sector/system/R
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/mesh/refineMesh/sector/system/R
-
curl -L -o R https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/mesh/refineMesh/sector/system/R
840 Bytes
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ M anipulation | | |
| \*---------------------------------------------------------------------------*/ | |
| type coded; | |
| libs ("libutilityFunctionObjects.so"); | |
| codeInclude | |
| #{ | |
| #include "volFields.H" | |
| #}; | |
| codeWrite | |
| #{ | |
| const tensor XY(1, 0, 0, 0, 1, 0, 0, 0, 0); | |
| volScalarField | |
| ( | |
| IOobject | |
| ( | |
| "R", | |
| mesh().time().name(), | |
| mesh() | |
| ), | |
| mag(XY & mesh().C()) | |
| ).write(); | |
| #}; | |
| // ************************************************************************* // | |