Download data/tutorials/multiphaseEuler/hydrofoil/system/functions from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.3 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiphaseEuler/hydrofoil/system/functions
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/multiphaseEuler/hydrofoil/system/functions
-
curl -L -o functions https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiphaseEuler/hydrofoil/system/functions
1.3 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 yPlus(phase=liquid) | |
| #includeFunc cellMin | |
| ( | |
| name=min, | |
| alpha.liquid, | |
| alpha.gas, | |
| p, | |
| p_rgh, | |
| U.liquid, | |
| U.gas, | |
| T.gas, | |
| T.liquid | |
| ) | |
| #includeFunc cellMax | |
| ( | |
| name=max, | |
| alpha.liquid, | |
| alpha.gas, | |
| p, | |
| p_rgh, | |
| U.liquid, | |
| U.gas, | |
| T.gas, | |
| T.liquid | |
| ) | |
| #includeFunc graphPatchCutLayerAverage | |
| ( | |
| name=hydrofoilLowerPressure, | |
| patch=hydrofoilLower, | |
| direction=(0.15 -0.016 0), | |
| nPoints=100, | |
| p | |
| ) | |
| #includeFunc graphPatchCutLayerAverage | |
| ( | |
| name=hydrofoilUpperPressure, | |
| patch=hydrofoilUpper, | |
| direction=(0.15 -0.016 0), | |
| nPoints=100, | |
| p | |
| ) | |
| // ************************************************************************* // | |