mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove unnecessary stdout, stderr /dev/null redirects
- no stderr redirect needed:
* 'command -v'
- no stdout/stderr redirect needed:
* 'rm -f'
STYLE: consistent spacing after redirects
This commit is contained in:
committed by
Andrew Heather
parent
ec7e3c88e4
commit
e6dfb39c66
@ -5,6 +5,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
cleanCase
|
||||
|
||||
# rm -f constant/triSurface/cyclone.stl.gz > /dev/null 2>&1
|
||||
# rm -f constant/triSurface/cyclone.stl*
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -10,7 +10,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
runApplication decomposePar
|
||||
runParallel $(getApplication)
|
||||
runApplication reconstructPar -latestTime
|
||||
rm log.reconstructPar
|
||||
rm -f log.reconstructPar
|
||||
runApplication reconstructPar -lagrangianFields \
|
||||
'(collisionRecordsPairAccessed collisionRecordsPairData \
|
||||
collisionRecordsPairOrigIdOfOther \
|
||||
|
||||
@ -25,7 +25,7 @@ nz=2
|
||||
|
||||
|
||||
tmpSetSet='patchify.setSet'
|
||||
rm -f patchify.setSet >/dev/null 2>&1
|
||||
rm -f patchify.setSet
|
||||
|
||||
|
||||
initialiseFaceSet()
|
||||
|
||||
@ -11,7 +11,7 @@ restore0Dir
|
||||
# initialise with potentialFoam solution
|
||||
runApplication potentialFoam
|
||||
|
||||
\rm -f 0/phi
|
||||
rm -f 0/phi
|
||||
|
||||
# run the solver
|
||||
runApplication $(getApplication)
|
||||
|
||||
@ -11,7 +11,7 @@ restore0Dir
|
||||
# initialise with potentialFoam solution
|
||||
runApplication potentialFoam
|
||||
|
||||
\rm -f 0/phi
|
||||
rm -f 0/phi
|
||||
|
||||
# run the solver
|
||||
runApplication $(getApplication)
|
||||
|
||||
@ -10,7 +10,7 @@ runApplication blockMesh
|
||||
runApplication potentialFoam
|
||||
|
||||
# Remove incompatible (volumetric) flux field
|
||||
\rm -f 0/phi 2>/dev/null
|
||||
rm -f 0/phi
|
||||
|
||||
runApplication $(getApplication)
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ runApplication blockMesh
|
||||
runApplication potentialFoam
|
||||
|
||||
# Remove incompatible (volumetric) flux field
|
||||
\rm -f 0/phi 2>/dev/null
|
||||
rm -f 0/phi
|
||||
|
||||
runApplication decomposePar
|
||||
|
||||
|
||||
Reference in New Issue
Block a user