mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
The test case consists of an initialisation part to build a small dataBase and a recurrence run. In the init case the kEpsilon turbulence model is used for the liquid phase. In the recurrence run the corresponding recurrence-based kEpsilon model "recurrenceKEpsilon" is used.
28 lines
563 B
Bash
Executable File
28 lines
563 B
Bash
Executable File
#!/bin/bash
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
|
|
if [ -e constant/polyMesh ];
|
|
then
|
|
echo "mesh exists"
|
|
else
|
|
echo "no mesh found"
|
|
echo " ... looking for dataBase mesh"
|
|
|
|
if [ -e ../dataBase ];
|
|
then
|
|
echo "dataBase mesh exists"
|
|
echo " ... copying mesh from dataBase case"
|
|
|
|
cp -r ../dataBase/constant/polyMesh constant/
|
|
else
|
|
echo "dataBase mesh not found"
|
|
|
|
exit 666
|
|
fi
|
|
fi
|
|
|
|
echo ""
|
|
|
|
#------------------------------------------------------------------------------
|