Download data/tutorials/multiRegion/film/rivuletBox/Allrun from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.27 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiRegion/film/rivuletBox/Allrun
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/multiRegion/film/rivuletBox/Allrun
-
curl -L -o Allrun https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/multiRegion/film/rivuletBox/Allrun
1.27 kB
| cd ${0%/*} || exit 1 # Run from this directory | |
| # Source tutorial run functions | |
| . $WM_PROJECT_DIR/bin/tools/RunFunctions | |
| runApplication blockMesh -region box | |
| runApplication -s panel extrudeToRegionMesh \ | |
| -dict system/extrudeToRegionMeshDict.panel \ | |
| -region box | |
| runApplication -s film extrudeToRegionMesh \ | |
| -dict system/extrudeToRegionMeshDict.film \ | |
| -region panel | |
| # Add the coupling between box and film | |
| # Third-region coupling is not currently supported by extrudeToRegionMesh | |
| runApplication -s box foamDictionary -set \ | |
| "entry0/film/type=mappedExtrudedWall, \ | |
| entry0/film/neighbourRegion=film, \ | |
| entry0/film/neighbourPatch=surface, \ | |
| entry0/film/isExtrudedRegion=no" \ | |
| constant/box/polyMesh/boundary | |
| runApplication -s film foamDictionary -set \ | |
| "entry0/surface/type=mappedFilmSurface, \ | |
| entry0/surface/neighbourRegion=box, \ | |
| entry0/surface/neighbourPatch=film, \ | |
| entry0/surface/isExtrudedRegion=yes" \ | |
| constant/film/polyMesh/boundary | |
| # Serial run | |
| #runApplication foamMultiRun | |
| # Parallel run | |
| runApplication decomposePar -allRegions | |
| runParallel foamMultiRun | |
| runApplication reconstructPar -allRegions | |
| #------------------------------------------------------------------------------ | |