Simulating the mixing of two miscible liquids is possible my considering them as different species of a multicomponent fluid. This approach also supports an arbitrary number of liquids. The twoLiquidMixingFoam solver has therefore been removed and its tutorials converted to use the multicomponentFluid solver module.
15 lines
348 B
Bash
Executable File
15 lines
348 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Set application name
|
|
application=$(getApplication)
|
|
|
|
runApplication blockMesh
|
|
runApplication setFields
|
|
runApplication $application
|
|
|
|
#------------------------------------------------------------------------------
|