mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Get the application from the controlDict where necessary.
This commit is contained in:
@ -1,10 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
cd nanoNozzle
|
||||
rm -rf constant/polyMesh/sets
|
||||
rm -rf processor[0-9]
|
||||
cleanCase
|
||||
cd ..
|
||||
@ -1,19 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application="mdFoam"
|
||||
|
||||
cd nanoNozzle
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication decomposePar
|
||||
hostname > system/machines
|
||||
|
||||
runParallel mdInitialise 4 system/machines
|
||||
runParallel $application 4 system/machines
|
||||
|
||||
runApplication reconstructPar
|
||||
cd ..
|
||||
|
||||
8
tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean
Executable file
8
tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allclean
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source tutorial clean functions
|
||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||
|
||||
rm -rf constant/polyMesh/sets
|
||||
rm -rf processor[0-9]
|
||||
cleanCase
|
||||
16
tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun
Executable file
16
tutorials/discreteMethods/molecularDynamics/mdFoam/nanoNozzle/Allrun
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
runApplication decomposePar
|
||||
hostname > system/machines
|
||||
|
||||
runParallel mdInitialise 4 system/machines
|
||||
runParallel $application 4 system/machines
|
||||
|
||||
runApplication reconstructPar
|
||||
Reference in New Issue
Block a user