- A few without a 'cd' at the start. Use $(getApplication) directly in more places (for clarity).
14 lines
385 B
Bash
Executable File
14 lines
385 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
|
runApplication blockMesh
|
|
cp 0/alpha.water.orig 0/alpha.water
|
|
runApplication setFields
|
|
runApplication $(getApplication)
|
|
|
|
#------------------------------------------------------------------------------
|