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
1017 B
Bash
29 lines
1017 B
Bash
#!/bin/bash
|
|
#------------------------------------------------------------------------------
|
|
# parCFDrun script for VortexShedding test case
|
|
# run VortexShedding CFD
|
|
# 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_rhoPimpleFoam_VortexShedding"
|
|
logfileName="log_$headerText"
|
|
solverName="rhoPimpleFoam"
|
|
nrProcs="4"
|
|
machineFileName="none" # yourMachinefileName | none
|
|
debugMode="off" # on | off| strict
|
|
#------------------------------------------------------------------------------
|
|
|
|
#- call function to run a parallel CFD-DEM case
|
|
parCFDrun $logpath $logfileName $casePath $headerText $solverName $nrProcs $machineFileName $debugMode
|
|
|