tutorials::Allrun: getApplication -> $(getApplication)
This commit is contained in:
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
./makeMesh
|
||||
runApplication $application
|
||||
|
||||
@ -17,7 +17,7 @@ do
|
||||
sed "s/XXX/$e/g" constant/transportProperties.template \
|
||||
> constant/transportProperties
|
||||
|
||||
runApplication -s $e `getApplication`
|
||||
runApplication -s $e $(getApplication)
|
||||
|
||||
# extract y+, U+
|
||||
# note: both must be added to foamLog.db
|
||||
|
||||
@ -83,7 +83,7 @@ do
|
||||
esac
|
||||
|
||||
previousCase="$caseName"
|
||||
( cd $caseName && runApplication `getApplication` )
|
||||
( cd $caseName && runApplication $(getApplication) )
|
||||
done
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application directory
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication fluentMeshToFoam elbow.msh
|
||||
runApplication "$application"
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application directory
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application name
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application directory
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication transformPoints -scale '(1.6666 1 1)'
|
||||
|
||||
@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
./Allrun.pre
|
||||
|
||||
runApplication decomposePar
|
||||
runParallel `getApplication`
|
||||
runParallel $(getApplication)
|
||||
runApplication reconstructPar
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -22,7 +22,7 @@ cp -r ../wingMotion2D_simpleFoam/constant/polyMesh constant
|
||||
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
||||
cp pointDisplacement 0/pointDisplacement
|
||||
runApplication decomposePar
|
||||
runParallel `getApplication`
|
||||
runParallel $(getApplication)
|
||||
runApplication reconstructPar
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
./makeMesh
|
||||
|
||||
|
||||
@ -20,6 +20,6 @@ runParallel renumberMesh -overwrite
|
||||
|
||||
runParallel potentialFoam -initialiseUBCs
|
||||
|
||||
runParallel `getApplication`
|
||||
runParallel $(getApplication)
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
|
||||
@ -7,5 +7,5 @@ m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication `getApplication`
|
||||
runApplication $(getApplication)
|
||||
|
||||
|
||||
@ -8,7 +8,7 @@ if [ -n "$FOAMY_HEX_MESH" ]
|
||||
then
|
||||
./Allrun.pre
|
||||
|
||||
runApplication `getApplication`
|
||||
runApplication $(getApplication)
|
||||
fi
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Set application name
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication $application
|
||||
|
||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication $application
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
./makeMesh
|
||||
runApplication $application
|
||||
|
||||
@ -5,7 +5,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application directory
|
||||
application=`getApplication`
|
||||
application=$(getApplication)
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication topoSet
|
||||
|
||||
@ -14,7 +14,7 @@ runParallel snappyHexMesh -overwrite
|
||||
find . -type f -iname "*level*" -exec rm {} \;
|
||||
|
||||
runParallel topoSet
|
||||
runParallel `getApplication`
|
||||
runParallel $(getApplication)
|
||||
|
||||
runApplication reconstructParMesh -constant
|
||||
runApplication reconstructPar
|
||||
|
||||
Reference in New Issue
Block a user