openfoam/tutorials/incompressible/SRFPimpleFoam/rotor2D/makeMesh
Henry 50ada7c994 blockMesh: Change default location of blockMeshDict from constant/polyMesh to system
For multi-region cases the default location of blockMeshDict is now system/<region name>

If the blockMeshDict is not found in system then the constant directory
is also checked providing backward-compatibility
2015-04-24 22:29:57 +01:00

10 lines
233 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
set -x
m4 < system/blockMeshDict.m4 > system/blockMeshDict
blockMesh > log.blockMesh 2>&1
# ----------------------------------------------------------------- end-of-file