mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
18 lines
465 B
Bash
Executable File
18 lines
465 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
echo "Use common files for 0/, constant/ and blockMeshDict"
|
|
\rm -rf 0 constant
|
|
\cp -r ../common/0.org 0
|
|
\cp -r ../common/constant constant
|
|
|
|
m4 system/blockMeshDict.m4 > system/blockMeshDict
|
|
|
|
runApplication blockMesh
|
|
runApplication $(getApplication)
|
|
|
|
#------------------------------------------------------------------------------
|