mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
TUT: simple tutorial demonstrating lumpedPointMotion
This commit is contained in:
24
tutorials/incompressible/lumpedPointMotion/building/steady/Allrun
Executable file
24
tutorials/incompressible/lumpedPointMotion/building/steady/Allrun
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
unset parallel
|
||||
parallel=true
|
||||
|
||||
if [ "${parallel:-false}" = false ]
|
||||
then
|
||||
# Serial
|
||||
|
||||
runApplication simpleFoam
|
||||
|
||||
else
|
||||
# Parallel
|
||||
|
||||
runParallel simpleFoam
|
||||
|
||||
fi
|
||||
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user