Files
OpenFOAM-12/tutorials/modules/film/rivuletPanel/Allrun

20 lines
563 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run and clean functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Copy the source case
isTest "$@" && path=../../isothermalFilm || path=$FOAM_TUTORIALS/modules/isothermalFilm
cp -r $path/rivuletPanel/constant .
cp -r $path/rivuletPanel/system .
cp -r $path/rivuletPanel/0 .
runApplication -a foamDictionary system/controlDict -entry solver -set film
runApplication blockMesh
runApplication foamRun
#------------------------------------------------------------------------------