2 cd ${0%/*} ||
exit 1 # run from this directory
4 # Source tutorial run functions
5 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
9 controlDict
="system/controlDict"
12 -e s
/"\(deltaT[ \t]*\) 5e-06;"/"\1 1e-05;"/g \
13 -e s
/"\(endTime[ \t]*\) 0.005;"/"\1 0.015;"/g \
14 -e s
/"\(writeInterval[ \t]*\) 10;"/"\1 50;"/g \
15 $controlDict > temp.$$
16 mv temp.$$
$controlDict
20 # Do moriyoshiHomogeneous
21 ( cd moriyoshiHomogeneous
&& foamRunTutorials
)
24 cloneCase moriyoshiHomogeneous moriyoshiHomogeneousPart2
28 cd moriyoshiHomogeneousPart2 ||
exit
30 cp -r ..
/moriyoshiHomogeneous
/0.005 .
32 runApplication
`getApplication`
35 # ----------------------------------------------------------------- end-of-file