Download data/tutorials/compressibleVoF/ballValve/system/functions from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/compressibleVoF/ballValve/system/functions
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/compressibleVoF/ballValve/system/functions
-
curl -L -o functions https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/compressibleVoF/ballValve/system/functions
1.25 kB
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ M anipulation | | |
| \*---------------------------------------------------------------------------*/ | |
| FoamFile | |
| { | |
| format ascii; | |
| class dictionary; | |
| location "system"; | |
| object functions; | |
| } | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| #includeFunc cutPlaneSurface | |
| ( | |
| point=(0 0 0), | |
| normal=(0 0 1), | |
| interpolate=no, | |
| fields=(alpha.water p_rgh p T U k epsilon) | |
| ) | |
| #includeFunc isoSurface | |
| ( | |
| isoField=alpha.water, | |
| isoValue=0.5, | |
| writeEmpty=yes | |
| ) | |
| #includeFunc patchSurface(patch=".*(Walls|NonCouple)") | |
| cavitationVolume | |
| { | |
| type volFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| writeControl timeStep; | |
| writeInterval 1; | |
| writeFields false; | |
| cellZone all; | |
| operation volIntegrate; | |
| fields (alpha.vapour); | |
| } | |
| // ************************************************************************* // | |