TUT: relocate flange.ans -> tutorials/resources/geometry

- makes it easier to copy/duplicate the case
This commit is contained in:
Mark Olesen
2020-06-18 20:57:26 +02:00
parent 86cd5400ce
commit a4864eb1a8
3 changed files with 19 additions and 4 deletions

View File

@ -3,9 +3,15 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
runApplication ansysToFoam flange.ans -scale 0.001
runApplication ansysToFoam \
${FOAM_TUTORIALS:?}/resources/geometry/flange.ans -scale 0.001
runApplication $(getApplication)
runApplication foamToEnsight -noZero
runApplication foamToVTK
if true
then
runApplication foamToEnsight -noZero
runApplication foamToVTK
fi
#------------------------------------------------------------------------------

View File

@ -3,8 +3,17 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
runApplication ansysToFoam flange.ans -scale 0.001
runApplication ansysToFoam \
${FOAM_TUTORIALS:?}/resources/geometry/flange.ans -scale 0.001
runApplication decomposePar
runParallel $(getApplication)
if false
then
runParallel foamToEnsight -noZero
runParallel foamToVTK
fi
#------------------------------------------------------------------------------