mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
20 lines
360 B
Bash
Executable File
20 lines
360 B
Bash
Executable File
#!/bin/bash
|
|
#- source CFDEM env vars
|
|
. ~/.bashrc
|
|
|
|
#- include functions
|
|
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
|
|
|
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
|
|
#- get VTK data from liggghts dump file
|
|
cd $casePath/DEM/post
|
|
python -i $CFDEM_LPP_DIR/lpp.py dump*.liggghts_run
|
|
|
|
#- get VTK data from CFD sim
|
|
cd $casePath/CFD
|
|
reconstructPar
|
|
foamToVTK
|
|
|
|
|