mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
This case is a simple bubble column, which is run by reactingTwoPhaseEulerFoam. Upon completion, rStatAnalysis can be run to compute the recurrence statistics of the bubble column. This demo case must be run in parallel, as rStatAnalysis apparently does not run as a single, serial process.
29 lines
463 B
Bash
Executable File
29 lines
463 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`
|
|
|
|
|
|
rm -rf 0
|
|
cp -r 0.org 0
|
|
|
|
runApplication blockMesh
|
|
|
|
runApplication renumberMesh -overwrite
|
|
|
|
runApplication decomposePar
|
|
|
|
runParallel $application
|
|
|
|
runParallel rStatAnalysis
|
|
|
|
cd recMat
|
|
|
|
./plot.sh
|
|
|
|
#------------------------------------------------------------------------------
|