mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: cleanup handling of 0.org directories (in parallel)
- remove duplicate 0/ files from the repository
This commit is contained in:
@ -23,9 +23,9 @@ runApplication blockMesh
|
||||
# --------
|
||||
runApplication decomposePar -force
|
||||
runParallel snappyHexMesh -overwrite
|
||||
\ls -d processor* | xargs -I {} rm -f ./{}/constant/polyMesh/refinementHistory
|
||||
\ls -d processor* | xargs -I {} \rm -f ./{}/constant/polyMesh/refinementHistory
|
||||
|
||||
# - set the initial fields
|
||||
\ls -d processor* | xargs -I {} \rm -rf ./{}/0
|
||||
\ls -d processor* | xargs -I {} \cp -r 0.org ./{}/0
|
||||
restore0Dir -processor
|
||||
|
||||
runParallel setFields
|
||||
|
||||
@ -7,8 +7,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Remove surface
|
||||
\rm -f constant/triSurface/bullet.stl.gz
|
||||
|
||||
# Remove copy of 0.org
|
||||
rm -rf 0
|
||||
# Remove 0.org/ copy
|
||||
\rm -rf 0
|
||||
|
||||
cleanCase
|
||||
|
||||
|
||||
Reference in New Issue
Block a user