mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
GIT: Initial commit after latest foundation merge
This commit is contained in:
@ -14,4 +14,4 @@ cleanCase
|
||||
\rm -rf 0 > /dev/null 2>&1
|
||||
\rm system/topoSetDict > /dev/null 2>&1
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -4,12 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
runRefineMesh ()
|
||||
{
|
||||
echo "Running refineMesh on $PWD"
|
||||
refineMesh -dict system/refineMeshDict -overwrite > log.refineMesh 2>&1
|
||||
}
|
||||
|
||||
# copy DTC hull surface from resources folder
|
||||
cp $FOAM_TUTORIALS/resources/geometry/DTC-scaled.stl.gz constant/triSurface/
|
||||
|
||||
@ -17,17 +11,13 @@ runApplication surfaceFeatureExtract
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
i=1
|
||||
if [ -f log.topoSet.6 ] ; then
|
||||
i=7
|
||||
fi
|
||||
while [ "$i" -lt 7 ] ; do
|
||||
cp system/topoSetDict.${i} system/topoSetDict
|
||||
runApplication topoSet
|
||||
runRefineMesh
|
||||
mv log.topoSet log.topoSet.$i
|
||||
mv log.refineMesh log.refineMesh.$i
|
||||
i=$(expr $i + 1)
|
||||
for i in 1 2 3 4 5 6
|
||||
do
|
||||
runApplication -s $i \
|
||||
topoSet -dict system/topoSetDict.${i}
|
||||
|
||||
runApplication -s $i \
|
||||
refineMesh -dict system/refineMeshDict -overwrite
|
||||
done
|
||||
|
||||
runApplication snappyHexMesh -overwrite
|
||||
@ -39,10 +29,10 @@ runApplication setFields
|
||||
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel renumberMesh 8 -overwrite
|
||||
runParallel renumberMesh -overwrite
|
||||
|
||||
runParallel $(getApplication) 8
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user