Download data/etc/caseDicts/functions/fields/power from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/etc/caseDicts/functions/fields/power
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/etc/caseDicts/functions/fields/power
-
curl -L -o power https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/etc/caseDicts/functions/fields/power
1.51 kB
| /*--------------------------------*- C++ -*----------------------------------*\ | |
| ========= | | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | |
| \\ / O peration | Website: https://openfoam.org | |
| \\ / A nd | Version: dev | |
| \\/ M anipulation | | |
| ------------------------------------------------------------------------------- | |
| Description | |
| Calculates the following power fields: | |
| + tauUSf: tauf & Uf | |
| + divTauU: fvc::div(tauUSf) | |
| + divTauDotU: fvc::div(tauf) & U | |
| + tauDDotGradU: divTauU - divTauDotU | |
| + pUSf: -pIf & Uf | |
| + divPU: fvc::div(pUSf) | |
| + gradPU: -fvc::grad(p) & U | |
| + pDivU: divPU - gradPU | |
| + stressUSf: tauUSf + pUSf | |
| + divStressU: fvc::div(stressUSf) | |
| + divStressDotU: fvc::div(stressf) & U | |
| + stressDDotGradU: divStressU - divStressDotU | |
| where: | |
| + p, U = cell centre pressure and velocity | |
| + pIf, Uf = face normal pressure force, and velocity, vectors | |
| + tauf = face shear force vectors [-transport.devTau()*mesh().magSf()] | |
| + stressf = tauf - pIf | |
| \*---------------------------------------------------------------------------*/ | |
| type power; | |
| libs ("libfieldFunctionObjects.so"); | |
| executeControl writeTime; | |
| writeControl writeTime; | |
| log true; | |
| factor 1e9; | |
| // ************************************************************************* // | |