mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tutorials: use getApplication rather than hard-coded application name
This commit is contained in:
@ -17,7 +17,7 @@ do
|
||||
sed "s/XXX/$e/g" constant/transportProperties.template \
|
||||
> constant/transportProperties
|
||||
|
||||
runApplication boundaryFoam
|
||||
runApplication `getApplication`
|
||||
|
||||
mv log.boundaryFoam log.boundaryFoam_$e
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ cp -r 0.org 0
|
||||
runApplication mapFields ../wingMotion2D_simpleFoam -sourceTime latestTime -consistent
|
||||
mv 0/pointDisplacement.unmapped 0/pointDisplacement
|
||||
runApplication decomposePar
|
||||
runParallel pimpleDyMFoam 3
|
||||
runParallel `getApplication` 3
|
||||
runApplication reconstructPar
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
|
||||
@ -6,5 +6,5 @@ m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication porousSimpleFoam
|
||||
runApplication `getApplication`
|
||||
|
||||
|
||||
@ -12,4 +12,4 @@ sed -i 's/\(nNonOrthogonalCorrectors\).*;/\1 10;/g' system/fvSolution
|
||||
runApplication potentialFoam -writep
|
||||
sed -i 's/\(nNonOrthogonalCorrectors\).*;/\1 0;/g' system/fvSolution
|
||||
|
||||
runApplication simpleFoam
|
||||
runApplication `getApplication`
|
||||
|
||||
@ -11,7 +11,7 @@ runApplication decomposePar
|
||||
#runApplication snappyHexMesh -overwrite
|
||||
#runApplication setSet -batch makeZones
|
||||
#runApplication setsToZones -noFlipMap
|
||||
#runApplication windSimpleFoam
|
||||
#runApplication `getApplication`
|
||||
|
||||
cp system/decomposeParDict-par system/decomposeParDict
|
||||
runParallel snappyHexMesh 2 -overwrite
|
||||
@ -31,7 +31,7 @@ runParallel renumberMesh 4 -overwrite
|
||||
#runParallel changeDictionary 4 -literalRE
|
||||
|
||||
runParallel setSet 4 -batch makeZones
|
||||
runParallel simpleWindFoam 4
|
||||
runParallel `getApplication` 4
|
||||
|
||||
runApplication reconstructParMesh -constant
|
||||
runApplication reconstructPar
|
||||
|
||||
Reference in New Issue
Block a user