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
31 lines
803 B
Bash
Executable file
31 lines
803 B
Bash
Executable file
#!/bin/sh
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
cp -rf 0.orig 0
|
|
|
|
runApplication blockMesh
|
|
|
|
#If using batch mode
|
|
#runApplication -s wallFilmRegion \
|
|
# setSet -batch wallFilmRegion.setSet
|
|
|
|
#If using dictionary mode
|
|
runApplication -s wallFilmRegion \
|
|
topoSet -dict system/wallFilmRegion.topoSet
|
|
|
|
runApplication extrudeToRegionMesh -overwrite
|
|
|
|
#If using batch mode
|
|
#runApplication -s createWallFilmRegionPatches \
|
|
# setSet -region wallFilmRegion \
|
|
# -batch createWallFilmRegionPatches.setSet
|
|
|
|
#If using dictionary mode
|
|
runApplication -s createWallFilmRegionPatches \
|
|
topoSet -region wallFilmRegion \
|
|
-dict system/createWallFilmRegionPatches.topoSet
|
|
|
|
runApplication createPatch -region wallFilmRegion -overwrite
|
|
|
|
paraFoam -touch
|
|
paraFoam -touch -region wallFilmRegion
|