mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
27 lines
602 B
Bash
Executable File
27 lines
602 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
|
|
|
rm -f system/blockMeshDict
|
|
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
|
|
|
runApplication blockMesh
|
|
|
|
restore0Dir
|
|
|
|
runApplication decomposePar
|
|
|
|
runParallel $(getApplication)
|
|
|
|
# Run noise tool for both point and surface
|
|
|
|
if ! isTest $@
|
|
then
|
|
runParallel -s point noise -dict system/noiseDict-point
|
|
|
|
runParallel -s surface noise -dict system/noiseDict-surface
|
|
fi
|
|
|
|
|
|
#------------------------------------------------------------------------------
|