STYLE: cleanup handling of 0.org directories (in parallel)

- remove duplicate 0/ files from the repository
This commit is contained in:
Mark Olesen
2016-06-29 13:34:36 +02:00
parent 8bdc7e01bf
commit 820f809bd5
44 changed files with 51 additions and 1474 deletions

View File

@ -4,12 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial clean functions
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
# Remove 0.org/ copy and post-processing directories
\rm -rf 0 postProcessing
cleanCase
# remove 0 directory
rm -rf 0
# remove post-processing directory
rm -rf postProcessing
#------------------------------------------------------------------------------

View File

@ -4,12 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=$(getApplication)
# Create mesh
runApplication blockMesh
# Copy 0.org to 0
# Restore 0/ from 0.org/
restore0Dir
# Create sets
@ -18,7 +16,7 @@ runApplication topoSet
# Create baffles and fields
runApplication createBaffles -overwrite
runApplication $application
runApplication $(getApplication)
#- RedistributePar to do decomposition
runParallel redistributePar -decompose -cellDist