mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
TUT: fileOperation: bit more testing. See #2952
This commit is contained in:
17
tutorials/IO/fileHandler_dynamicCode/Allrun
Executable file
17
tutorials/IO/fileHandler_dynamicCode/Allrun
Executable file
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
cd "${0%/*}" || exit # Run from this directory
|
||||
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
|
||||
#------------------------------------------------------------------------------
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
application=$(getApplication)
|
||||
|
||||
#- Test writing collated format
|
||||
#runApplication decomposePar -fileHandler collated
|
||||
runParallel redistributePar -decompose -fileHandler collated
|
||||
runParallel $application -fileHandler collated
|
||||
#runApplication reconstructPar -latestTime -fileHandler collated
|
||||
runParallel -s reconstruct redistributePar -reconstruct -fileHandler collated
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user