Download data/tutorials/fluid/stackPlume/system/Uyz from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 872 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/fluid/stackPlume/system/Uyz
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/fluid/stackPlume/system/Uyz
-
curl -L -o Uyz https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/fluid/stackPlume/system/Uyz
872 Bytes
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ M anipulation | | |
| ------------------------------------------------------------------------------- | |
| Description | |
| Writes a vector of (0 Uy Uz) | |
| \*---------------------------------------------------------------------------*/ | |
| libs ("libutilityFunctionObjects.so"); | |
| type coded; | |
| writeControl writeTime; | |
| codeOptions | |
| -I$(LIB_SRC)/finiteVolume/lnInclude | |
| codeWrite | |
| volVectorField Uyz | |
| ( | |
| "Uyz", | |
| (I - sqr(vector(1, 0, 0))) & mesh().lookupObject<volVectorField>("U") | |
| ); | |
| Uyz.write(); | |
| codeFields | |
| fields.append("U"); | |