- additional "names" entry to specify a word/regex list of selections For example, { type patch; name inlets; names ("inlet_[0-9].*" inlet); } - if "names" exists AND contains a literal (non-regex) that can be used as a suitable value for "name", the "name" entry becomes optional. For example, { type patch; names ("inlet_[0-9].*" inlet); // inferred name = inlet } - reduce some overhead in surfaceFieldValue TUT: surfaceFieldValue on patches : reactingParcelFoam/verticalChannel
15 lines
429 B
Bash
Executable File
15 lines
429 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
|
|
|
|
runApplication potentialFoam
|
|
|
|
runApplication $(getApplication)
|
|
|
|
#------------------------------------------------------------------------------
|