mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tutorial scripts
This commit is contained in:
19
tutorials/rasInterFoam/damBreak/Allrun
Executable file
19
tutorials/rasInterFoam/damBreak/Allrun
Executable file
@ -0,0 +1,19 @@
|
||||
#!/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 setFields
|
||||
runApplication $application
|
||||
Reference in New Issue
Block a user