OpenFOAM-dev / data /tutorials /isothermalFluid /potentialFreeSurfaceMovingOscillatingBox /system /createPatchDict
Download data/tutorials/isothermalFluid/potentialFreeSurfaceMovingOscillatingBox/system/createPatchDict from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/isothermalFluid/potentialFreeSurfaceMovingOscillatingBox/system/createPatchDict
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/isothermalFluid/potentialFreeSurfaceMovingOscillatingBox/system/createPatchDict
-
curl -L -o createPatchDict https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/isothermalFluid/potentialFreeSurfaceMovingOscillatingBox/system/createPatchDict
1.18 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 createPatchDict; | |
| } | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| patches | |
| { | |
| floatingObjectBottom | |
| { | |
| // Dictionary to construct new patch from | |
| patchInfo | |
| { | |
| type wall; | |
| } | |
| // Construct patch from a faceZone | |
| constructFrom zone; | |
| zone | |
| { | |
| type normal; | |
| normal (0 1 0); | |
| tol 0.01; | |
| floatingObject | |
| { | |
| type patch; | |
| patch floatingObject; | |
| } | |
| } | |
| } | |
| } | |
| // ************************************************************************* // | |