mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
- A few without a 'cd' at the start. Use $(getApplication) directly in more places (for clarity).
25 lines
659 B
Bash
Executable File
25 lines
659 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
runApplication -s coarseMesh blockMesh -dict system/blockMeshDict.coarse
|
|
|
|
mkdir constant/coarseMesh
|
|
mv constant/polyMesh constant/coarseMesh
|
|
|
|
runApplication -s fine blockMesh -dict system/blockMeshDict.fine
|
|
|
|
runApplication -s fine decomposePar
|
|
|
|
runApplication -s coarseMesh decomposePar -region coarseMesh
|
|
|
|
runParallel $(getApplication)
|
|
|
|
#runApplication -s fine reconstructPar
|
|
#
|
|
#runApplication -s coarseMesh reconstructPar -region coarseMesh
|
|
|
|
# -----------------------------------------------------------------------------
|