TUT: verificationAndValidation Allrun uses bash

STYLE: double-quote "$@" for isTest/notTest
This commit is contained in:
Mark Olesen
2020-03-30 21:14:29 +02:00
parent 8a4ea197cd
commit 9b1c0786ce
36 changed files with 50 additions and 43 deletions

View File

@ -26,7 +26,7 @@ setDamBreakFine ()
(cd damBreak && foamRunTutorials)
if notTest $@
if notTest "$@"
then
# Clone case
cloneCase damBreak damBreakFine

View File

@ -25,7 +25,7 @@ setDamBreakFine ()
# Do damBreak
(cd damBreak && foamRunTutorials)
if notTest $@
if notTest "$@"
then
# Clone case
cloneCase damBreak damBreakFine

View File

@ -5,7 +5,7 @@ cd "${0%/*}" || exit # Run from this directory
(cd eulerianInjection && ./Allrun $*)
if notTest $@
if notTest "$@"
then
# Note: particle data only available if running complete case
(cd lagrangianParticleInjection && ./Allrun $*)

View File

@ -8,7 +8,7 @@ application=$(getApplication)
runApplication blockMesh
runApplication $application
if notTest $@
if notTest "$@"
then
foamDictionary system/controlDict -entry endTime -set 4
foamDictionary system/controlDict -entry startTime -set 0.5

View File

@ -8,7 +8,7 @@ application=$(getApplication)
runApplication blockMesh
runApplication $application
if notTest $@
if notTest "$@"
then
foamDictionary system/controlDict -entry endTime -set 4
foamDictionary system/controlDict -entry startTime -set 0.5

View File

@ -6,7 +6,7 @@ cd "${0%/*}" || exit # Run from this directory
runApplication blockMesh
runApplication $(getApplication)
if notTest $@
if notTest "$@"
then
foamDictionary system/controlDict -entry endTime -set 4
foamDictionary 2/T.liquid -entry boundaryField/wall2/q -set 'uniform 1e5'

View File

@ -8,7 +8,7 @@ application=$(getApplication)
runApplication blockMesh
runApplication $application
if notTest $@
if notTest "$@"
then
foamDictionary system/controlDict -entry endTime -set 4
foamDictionary system/controlDict -entry startTime -set 0.5

View File

@ -6,7 +6,7 @@ cd "${0%/*}" || exit # Run from this directory
runApplication blockMesh
runApplication $(getApplication)
if notTest $@
if notTest "$@"
then
foamDictionary system/controlDict -entry endTime -set 5
foamDictionary 2/T.liquid -entry boundaryField/wall2/q -set 'uniform 1e5'