19 lines
390 B
Bash
Executable File
19 lines
390 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
restore0Dir
|
|
|
|
runApplication blockMesh
|
|
|
|
runApplication potentialFoam
|
|
|
|
# remove incompatible (volumetric) flux field
|
|
\rm -f 0/phi 2>/dev/null
|
|
|
|
runApplication $(getApplication)
|
|
|
|
#------------------------------------------------------------------------------
|