mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: skip some tutorials when dynamicCode is not available
- silence failed restoration of controlDict from controlDict.orig (idempotent?)
This commit is contained in:
11
tutorials/combustion/XiDyMFoam/oscillatingCylinder/Allrun
Executable file
11
tutorials/combustion/XiDyMFoam/oscillatingCylinder/Allrun
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
canCompile || exit 0 # Dynamic code
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -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
|
||||
|
||||
runApplication kivaToFoam -file otape17
|
||||
|
||||
runApplication $(getApplication)
|
||||
|
||||
Reference in New Issue
Block a user