16 lines
477 B
Bash
Executable file
16 lines
477 B
Bash
Executable file
#!/bin/sh
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application name
|
|
application="icoOversetFoam"
|
|
|
|
\cp -f blockMeshDict constant/polyMesh/blockMeshDict
|
|
runApplication blockMesh
|
|
\cp -f boundary constant/polyMesh/boundary
|
|
runApplication setSet -batch setBatch.batch
|
|
\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz
|
|
runApplication setsToZones -batch
|
|
|
|
runApplication potentialOversetFoam -writep
|
|
runApplication $application
|