Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
ca724b2e
Commit
ca724b2e
authored
Jun 04, 2019
by
Mark OLESEN
Committed by
Andrew Heather
Jun 04, 2019
Browse files
TUT: cleanup postProcessing in planeTransport finiteArea tutorial
parent
298cb465
Changes
4
Hide whitespace changes
Inline
Side-by-side
bin/tools/CleanFunctions
View file @
ca724b2e
...
...
@@ -39,7 +39,7 @@ cleanTimeDirectories()
cleanDynamicCode
()
{
if
[
-d
system
-a
-d
dynamicCode
]
if
[
-d
dynamicCode
]
&&
[
-d
system
]
then
rm
-rf
dynamicCode
>
/dev/null 2>&1
fi
...
...
@@ -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
()
{
cleanTimeDirectories
cleanPostProcessing
cleanDynamicCode
rm
-rf
processor
*
>
/dev/null 2>&1
rm
-rf
postProcessing
>
/dev/null 2>&1
rm
-rf
TDAC
>
/dev/null 2>&1
rm
-rf
probes
*
>
/dev/null 2>&1
rm
-rf
forces
*
>
/dev/null 2>&1
rm
-rf
graphs
*
>
/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
Ensight EnSight ensightWrite insitu VTK
>
/dev/null 2>&1
# From mpirunDebug
rm
-f
gdbCommands mpirun.schema
...
...
@@ -149,7 +155,7 @@ removeCase()
cleanSamples
()
{
rm
-rf
./
sets
./
samples
./
sampleSurfaces
>
/dev/null 2>&1
rm
-rf
sets samples sampleSurfaces
>
/dev/null 2>&1
}
...
...
tutorials/finiteArea/sphereSurfactantFoam/sphereTransport/Allclean
View file @
ca724b2e
...
...
@@ -4,6 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanTimeDirectories
cleanPostProcessing
cleanFaMesh
rm
-rf
processor
*
...
...
tutorials/finiteArea/surfactantFoam/planeTransport/Allclean
View file @
ca724b2e
...
...
@@ -4,6 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
cleanTimeDirectories
cleanPostProcessing
cleanFaMesh
rm
-rf
processor
*
#------------------------------------------------------------------------------
tutorials/finiteArea/surfactantFoam/planeTransport/system/areaWrite
View file @
ca724b2e
...
...
@@ -9,6 +9,7 @@ areaWrite
writeControl writeTime;
writeInterval 1;
// verbose true;
// Fields to output (words or regex)
fields (".*");
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment