Commit ca724b2e authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

TUT: cleanup postProcessing in planeTransport finiteArea tutorial

parent 298cb465
...@@ -39,7 +39,7 @@ cleanTimeDirectories() ...@@ -39,7 +39,7 @@ cleanTimeDirectories()
cleanDynamicCode() cleanDynamicCode()
{ {
if [ -d system -a -d dynamicCode ] if [ -d dynamicCode ] && [ -d system ]
then then
rm -rf dynamicCode > /dev/null 2>&1 rm -rf dynamicCode > /dev/null 2>&1
fi fi
...@@ -73,22 +73,28 @@ cleanSnappyFiles() ...@@ -73,22 +73,28 @@ cleanSnappyFiles()
} }
cleanPostProcessing()
{
rm -rf Ensight EnSight ensightWrite insitu VTK > /dev/null 2>&1
rm -rf postProcessing > /dev/null 2>&1
rm -rf cuttingPlane > /dev/null 2>&1
rm -rf surfaceSampling > /dev/null 2>&1
}
cleanCase() cleanCase()
{ {
cleanTimeDirectories cleanTimeDirectories
cleanPostProcessing
cleanDynamicCode cleanDynamicCode
rm -rf processor* > /dev/null 2>&1 rm -rf processor* > /dev/null 2>&1
rm -rf postProcessing > /dev/null 2>&1
rm -rf TDAC > /dev/null 2>&1 rm -rf TDAC > /dev/null 2>&1
rm -rf probes* > /dev/null 2>&1 rm -rf probes* > /dev/null 2>&1
rm -rf forces* > /dev/null 2>&1 rm -rf forces* > /dev/null 2>&1
rm -rf graphs* > /dev/null 2>&1 rm -rf graphs* > /dev/null 2>&1
rm -rf sets > /dev/null 2>&1 rm -rf sets > /dev/null 2>&1
rm -rf surfaceSampling > /dev/null 2>&1
rm -rf cuttingPlane > /dev/null 2>&1
rm -rf system/machines > /dev/null 2>&1 rm -rf system/machines > /dev/null 2>&1
rm -rf Ensight EnSight ensightWrite insitu VTK > /dev/null 2>&1
# From mpirunDebug # From mpirunDebug
rm -f gdbCommands mpirun.schema rm -f gdbCommands mpirun.schema
...@@ -149,7 +155,7 @@ removeCase() ...@@ -149,7 +155,7 @@ removeCase()
cleanSamples() cleanSamples()
{ {
rm -rf ./sets ./samples ./sampleSurfaces > /dev/null 2>&1 rm -rf sets samples sampleSurfaces > /dev/null 2>&1
} }
......
...@@ -4,6 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory ...@@ -4,6 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanTimeDirectories cleanTimeDirectories
cleanPostProcessing
cleanFaMesh cleanFaMesh
rm -rf processor* rm -rf processor*
......
...@@ -4,6 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory ...@@ -4,6 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanTimeDirectories cleanTimeDirectories
cleanPostProcessing
cleanFaMesh cleanFaMesh
rm -rf processor*
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
...@@ -9,6 +9,7 @@ areaWrite ...@@ -9,6 +9,7 @@ areaWrite
writeControl writeTime; writeControl writeTime;
writeInterval 1; writeInterval 1;
// verbose true;
// Fields to output (words or regex) // Fields to output (words or regex)
fields (".*"); fields (".*");
......
Supports Markdown
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