This tutorial simulates solid particle coalescence and breakage through a 90 degree pipe bend. Patch contributed by Kasper Gram Bilde and Institute of Fluid Dynamics, Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
29 lines
608 B
Bash
Executable File
29 lines
608 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Mesh
|
|
runApplication blockMesh
|
|
runApplication topoSet
|
|
|
|
# Run
|
|
runApplication decomposePar
|
|
runParallel $(getApplication)
|
|
runApplication reconstructPar -latestTime
|
|
|
|
# Post-process
|
|
runApplication postProcess -func "
|
|
graphLayerAverage
|
|
(
|
|
funcName=graphCrossSection,
|
|
patches=(inlet),
|
|
axis=distance,
|
|
d.particles
|
|
)
|
|
" -latestTime
|
|
cd validation && ./createGraphs
|
|
|
|
#------------------------------------------------------------------------------
|