Download data/tutorials/multiphaseEuler/boilingBed/system/functions from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 3.15 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiphaseEuler/boilingBed/system/functions
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/multiphaseEuler/boilingBed/system/functions
-
curl -L -o functions https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiphaseEuler/boilingBed/system/functions
3.15 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 cellMinMag | |
| ( | |
| name=fieldMin, | |
| executeAtStart=no, | |
| continuityError.gas, | |
| continuityError.liquid, | |
| log=yes | |
| ) | |
| #includeFunc cellMaxMag | |
| ( | |
| name=fieldMax, | |
| executeAtStart=no, | |
| continuityError.gas, | |
| continuityError.liquid, | |
| log=yes | |
| ) | |
| #includeFunc writeObjects | |
| ( | |
| continuityError.gas, | |
| continuityError.liquid | |
| ) | |
| outflow | |
| { | |
| type surfaceFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| log yes; | |
| writeFields false; | |
| patch outlet; | |
| operation sum; | |
| fields (alphaRhoPhi.gas alphaRhoPhi.liquid); | |
| } | |
| inflow | |
| { | |
| type surfaceFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| log yes; | |
| writeFields false; | |
| patch inlet; | |
| operation sum; | |
| fields (alphaRhoPhi.gas alphaRhoPhi.liquid); | |
| } | |
| outletGas | |
| { | |
| type surfaceFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| log yes; | |
| writeFields false; | |
| patch outlet; | |
| operation sum; | |
| weightField alphaRhoPhi.gas; | |
| fields (h.gas); | |
| } | |
| outletLiquid | |
| { | |
| type surfaceFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| log yes; | |
| writeFields false; | |
| patch outlet; | |
| operation sum; | |
| weightField alphaRhoPhi.liquid; | |
| fields (e.liquid); | |
| } | |
| inletGas | |
| { | |
| type surfaceFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| log yes; | |
| writeFields false; | |
| patch inlet; | |
| operation sum; | |
| weightField alphaRhoPhi.gas; | |
| fields (h.gas); | |
| } | |
| inletLiquid | |
| { | |
| type surfaceFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| log yes; | |
| writeFields false; | |
| patch inlet; | |
| operation sum; | |
| weightField alphaRhoPhi.liquid; | |
| fields (e.liquid); | |
| } | |
| contError | |
| { | |
| type volFieldValue; | |
| libs ("libfieldFunctionObjects.so"); | |
| log yes; | |
| writeFields false; | |
| cellZone all; | |
| operation volIntegrate; | |
| fields (continuityError.gas continuityError.liquid); | |
| } | |
| writeWallheatfluxSolid | |
| { | |
| type wallHeatFlux; | |
| libs ( "libmultiphaseEulerFoamFunctionObjects.so" ); | |
| writeControl writeTime; | |
| phase solid; | |
| } | |
| // ************************************************************************* // | |