mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
general update
This commit is contained in:
12
tutorials/interDyMFoam/Allrun
Executable file
12
tutorials/interDyMFoam/Allrun
Executable file
@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application name from directory
|
||||
application=`basename $PWD`
|
||||
|
||||
(cd damBreakWithObstacle && runApplication blockMesh)
|
||||
(cd damBreakWithObstacle && runApplication setSet -batch createObstacle.setSet)
|
||||
(cd damBreakWithObstacle && runApplication subsetMesh c0 -patch walls)
|
||||
(cd damBreakWithObstacle && runApplication setFields -latestTime)
|
||||
(cd damBreakWithObstacle && runApplication $application)
|
||||
@ -1,12 +0,0 @@
|
||||
#!/bin/sh
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# Get application name from directory
|
||||
application=`basename $PWD`
|
||||
|
||||
runApplication blockMesh
|
||||
runApplication setSet -batch createObstacle.setSet
|
||||
runApplication subsetMesh c0 -patch walls
|
||||
runApplication setFields -latestTime
|
||||
runApplication $application
|
||||
Reference in New Issue
Block a user