mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
20 lines
359 B
Bash
Executable File
20 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Get application name from directory
|
|
parentDir=`dirname $PWD`
|
|
application=`basename $parentDir`
|
|
|
|
# Find and source additional functions
|
|
tutorialPath=$PWD
|
|
while [ ! -f $tutorialPath/RunFunctions ]
|
|
do
|
|
tutorialPath="$tutorialPath/.."
|
|
done
|
|
. $tutorialPath/RunFunctions
|
|
|
|
|
|
|
|
runApplication blockMesh
|
|
runApplication $application
|
|
runApplication sample
|