This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/validationAndVerificationSuite/validation/incompressible/simpleFoam/backwardFacingStep/Allrun
Vuko Vukcevic 1e8dd2ecb1 Validation suite update:
Distinguishing between validation and verification cases: small changes in the
directory structure
2017-04-27 15:00:44 +02:00

25 lines
595 B
Bash
Executable file

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=simpleFoam
runApplication blockMesh
runApplication potentialFoam
runApplication $application
runApplication sample -latestTime
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
cp -v surfaces/$timeStep/p_lowerWall.raw validationData/
cp -v sets/$timeStep/profile_?_U.xy validationData/
./validationData/gnuplot
mkdir -v validationResults
mv -v *.png validationResults/
cp -v validationData/BFSLines.pdf validationResults/
gnome-open validationResults/Cp.png