mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
22 lines
573 B
Bash
Executable File
22 lines
573 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
cd hopperInitialState
|
|
runApplication blockMesh
|
|
runApplication decomposePar
|
|
runParallel `getApplication` 4
|
|
runApplication reconstructPar -latestTime
|
|
cd ..
|
|
|
|
cd hopperEmptying
|
|
runApplication blockMesh
|
|
runApplication mapFields ../hopperInitialState -sourceTime latestTime
|
|
runApplication decomposePar
|
|
runParallel `getApplication` 4
|
|
runApplication reconstructPar
|
|
|
|
# ----------------------------------------------------------------- end-of-file
|