Download data/tutorials/compressibleVoF/damBreakSpray/system/functions from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.36 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/compressibleVoF/damBreakSpray/system/functions
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/compressibleVoF/damBreakSpray/system/functions
-
curl -L -o functions https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/compressibleVoF/damBreakSpray/system/functions
1.36 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; | |
| } | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| cloudMass | |
| { | |
| type cloudMass; | |
| libs ("libLagrangianCloudFunctionObjects.so"); | |
| cloud cloud; | |
| writeControl writeTime; | |
| } | |
| cloudTotalMass | |
| { | |
| type LagrangianFieldValue; | |
| libs ("libLagrangianFunctionObjects.so"); | |
| Lagrangian cloud; | |
| operation sum; | |
| field m; | |
| weightField number; | |
| } | |
| cloudMassFlux | |
| { | |
| type cloudMassFlux; | |
| libs ("libLagrangianCloudFunctionObjects.so"); | |
| cloud cloud; | |
| } | |
| #includeFunc patchFlowRate | |
| ( | |
| patch=atmosphere, | |
| cloud:phim, | |
| name=cloudAtmosphereMassFlowRate | |
| ) | |
| #includeFunc cellSum | |
| ( | |
| cloud:rhoEqn.water:Su, | |
| name=cloudMassTransfer | |
| ) | |
| #includeFunc timeStep | |
| // ************************************************************************* // | |