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:
@ -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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user