Files
CFDEMcoupling-PFM/tutorials/cfdemSolverMultiphase/small_scale_hearth_drainage/postrun.sh
2018-10-15 10:02:06 +02:00

16 lines
320 B
Bash
Executable File

#!/bin/bash
#- define variables
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
#- get VTK data from liggghts dump file
cd $casePath/DEM/post
python $CFDEM_LPP_DIR/lpp.py dump*.liggghts_run
#- get VTK data from CFD sim
cd $casePath/CFD
reconstructPar -noLagrangian
foamToVTK
#rm -r $casePath/CFD/processor*