Files
openfoam/tutorials/verificationAndValidation/multiphase/StefanProblem/setups.orig/common/Allrun.pre
Kutalmis Bercin 408e6b55e9 TUT: simplify setups.orig cases
DOC: Curle: fix typo in header file (fixes #2498)

TUT: airfoil2D: apply standard freestream conditions for nuTilda and nut
2022-06-08 13:53:01 +01:00

37 lines
947 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
cp -Rf 0 1.36/
if [ ! -d constant/polyMesh ]
then
runApplication blockMesh
runApplication renumberMesh -overwrite -constant
runApplication checkMesh -allTopology -allGeometry -constant
fi
if [ ! -f "system/setAlphaFieldDict" ]
then
if [ -f "system/setAlphaFieldDict.liquid" ]
then
runApplication -s liquid \
setAlphaField -dict system/setAlphaFieldDict.liquid
fi
if [ -f "system/setAlphaFieldDict.gas" ]
then
runApplication -s gas \
setAlphaField -dict system/setAlphaFieldDict.gas
fi
else
runApplication setAlphaField
fi
#------------------------------------------------------------------------------