A surface geometry file should be stored in $FOAM_TUTORIALS/resources/geometry if it is used in multiple cases, otherwise it should be stored locally to the case. This change enforces that across all tutorials.
16 lines
420 B
Bash
Executable File
16 lines
420 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial clean functions
|
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
|
|
# Remove surfaces
|
|
rm -f constant/triSurface/propeller*.obj.gz > /dev/null 2>&1
|
|
|
|
cleanCase
|
|
|
|
rm -rf constant/extendedFeatureEdgeMesh > /dev/null 2>&1
|
|
rm -f constant/triSurface/*.eMesh* > /dev/null 2>&1
|
|
|
|
#------------------------------------------------------------------------------
|