mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
This 2D case of vortex shedding in laminar cross-flow demonstrates the concept of recurrence. This is a bit work-in-progress: please check whether this tutorial runs with the recurrence model and tools of CFDEMcoupling, namely rStatAnalysis. The simulation roughly goes through three stages: * The initial solution computed by potentialFoam * A period of symmetric, steady-state flow * Finally, periodic vortex shedding These three stages are clearly visible in the recurrence plot. * We see how not one of the later velocity fields is similar to the initial one * We see the intermediate stage with a symmetric flow field * We see the periodic vortex shedding
24 lines
318 B
Bash
Executable File
24 lines
318 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# clean the case
|
|
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial clean functions
|
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
|
|
|
# remove mesh
|
|
rm -rf constant/polyMesh/*
|
|
|
|
rm -rf 0 > /dev/null 2>&1
|
|
|
|
cleanCase
|
|
|
|
rm rec_jump.dat
|
|
rm recurrenceMatrix
|
|
rm recurrencePath
|
|
|
|
cd recMat
|
|
|
|
./clean.sh
|