mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
32 lines
881 B
Bash
Executable File
32 lines
881 B
Bash
Executable File
#!/bin/bash
|
|
#------------------------------------------------------------------------------
|
|
# post script for redBloodCellShearFlow test case
|
|
# run post-processing
|
|
# Achuth N. Balachandran Nair - October 2018
|
|
#------------------------------------------------------------------------------
|
|
|
|
#- source CFDEM env vars
|
|
source ~/.bashrc
|
|
|
|
#- source CFDEM functions
|
|
shopt -s expand_aliases
|
|
source $CFDEM_PROJECT_DIR/etc/bashrc
|
|
|
|
#------------------------------------------------------------------------------
|
|
#- define variables
|
|
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
|
|
#------------------------------------------------------------------------------
|
|
#- get VTK data from liggghts dump file
|
|
cd $casePath/DEM/post
|
|
lpp dump*
|
|
|
|
#- get VTK data from CFD sim
|
|
cd $casePath/CFD
|
|
reconstructParMesh -constant -mergeTol 1e-06
|
|
reconstructPar -noLagrangian
|
|
|
|
#- start paraview
|
|
paraview
|
|
|