Files
CFDEMcoupling-PFM/tutorials/cfdemSolverIBContinuousForcing/redBloodCellShearFlow/post.sh
danielque 1f5c8f6492 add a tutorial for cfdemSolverIBContinuousForcing
simulating the deformation of a red blood cell (bonded particles) in
shear flow
2022-03-24 15:39:10 +01:00

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