mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: adjust tutorial Allrun scripts (issue #310)
- A few without a 'cd' at the start. Use $(getApplication) directly in more places (for clarity).
This commit is contained in:
@ -4,12 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication boxTurb
|
runApplication boxTurb
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
runApplication -s enstrophy postProcess -func enstrophy
|
runApplication -s enstrophy postProcess -func enstrophy
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runAnsysToFoam()
|
runAnsysToFoam()
|
||||||
{
|
{
|
||||||
if [ -f log.ansysToFoam ]
|
if [ -f log.ansysToFoam ]
|
||||||
@ -19,7 +16,7 @@ runAnsysToFoam()
|
|||||||
}
|
}
|
||||||
|
|
||||||
runAnsysToFoam flange.ans 0.001
|
runAnsysToFoam flange.ans 0.001
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
runApplication foamToEnsight -noZero
|
runApplication foamToEnsight -noZero
|
||||||
runApplication foamToEnsightParts -noZero
|
runApplication foamToEnsightParts -noZero
|
||||||
runApplication foamToVTK
|
runApplication foamToVTK
|
||||||
|
|||||||
@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application -withFunctionObjects -writePhi -writep
|
runApplication $(getApplication) -withFunctionObjects -writePhi -writep
|
||||||
runApplication streamFunction
|
runApplication streamFunction
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application -writePhi -writep
|
runApplication $(getApplication) -writePhi -writep
|
||||||
runApplication streamFunction
|
runApplication streamFunction
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
@ -12,7 +11,6 @@ runApplication topoSet
|
|||||||
|
|
||||||
runApplication PDRMesh -overwrite
|
runApplication PDRMesh -overwrite
|
||||||
|
|
||||||
# Run
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,14 +4,12 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication chemkinToFoam \
|
runApplication chemkinToFoam \
|
||||||
chemkin/chem.inp chemkin/therm.dat chemkin/transportProperties \
|
chemkin/chem.inp chemkin/therm.dat chemkin/transportProperties \
|
||||||
constant/reactions constant/thermo
|
constant/reactions constant/thermo
|
||||||
|
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
(cd validation && ./Allrun $*)
|
(cd validation && ./Allrun $*)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Extract Chemkin II data into a friendlier format
|
# Extract Chemkin II data into a friendlier format
|
||||||
@ -10,5 +9,3 @@ grep '^ Time (sec)' ../chemkin/senk.out | awk '{print $4 " " $8 }' \
|
|||||||
./createGraph
|
./createGraph
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
runApplication $(getApplication)
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication $application
|
|
||||||
|
|
||||||
(cd validation && ./Allrun $*)
|
(cd validation && ./Allrun $*)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Extract Chemkin II data into a friendlier format
|
# Extract Chemkin II data into a friendlier format
|
||||||
@ -10,5 +9,3 @@ grep '^ Time (sec)' ../chemkin/senk.out | awk '{print $4 " " $8 }' \
|
|||||||
./createGraph
|
./createGraph
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
runApplication $(getApplication)
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication $application
|
|
||||||
|
|
||||||
(cd validation && ./Allrun $*)
|
(cd validation && ./Allrun $*)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Extract Chemkin II data into a friendlier format
|
# Extract Chemkin II data into a friendlier format
|
||||||
@ -10,5 +9,3 @@ grep '^ Time (sec)' ../chemkin/senk.out | awk '{print $4 " " $8 }' \
|
|||||||
./createGraph
|
./createGraph
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
runApplication $(getApplication)
|
||||||
application=`getApplication`
|
|
||||||
|
|
||||||
runApplication $application
|
|
||||||
|
|
||||||
(cd validation && ./Allrun $*)
|
(cd validation && ./Allrun $*)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Extract Chemkin II data into a friendlier format
|
# Extract Chemkin II data into a friendlier format
|
||||||
@ -10,5 +9,3 @@ grep '^ Time (sec)' ../chemkin/senk.out | awk '{print $4 " " $8 }' \
|
|||||||
./createGraph
|
./createGraph
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -4,10 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
runApplication $(getApplication)
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication $application
|
|
||||||
|
|
||||||
(cd validation && ./Allrun $*)
|
(cd validation && ./Allrun $*)
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Extract Chemkin II data into a friendlier format
|
# Extract Chemkin II data into a friendlier format
|
||||||
@ -10,5 +9,3 @@ grep '^ Time (sec)' ../chemkin/senk.out | awk '{print $4 " " $8 }' \
|
|||||||
./createGraph
|
./createGraph
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -4,11 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication kivaToFoam -file otape17
|
runApplication kivaToFoam -file otape17
|
||||||
|
runApplication $(getApplication)
|
||||||
runApplication $application
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
@ -23,6 +23,6 @@ runParallel $(getApplication)
|
|||||||
paraFoam -touch
|
paraFoam -touch
|
||||||
paraFoam -touch -region panelRegion
|
paraFoam -touch -region panelRegion
|
||||||
|
|
||||||
(cd validation && ./crateGraphs)
|
(cd validation && ./createGraphs)
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication -s cRefine \
|
runApplication -s cRefine \
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -1,16 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication topoSet
|
runApplication topoSet
|
||||||
|
|
||||||
runApplication extrudeToRegionMesh -overwrite
|
runApplication extrudeToRegionMesh -overwrite
|
||||||
|
|
||||||
# Run
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
paraFoam -touchAll
|
paraFoam -touchAll
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
@ -11,7 +10,6 @@ runApplication createPatch -overwrite
|
|||||||
|
|
||||||
cp 0/ph_rgh.orig 0/ph_rgh
|
cp 0/ph_rgh.orig 0/ph_rgh
|
||||||
|
|
||||||
# Run
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,11 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication topoSet
|
runApplication topoSet
|
||||||
runApplication createPatch -overwrite
|
runApplication createPatch -overwrite
|
||||||
@ -13,8 +11,6 @@ runApplication createPatch -overwrite
|
|||||||
cp 0/ph_rgh.orig 0/ph_rgh
|
cp 0/ph_rgh.orig 0/ph_rgh
|
||||||
|
|
||||||
runApplication decomposePar -force
|
runApplication decomposePar -force
|
||||||
|
runParallel $(getApplication)
|
||||||
# Run
|
|
||||||
runParallel $application
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,10 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
./makeMesh
|
./makeMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,9 +1,10 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
cd ${0%/*} || exit 1
|
# Source tutorial run functions
|
||||||
|
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
|
||||||
# Run function links the appropriate mesh files and clones the case
|
# Run function links the appropriate mesh files and clones the case
|
||||||
run()
|
run()
|
||||||
{
|
{
|
||||||
@ -45,3 +46,5 @@ plot \
|
|||||||
"modelled/postProcessing/probes/0/p" us 1:(\$4-1e5) t "Modelled Plenum" w l
|
"modelled/postProcessing/probes/0/p" us 1:(\$4-1e5) t "Modelled Plenum" w l
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -6,3 +6,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,14 +1,12 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,12 +4,10 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
runApplication -s sample postProcess -func sample
|
runApplication -s sample postProcess -func sample
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -10,5 +10,4 @@ runParallel dsmcInitialise
|
|||||||
runParallel $(getApplication)
|
runParallel $(getApplication)
|
||||||
runApplication reconstructPar -noLagrangian
|
runApplication reconstructPar -noLagrangian
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,18 +1,14 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication decomposePar
|
runApplication decomposePar
|
||||||
|
|
||||||
runParallel mdInitialise
|
runParallel mdInitialise
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
|
|||||||
@ -4,11 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
runApplication -s sample postProcess -func sample
|
runApplication -s sample postProcess -func sample
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
\cp 0/T.orig 0/T
|
\cp 0/T.orig 0/T
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
\cp 0/T.orig 0/T
|
\cp 0/T.orig 0/T
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,10 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,11 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
runApplication -s sample postProcess -latestTime -func sample
|
runApplication -s sample postProcess -latestTime -func sample
|
||||||
|
|
||||||
( cd validation && ./createGraphs )
|
( cd validation && ./createGraphs )
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Get application name
|
# Source tutorial run functions
|
||||||
application=$(getApplication)
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
@ -11,4 +11,6 @@ restore0Dir
|
|||||||
# Create 1D and 3D baffles
|
# Create 1D and 3D baffles
|
||||||
runApplication createBaffles -overwrite
|
runApplication createBaffles -overwrite
|
||||||
|
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
|||||||
@ -24,3 +24,5 @@ runApplication topoSet -region cabin -dict system/topoSetDictRegister
|
|||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,3 +7,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -6,17 +6,17 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
# Set application name
|
# Decompose
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
# decompose
|
|
||||||
runApplication -s cabin decomposePar -region cabin
|
runApplication -s cabin decomposePar -region cabin
|
||||||
runApplication -s ice decomposePar -region ice
|
runApplication -s ice decomposePar -region ice
|
||||||
runApplication -s exterior decomposePar -region exterior
|
runApplication -s exterior decomposePar -region exterior
|
||||||
|
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
|
|
||||||
|
# Reconstruct
|
||||||
runApplication -s cabin reconstructPar -region cabin
|
runApplication -s cabin reconstructPar -region cabin
|
||||||
runApplication -s ice reconstructPar -region ice
|
runApplication -s ice reconstructPar -region ice
|
||||||
runApplication -s exterior reconstructPar -region exterior
|
runApplication -s exterior reconstructPar -region exterior
|
||||||
|
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -18,3 +18,5 @@ runApplication splitMeshRegions -cellZones -overwrite
|
|||||||
|
|
||||||
# set the initial fields
|
# set the initial fields
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
./Allrun.pre
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
./Allrun.pre
|
||||||
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
@ -14,3 +13,5 @@ runParallel $(getApplication)
|
|||||||
|
|
||||||
runApplication -s air reconstructPar -latestTime -region air
|
runApplication -s air reconstructPar -latestTime -region air
|
||||||
runApplication -s porous reconstructPar -latestTime -region porous
|
runApplication -s porous reconstructPar -latestTime -region porous
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -25,3 +25,5 @@ paraFoam -touch -region porous
|
|||||||
paraFoam -touch -region air
|
paraFoam -touch -region air
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
@ -28,8 +27,6 @@ done
|
|||||||
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "creating files for paraview post-processing"
|
echo "creating files for paraview post-processing"
|
||||||
echo
|
echo
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
@ -36,7 +35,6 @@ runParallel $(getApplication)
|
|||||||
runApplication reconstructPar -allRegions
|
runApplication reconstructPar -allRegions
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo "creating files for paraview post-processing"
|
echo "creating files for paraview post-processing"
|
||||||
echo
|
echo
|
||||||
|
|||||||
@ -1,7 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
|
|||||||
@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
./makeMesh
|
./makeMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
@ -13,3 +13,4 @@ runApplication -s fine blockMesh -dict system/blockMeshDict.fine
|
|||||||
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
@ -20,3 +20,5 @@ runParallel $(getApplication)
|
|||||||
#runApplication -s fine reconstructPar
|
#runApplication -s fine reconstructPar
|
||||||
#
|
#
|
||||||
#runApplication -s coarseMesh reconstructPar -region coarseMesh
|
#runApplication -s coarseMesh reconstructPar -region coarseMesh
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,11 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application directory
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication fluentMeshToFoam elbow.msh
|
runApplication fluentMeshToFoam elbow.msh
|
||||||
runApplication "$application"
|
runApplication $(getApplication)
|
||||||
runApplication foamMeshToFluent
|
runApplication foamMeshToFluent
|
||||||
runApplication foamDataToFluent
|
runApplication foamDataToFluent
|
||||||
|
|
||||||
|
|||||||
@ -4,13 +4,11 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
./makeMesh
|
./makeMesh
|
||||||
|
|
||||||
#runApplication $application
|
#runApplication $(getApplication)
|
||||||
runApplication decomposePar
|
runApplication decomposePar
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,3 +7,5 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
runApplication $(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
runApplication decomposePar
|
runApplication decomposePar
|
||||||
|
|
||||||
runParallel $(getApplication)
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -12,3 +12,5 @@ runApplication topoSet -constant
|
|||||||
runApplication createBaffles -overwrite
|
runApplication createBaffles -overwrite
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -7,7 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
runApplication decomposePar
|
runApplication decomposePar
|
||||||
|
|
||||||
runParallel $(getApplication)
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,17 +4,15 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application directory
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
#- Run serial
|
#- Run serial
|
||||||
#runApplication $application
|
#runApplication $(getApplication)
|
||||||
|
|
||||||
#- Run parallel
|
#- Run parallel
|
||||||
runApplication decomposePar -cellDist
|
runApplication decomposePar -cellDist
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
runApplication postChannel
|
runApplication postChannel
|
||||||
|
|||||||
@ -1,10 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
@ -16,4 +15,6 @@ restore0Dir
|
|||||||
# Create wall and cyclic baffles and the fields on them
|
# Create wall and cyclic baffles and the fields on them
|
||||||
runApplication createBaffles -overwrite
|
runApplication createBaffles -overwrite
|
||||||
|
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,23 +4,20 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application directory
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication transformPoints -scale '(1.6666 1 1)'
|
runApplication transformPoints -scale '(1.6666 1 1)'
|
||||||
|
|
||||||
runApplication changeDictionary -instance system -dict system/changeDictionaryDict.X
|
runApplication changeDictionary -instance system -dict system/changeDictionaryDict.X
|
||||||
runApplication mirrorMesh -overwrite
|
runApplication mirrorMesh -overwrite
|
||||||
rm log.mirrorMesh
|
rm -f log.mirrorMesh
|
||||||
|
rm -f log.changeDictionary
|
||||||
|
|
||||||
rm log.changeDictionary
|
|
||||||
runApplication changeDictionary -instance system -dict system/changeDictionaryDict.Y
|
runApplication changeDictionary -instance system -dict system/changeDictionaryDict.Y
|
||||||
|
|
||||||
runApplication mirrorMesh -overwrite
|
runApplication mirrorMesh -overwrite
|
||||||
|
|
||||||
runApplication topoSet
|
runApplication topoSet
|
||||||
runApplication createPatch -overwrite
|
runApplication createPatch -overwrite
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,20 +1,17 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application directory
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
#- Run serial
|
#- Run serial
|
||||||
#runApplication $application
|
#runApplication $(getApplication)
|
||||||
|
|
||||||
#- Run parallel
|
#- Run parallel
|
||||||
runApplication decomposePar -cellDist
|
runApplication decomposePar -cellDist
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
#runApplication reconstructPar -latestTime
|
#runApplication reconstructPar -latestTime
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
@ -17,3 +18,5 @@ runParallel pisoFoam
|
|||||||
runApplication reconstructParMesh -constant -mergeTol 1e-6
|
runApplication reconstructParMesh -constant -mergeTol 1e-6
|
||||||
|
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,12 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
runApplication topoSet
|
runApplication topoSet
|
||||||
|
runApplication $(getApplication)
|
||||||
runApplication $application
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -18,7 +18,7 @@ runApplication -s collapseFaces \
|
|||||||
|
|
||||||
runApplication checkMesh -allTopology -allGeometry -latestTime
|
runApplication checkMesh -allTopology -allGeometry -latestTime
|
||||||
|
|
||||||
latestTime=`foamListTimes -latestTime`
|
latestTime=$(foamListTimes -latestTime)
|
||||||
|
|
||||||
# Move the mesh into polyMesh
|
# Move the mesh into polyMesh
|
||||||
rm -rf constant/polyMesh
|
rm -rf constant/polyMesh
|
||||||
|
|||||||
@ -4,11 +4,8 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=`getApplication`
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
( cd validation && ./createGraphs )
|
( cd validation && ./createGraphs )
|
||||||
|
|
||||||
|
|||||||
@ -4,8 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
runApplication $application
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
./makeMesh
|
./makeMesh
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -4,18 +4,15 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Get application directory
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication topoSet
|
runApplication topoSet
|
||||||
runApplication refineHexMesh c0 -overwrite
|
runApplication refineHexMesh c0 -overwrite
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
#runApplication $application
|
#runApplication $(getApplication)
|
||||||
runApplication decomposePar -cellDist
|
runApplication decomposePar -cellDist
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -4,14 +4,12 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
# create mesh
|
# create mesh
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
|
|
||||||
# create ignition cells cellSet
|
# create ignition cells cellSet
|
||||||
runApplication topoSet
|
runApplication topoSet
|
||||||
|
|
||||||
runApplication $application
|
runApplication $(getApplication)
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
application=$(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
runApplication $application
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
@ -11,3 +14,5 @@ runApplication extrudeToRegionMesh -overwrite
|
|||||||
|
|
||||||
paraFoam -touch
|
paraFoam -touch
|
||||||
paraFoam -touch -region wallFilmRegion
|
paraFoam -touch -region wallFilmRegion
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -6,6 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
application=$(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
runApplication $application
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -6,13 +6,12 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
runApplication -s wallFilmRegion decomposePar -region wallFilmRegion
|
runApplication -s wallFilmRegion decomposePar -region wallFilmRegion
|
||||||
runApplication -s primaryRegion decomposePar
|
runApplication -s primaryRegion decomposePar
|
||||||
|
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
|
|
||||||
runApplication -s wallFilmRegion reconstructPar -region wallFilmRegion
|
runApplication -s wallFilmRegion reconstructPar -region wallFilmRegion
|
||||||
runApplication -s primaryRegion reconstructPar
|
runApplication -s primaryRegion reconstructPar
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -33,3 +33,5 @@ find ./0 -maxdepth 1 -type f -exec \
|
|||||||
|
|
||||||
paraFoam -touch
|
paraFoam -touch
|
||||||
paraFoam -touch -region wallFilmRegion
|
paraFoam -touch -region wallFilmRegion
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
application=$(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
runApplication $application
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
@ -12,3 +15,5 @@ runApplication extrudeToRegionMesh -overwrite
|
|||||||
|
|
||||||
paraFoam -touch
|
paraFoam -touch
|
||||||
paraFoam -touch -region wallFilmRegion
|
paraFoam -touch -region wallFilmRegion
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,10 +1,11 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # Run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
./Allrun.pre
|
./Allrun.pre
|
||||||
|
|
||||||
application=$(getApplication)
|
runApplication $(getApplication)
|
||||||
|
|
||||||
runApplication $application
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,4 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
restore0Dir
|
restore0Dir
|
||||||
@ -29,3 +32,5 @@ runApplication createPatch -region wallFilmRegion -overwrite
|
|||||||
|
|
||||||
paraFoam -touch
|
paraFoam -touch
|
||||||
paraFoam -touch -region wallFilmRegion
|
paraFoam -touch -region wallFilmRegion
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -16,8 +16,6 @@ intersectSurfaces()
|
|||||||
surfaceBooleanFeatures intersection "$@"
|
surfaceBooleanFeatures intersection "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
\rm -rf 0
|
\rm -rf 0
|
||||||
|
|
||||||
|
|||||||
@ -6,9 +6,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
|
|
||||||
cp system/controlDict.flow system/controlDict
|
cp system/controlDict.flow system/controlDict
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
rm -rf 0
|
rm -rf 0
|
||||||
|
|
||||||
runApplication createBaffles -overwrite
|
runApplication createBaffles -overwrite
|
||||||
@ -17,7 +14,7 @@ runApplication mergeOrSplitBaffles -split -overwrite
|
|||||||
# Get rid of zero faced patches
|
# Get rid of zero faced patches
|
||||||
runApplication createPatch -overwrite
|
runApplication createPatch -overwrite
|
||||||
|
|
||||||
# Copy fields after meshing to avoind the generation of unnecessary patch fields
|
# Copy fields after meshing to avoid the generation of unnecessary patch fields
|
||||||
restore0Dir
|
restore0Dir
|
||||||
|
|
||||||
# Initialize alpha
|
# Initialize alpha
|
||||||
@ -28,7 +25,7 @@ runApplication -s main \
|
|||||||
decomposePar -force
|
decomposePar -force
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
runParallel $application
|
runParallel $(getApplication)
|
||||||
|
|
||||||
# Reconstruct
|
# Reconstruct
|
||||||
runApplication reconstructPar -noFunctionObjects
|
runApplication reconstructPar -noFunctionObjects
|
||||||
|
|||||||
@ -16,5 +16,4 @@ runApplication foamyQuadMesh -overwrite
|
|||||||
runApplication extrude2DMesh -overwrite polyMesh2D
|
runApplication extrude2DMesh -overwrite polyMesh2D
|
||||||
runApplication checkMesh -allGeometry -allTopology -constant -noZero
|
runApplication checkMesh -allGeometry -allTopology -constant -noZero
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -11,5 +11,4 @@ runApplication decomposePar
|
|||||||
runParallel rhoCentralFoam
|
runParallel rhoCentralFoam
|
||||||
runApplication reconstructPar
|
runApplication reconstructPar
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -9,5 +9,4 @@ runApplication foamyQuadMesh -overwrite
|
|||||||
runApplication extrude2DMesh -overwrite MeshedSurface
|
runApplication extrude2DMesh -overwrite MeshedSurface
|
||||||
runApplication checkMesh -allGeometry -allTopology -constant -noZero
|
runApplication checkMesh -allGeometry -allTopology -constant -noZero
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -9,5 +9,4 @@ runApplication foamyQuadMesh -overwrite
|
|||||||
runApplication extrude2DMesh -overwrite polyMesh2D
|
runApplication extrude2DMesh -overwrite polyMesh2D
|
||||||
runApplication checkMesh -allGeometry -allTopology -constant -noZero
|
runApplication checkMesh -allGeometry -allTopology -constant -noZero
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cd ${0%/*} || exit 1 # run from this directory
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial clean functions
|
# Source tutorial clean functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|||||||
@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
cd ${0%/*} || exit 1 # Run from this directory
|
||||||
|
|
||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
@ -8,3 +10,5 @@ cp $FOAM_TUTORIALS/resources/geometry/flange.stl.gz constant/triSurface/
|
|||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication surfaceFeatureExtract
|
runApplication surfaceFeatureExtract
|
||||||
runApplication snappyHexMesh -overwrite
|
runApplication snappyHexMesh -overwrite
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -4,9 +4,6 @@ cd ${0%/*} || exit 1 # Run from this directory
|
|||||||
# Source tutorial run functions
|
# Source tutorial run functions
|
||||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||||
|
|
||||||
# Set application name
|
|
||||||
application=$(getApplication)
|
|
||||||
|
|
||||||
# create the underlying block mesh
|
# create the underlying block mesh
|
||||||
m4 system/pachuka.m4 > system/blockMeshDict
|
m4 system/pachuka.m4 > system/blockMeshDict
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user