Skip to content
Snippets Groups Projects
Commit a5e3f89b authored by mattijs's avatar mattijs
Browse files

ENH: biconic25-55Run35: add overwrite flag to collapseEdges

parent 8712b827
Branches
Tags
No related merge requests found
......@@ -4,15 +4,15 @@ cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
moveTimeMeshToConstant()
{
DT=`foamInfoExec -times | tail -1`
if [ "$DT" != 0 ]
then
mv ${DT}/polyMesh/* constant/polyMesh
rm -rf ${DT}
fi
}
#moveTimeMeshToConstant()
#{
# DT=`foamInfoExec -times | tail -1`
# if [ "$DT" != 0 ]
# then
# mv ${DT}/polyMesh/* constant/polyMesh
# rm -rf ${DT}
# fi
#}
runApplication blockMesh
......@@ -20,8 +20,8 @@ runApplication datToFoam grid256.dat
CONST="constant"
cat $CONST/pointsHeader $CONST/points.tmp > $CONST/polyMesh/points
runApplication collapseEdges
moveTimeMeshToConstant
runApplication collapseEdges -overwrite
#moveTimeMeshToConstant
echo "Changing patch type to wedge type in boundary file"
mv $CONST/polyMesh/boundary $CONST/polyMesh/boundary.bak
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment