mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: simplify setups.orig cases
DOC: Curle: fix typo in header file (fixes #2498) TUT: airfoil2D: apply standard freestream conditions for nuTilda and nut
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/CleanFunctions # Tutorial clean functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
cleanCase0
|
||||
|
||||
rm -Rf old-processor-*
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
runApplication $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
runApplication decomposePar
|
||||
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructPar
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -0,0 +1,36 @@
|
||||
#!/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
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
@ -1 +0,0 @@
|
||||
../../common/0.orig/U
|
||||
@ -1 +0,0 @@
|
||||
../../common/0.orig/p_rgh
|
||||
@ -1 +0,0 @@
|
||||
../../common/constant/g
|
||||
@ -1 +0,0 @@
|
||||
../../common/constant/transportProperties
|
||||
@ -1 +0,0 @@
|
||||
../../common/constant/turbulenceProperties
|
||||
@ -1 +0,0 @@
|
||||
../../common/system/blockMeshDict
|
||||
@ -1 +0,0 @@
|
||||
../../common/system/decomposeParDict
|
||||
@ -1 +0,0 @@
|
||||
../../common/0.orig/U
|
||||
@ -1 +0,0 @@
|
||||
../../common/0.orig/p_rgh
|
||||
@ -1 +0,0 @@
|
||||
../../common/constant/g
|
||||
@ -1 +0,0 @@
|
||||
../../common/constant/transportProperties
|
||||
@ -1 +0,0 @@
|
||||
../../common/constant/turbulenceProperties
|
||||
@ -1 +0,0 @@
|
||||
../../common/system/blockMeshDict
|
||||
@ -1 +0,0 @@
|
||||
../../common/system/decomposeParDict
|
||||
Reference in New Issue
Block a user