Files
CFDEMcoupling-PFM/tutorials/testTwoFluidRecurrenceTurbulence/testRecurrenceKEpsilon/recRun/checkOrCreateMesh
Gerhard Holzinger 137a4e8670 Recurrence-based turbulence: test case
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.
2018-05-17 15:47:46 +02:00

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 ""
#------------------------------------------------------------------------------