snappyHexMesh now generates a face-zone for the AMI-s, and createBaffles and mergeOrSplitPoints -split are used to create the patches. Before, snappy generated AMI patches directly, which were then converted to AMI-s with createPatch. This way, the AMI-s match exactly at the start of the simulation. For more complicated cases that may be derived from this tutorial, this could be important.
16 lines
418 B
Bash
Executable File
16 lines
418 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 surface
|
|
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
|
|
|
|
#------------------------------------------------------------------------------
|