OpenFOAM-dev / data /tutorials /incompressibleFluid /pitzDailySteadyMappedToRefined /Allrun-parallel
Download data/tutorials/incompressibleFluid/pitzDailySteadyMappedToRefined/Allrun-parallel from introvoyz042/OpenFOAM-dev: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/incompressibleFluid/pitzDailySteadyMappedToRefined/Allrun-parallel
- Command line
-
hf download hf://datasets/introvoyz042/OpenFOAM-dev/data/tutorials/incompressibleFluid/pitzDailySteadyMappedToRefined/Allrun-parallel
-
curl -L -o Allrun-parallel https://huggingface.co/datasets/introvoyz042/OpenFOAM-dev/resolve/main/data/tutorials/incompressibleFluid/pitzDailySteadyMappedToRefined/Allrun-parallel
1.03 kB
| #!/bin/sh | |
| cd ${0%/*} || exit 1 # Run from this directory | |
| # Source tutorial run and clean functions | |
| . $WM_PROJECT_DIR/bin/tools/RunFunctions | |
| . $WM_PROJECT_DIR/bin/tools/CleanFunctions | |
| # Copy/merge the source case | |
| isTest "$@" && path=.. || path=$FOAM_TUTORIALS/incompressibleFluid | |
| cp -r $path/pitzDailySteady . | |
| foamMergeCase $path/pitzDailySteady || exit | |
| # Run the source case in parallel | |
| ( | |
| cd pitzDailySteady | |
| cp ../system/decomposeParDict system | |
| runApplication blockMesh -dict $FOAM_TUTORIALS/resources/blockMesh/pitzDaily | |
| runApplication decomposePar -latestTime | |
| runParallel foamRun -noFunctionObjects | |
| ) | |
| # Mesh | |
| ./Allmesh | |
| runApplication decomposePar | |
| # Map from the source case into this case and run | |
| runParallel mapFieldsPar pitzDailySteady -consistent -sourceTime latestTime | |
| runParallel foamRun -noFunctionObjects | |
| # Reconstruct, including the values mapped to the zero directory | |
| runApplication reconstructPar -withZero | |
| #------------------------------------------------------------------------------ | |