mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
22 lines
580 B
Bash
Executable File
22 lines
580 B
Bash
Executable File
#!/bin/sh
|
|
cd "${0%/*}" || exit # Run from this directory
|
|
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
|
#------------------------------------------------------------------------------
|
|
|
|
restore0Dir
|
|
|
|
runApplication blockMesh
|
|
|
|
for i in 1 2
|
|
do
|
|
runApplication -s $i \
|
|
topoSet -dict system/topoSetDict.${i}
|
|
|
|
runApplication -s $i \
|
|
refineMesh -dict system/refineMeshDict -overwrite
|
|
done
|
|
|
|
runApplication $(getApplication)
|
|
|
|
#------------------------------------------------------------------------------
|