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
10 lines
233 B
Bash
Executable File
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
|