To re-use existing 'sampleDict' files simply add the following entries:
type sets;
libs ("libsampling.so");
and run
postProcess -func sampleDict
It is probably better to also rename 'sampleDict' -> 'sample' and then run
postProcess -func sampleDict
16 lines
411 B
Bash
Executable file
16 lines
411 B
Bash
Executable file
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Set application name
|
|
application=`getApplication`
|
|
|
|
runApplication blockMesh
|
|
runApplication $application
|
|
runApplication postProcess -latestTime -func sample
|
|
|
|
( cd validation && ./createGraphs )
|
|
|
|
#------------------------------------------------------------------------------
|