15 lines
394 B
Text
15 lines
394 B
Text
|
#!/bin/sh
|
||
|
# Source tutorial run functions
|
||
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||
|
|
||
|
# Get application name
|
||
|
application="laplacianFoam"
|
||
|
|
||
|
\cp -f blockMeshDict constant/polyMesh/blockMeshDict
|
||
|
runApplication blockMesh
|
||
|
\cp -f boundary constant/polyMesh/boundary
|
||
|
# runApplication setsToZones Not needed: cellZones built by blockMesh
|
||
|
|
||
|
runApplication decomposePar -cellDist
|
||
|
runParallel $application 2
|