This function now looks up an alphaPhi field by default and exits with an error if the field cannot be found. In order to solve for alphaPhi a new 'solveAlphaPhi' switch has to be set. The documentation has been updated to reflect the fact that the VoF solvers now store all the alphaPhi fluxes necessary for a in-phase equation to be constructed. The phaseScalarTransport function has been added to the damBreakLaminar tutorial.
18 lines
402 B
Bash
Executable File
18 lines
402 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial clean functions
|
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
|
|
cleanVoFCase
|
|
|
|
find 0 -type f -not -name tracer.* -delete
|
|
|
|
find constant -type f -not \( \
|
|
-name fvModels -or -name momentumTransport \
|
|
\) -delete
|
|
|
|
rm -f system/blockMeshDict
|
|
|
|
#------------------------------------------------------------------------------
|