Download data/tutorials/multicomponentFluid/membrane/0/O2 from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.68 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multicomponentFluid/membrane/0/O2
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/multicomponentFluid/membrane/0/O2
-
curl -L -o O2 https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multicomponentFluid/membrane/0/O2
1.68 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 volScalarField; | |
| location "0"; | |
| object O2; | |
| } | |
| // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // | |
| #include "include" | |
| dimensions []; | |
| internalField | |
| { | |
| type zonal; | |
| defaultValue $!sleeve/O2; | |
| zones | |
| { | |
| pipe | |
| { | |
| type lookup; | |
| value $!pipe/O2; | |
| } | |
| } | |
| } | |
| boundaryField | |
| { | |
| inletSleeve | |
| { | |
| type fixedValue; | |
| value uniform $!sleeve/O2; | |
| } | |
| inletPipe | |
| { | |
| type fixedValue; | |
| value uniform $!pipe/O2; | |
| } | |
| outletSleeve | |
| { | |
| type inletOutlet; | |
| inletValue uniform $!sleeve/O2; | |
| } | |
| outletPipe | |
| { | |
| type inletOutlet; | |
| inletValue uniform $!pipe/O2; | |
| } | |
| wall | |
| { | |
| type zeroGradient; | |
| } | |
| membraneSleeve | |
| { | |
| type semiPermeableBaffleMassFraction; | |
| value uniform $!sleeve/O2; | |
| } | |
| membranePipe | |
| { | |
| type semiPermeableBaffleMassFraction; | |
| value uniform $!pipe/O2; | |
| } | |
| } | |
| // ************************************************************************* // | |