mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
See http://www.openfoam.org/mantisbt/view.php?id=2076 - .org is the file extension for emacs org-mode as well - .orig is more to the point (.org isn't always recognized as "original") - .original is too long, although more consistent with the convention of source code file naming Update script contributed by Bruno Santos
15 lines
243 B
Bash
Executable File
15 lines
243 B
Bash
Executable File
#!/bin/sh
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Get application name
|
|
application=`getApplication`
|
|
|
|
runApplication blockMesh
|
|
|
|
cp -r 0.orig 0
|
|
|
|
# Create 1D and 3D baffles
|
|
runApplication createBaffles -overwrite
|
|
|
|
runApplication $application
|