mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
add test case based on OpenFOAM tutorial by J. Guerrero to compare p, U, T, rho from compressible rhoPimpleFoam solver to cfdemSolverRhoPimple
29 lines
1.0 KiB
Bash
29 lines
1.0 KiB
Bash
#!/bin/bash
|
|
#------------------------------------------------------------------------------
|
|
# parCFDDEMrun script for VortexShedding test case
|
|
# run VortexShedding CFD-DEM
|
|
# Daniel Queteschiner - November 2021
|
|
#------------------------------------------------------------------------------
|
|
|
|
#- source CFDEM env vars
|
|
. ~/.bashrc
|
|
|
|
#- include functions
|
|
source $CFDEM_PROJECT_DIR/etc/functions.sh
|
|
|
|
#------------------------------------------------------------------------------
|
|
#- define variables
|
|
casePath="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
|
|
logpath=$casePath
|
|
headerText="run_parallel_cfdemSolverRhoPimple_VortexShedding"
|
|
logfileName="log_$headerText"
|
|
solverName="cfdemSolverRhoPimple"
|
|
nrProcs="4"
|
|
machineFileName="none" # yourMachinefileName | none
|
|
debugMode="off" # on | off| strict
|
|
#------------------------------------------------------------------------------
|
|
|
|
#- call function to run a parallel CFD-DEM case
|
|
parCFDDEMrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
|
|