Download data/tutorials/multiphaseEuler/aeratedStirredTankMRF/validation/createGraphs from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 860 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiphaseEuler/aeratedStirredTankMRF/validation/createGraphs
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/multiphaseEuler/aeratedStirredTankMRF/validation/createGraphs
-
curl -L -o createGraphs https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiphaseEuler/aeratedStirredTankMRF/validation/createGraphs
860 Bytes
| #!/bin/sh | |
| if ! which gnuplot > /dev/null 2>&1 | |
| then | |
| echo "gnuplot not found - skipping graph creation" >&2 | |
| exit 1 | |
| fi | |
| gnuplot<<EOF | |
| set term pngcairo | |
| set grid | |
| set key right top box | |
| #\*-------------------------------Gas holdup---------------------------------*/ | |
| unset logscale | |
| unset format | |
| set title 'Gas holdup' | |
| set output '../gasHoldup.png' | |
| set xlabel 't (s)' | |
| set ylabel '<~{/Symbol \a }{.6—} ~_G{.6—} > (-)' | |
| plot '../postProcessing/gasHoldup/0/gasHoldup.dat' u 1:2 w l notitle | |
| #\*-------------------------------Flow rates---------------------------------*/ | |
| set title 'Flow rate' | |
| set output '../flowRates.png' | |
| set xlabel 't (s)' | |
| set ylabel 'Flow rate (m^3/s)' | |
| plot '../postProcessing/inletGasFlow/0/surfaceFieldValue.dat' u 1:2 w l t 'Gas inlet',\ | |
| '../postProcessing/outletGasFlow/0/surfaceFieldValue.dat' u 1:2 w l t 'Gas outlet' | |
| EOF |