Download data/tutorials/multiRegion/CHT/coolingSphere/Allclean from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 564 Bytes
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiRegion/CHT/coolingSphere/Allclean
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/multiRegion/CHT/coolingSphere/Allclean
-
curl -L -o Allclean https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiRegion/CHT/coolingSphere/Allclean
564 Bytes
| cd "${0%/*}" || exit 1 # Run from this directory | |
| # Source tutorial clean functions | |
| . "$WM_PROJECT_DIR/bin/tools/CleanFunctions" | |
| removeRegionDirs () | |
| { | |
| _regionDirs="$(foamDictionary -keywords constant/materialProperties)" | |
| for _d in system constant | |
| do | |
| for _r in $_regionDirs | |
| do | |
| _dir="${_d}/${_r}" | |
| [ -d "$_dir" ] && rm -rf "$_dir" | |
| done | |
| done | |
| } | |
| cleanCase | |
| removeRegionDirs | |
| rm -rf 0 | |
| rm -f system/regionSolvers | |
| #------------------------------------------------------------------------------ | |