18 lines
360 B
Bash
Executable file
18 lines
360 B
Bash
Executable file
#!/bin/sh
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application name
|
|
application="porousSimpleIbFoam"
|
|
|
|
runApplication blockMesh
|
|
\cp save/boundary constant/polyMesh/
|
|
|
|
mkdir 0
|
|
\cp -f 0_org/* 0/
|
|
|
|
runApplication setSet -batch setSet.batch
|
|
runApplication setsToZones
|
|
|
|
runApplication potentialIbFoam
|
|
runApplication $application
|