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/validationSuite/incompressible/pisoFoam/NACA-4412/Allrun
Vuko Vukcevic 03a7dfe35c Airfoil validation test case for pisoFoam
pisoFoam/NACA4412: comparison of pressure coefficient with experimental data.
Author: Filip Sutalo, Merge: Vuko Vukcevic
2017-01-17 16:35:59 +01:00

19 lines
404 B
Bash
Executable file

#!/bin/bash
. $WM_PROJECT_DIR/bin/tools/RunFunctions
application=pisoFoam
runApplication $application
runApplication sample -latestTime
timeStep=$(grep "^endTime" system/controlDict | awk '{ print $2 }' | sed 's/;//g')
cp -v surfaces/$timeStep/p_solidWall.raw validationData/
./validationData/gnuplot
mkdir -v validationResults
mv -v *.png validationResults/
gnome-open validationResults/Cp.png