TUT: skip some tutorials when dynamicCode is not available

- silence failed restoration of controlDict from controlDict.orig
  (idempotent?)
This commit is contained in:
Mark Olesen
2020-08-06 18:25:56 +02:00
parent 9ef144118d
commit 44052de594
24 changed files with 77 additions and 5 deletions

View File

@ -3,6 +3,8 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
canCompile || exit 0 # Dynamic code
restore0Dir
runApplication blockMesh
runApplication $(getApplication) -withFunctionObjects -writePhi -writep