mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: verificationAndValidation Allrun uses bash
STYLE: double-quote "$@" for isTest/notTest
This commit is contained in:
@ -26,7 +26,7 @@ setDamBreakFine ()
|
||||
(cd damBreak && foamRunTutorials)
|
||||
|
||||
|
||||
if notTest $@
|
||||
if notTest "$@"
|
||||
then
|
||||
# Clone case
|
||||
cloneCase damBreak damBreakFine
|
||||
|
||||
@ -25,7 +25,7 @@ setDamBreakFine ()
|
||||
# Do damBreak
|
||||
(cd damBreak && foamRunTutorials)
|
||||
|
||||
if notTest $@
|
||||
if notTest "$@"
|
||||
then
|
||||
# Clone case
|
||||
cloneCase damBreak damBreakFine
|
||||
|
||||
@ -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 $*)
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user