2 # Source tutorial run functions
3 .
$WM_PROJECT_DIR/bin
/tools
/RunFunctions
9 controlDict
="system/controlDict"
11 -e s
/"\(deltaT[ \t]*\) 5e-06;"/"\1 1e-05;"/g \
12 -e s
/"\(endTime[ \t]*\) 0.005;"/"\1 0.015;"/g \
13 -e s
/"\(writeInterval[ \t]*\) 10;"/"\1 50;"/g \
14 $controlDict > temp.$$
15 mv temp.$$
$controlDict
18 # Do moriyoshiHomogeneous
19 (cd moriyoshiHomogeneous
&& foamRunTutorials
)
22 cloneCase moriyoshiHomogeneous moriyoshiHomogeneousPart2
25 cd moriyoshiHomogeneousPart2
26 cp -r ..
/moriyoshiHomogeneous
/0.005 .
28 runApplication
$application