mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
tutorials Allrun scripts: Update running of postProcess application
Patch contributed by Bruno Santos Resolves bug-report http://bugs.openfoam.org/view.php?id=2173
This commit is contained in:
@ -10,6 +10,6 @@ application=`getApplication`
|
|||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication boxTurb
|
runApplication boxTurb
|
||||||
runApplication $application
|
runApplication $application
|
||||||
runApplication enstrophy
|
runApplication -s enstrophy postProcess -func enstrophy
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -31,7 +31,13 @@ cloneCase moriyoshiHomogeneous moriyoshiHomogeneousPart2
|
|||||||
(
|
(
|
||||||
cd moriyoshiHomogeneousPart2 || exit
|
cd moriyoshiHomogeneousPart2 || exit
|
||||||
|
|
||||||
cp -r ../moriyoshiHomogeneous/0.005 .
|
# The following 2 command lines are a generic implementation of the
|
||||||
|
# following command:
|
||||||
|
# cp -r ../moriyoshiHomogeneous/0.005 .
|
||||||
|
|
||||||
|
lastTimeStep=$(foamListTimes -case ../moriyoshiHomogeneous -latestTime)
|
||||||
|
cp -r ../moriyoshiHomogeneous/$lastTimeStep .
|
||||||
|
|
||||||
setControlDict
|
setControlDict
|
||||||
runApplication `getApplication`
|
runApplication `getApplication`
|
||||||
)
|
)
|
||||||
|
|||||||
@ -9,6 +9,6 @@ application=`getApplication`
|
|||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication setFields
|
runApplication setFields
|
||||||
runApplication $application
|
runApplication $application
|
||||||
runApplication postProcess -func sample
|
runApplication -s sample postProcess -func sample
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -9,6 +9,6 @@ application=`getApplication`
|
|||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $application
|
||||||
runApplication postProcess -func sample
|
runApplication -s sample postProcess -func sample
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
@ -9,7 +9,7 @@ application=`getApplication`
|
|||||||
|
|
||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $application
|
||||||
runApplication postProcess -latestTime -func sample
|
runApplication -s sample postProcess -latestTime -func sample
|
||||||
|
|
||||||
( cd validation && ./createGraphs )
|
( cd validation && ./createGraphs )
|
||||||
|
|
||||||
|
|||||||
@ -9,6 +9,6 @@ application=`getApplication`
|
|||||||
runApplication blockMesh
|
runApplication blockMesh
|
||||||
runApplication $application
|
runApplication $application
|
||||||
runApplication -s sigma postProcess -func "components(sigma)"
|
runApplication -s sigma postProcess -func "components(sigma)"
|
||||||
runApplication postProcess -func singleGraph
|
runApplication -s singleGraph postProcess -func singleGraph
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user