db7fac3f24
git-svn-id: https://openfoam-extend.svn.sourceforge.net/svnroot/openfoam-extend/trunk/Core/OpenFOAM-1.5-dev@1731 e4e07f05-0c2f-0410-a05a-b8ba57e0c909
21 lines
512 B
Bash
Executable file
21 lines
512 B
Bash
Executable file
#!/bin/sh
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application directory
|
|
application="laplacianFoam"
|
|
|
|
runIdeasToFoam ()
|
|
{
|
|
if [ -f log.ideasToFoam ] ; then
|
|
echo "ansysToFoam already run on $PWD: remove log file to run"
|
|
else
|
|
echo "ansysToFoam: converting mesh $1"
|
|
ansysToFoam $1 -scale $2 > log.ansysToFoam 2>&1
|
|
fi
|
|
}
|
|
|
|
runIdeasToFoam flange.ans 0.001
|
|
runApplication $application
|
|
runApplication foamToFieldview9
|
|
runApplication foamToEnsight
|