openfoam/tutorials/combustion/chemFoam/nc7h16/validation/Allrun
2014-12-14 21:50:14 +00:00

15 lines
349 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Extract Chemkin II data into a friendlier format
echo "# Time [s] Temperature [K]" > chemkinII
grep '^ Time (sec)' ../chemkin/senk.out | awk '{print $4 " " $8 }' \
>> chemkinII
./createGraph
# ----------------------------------------------------------------- end-of-file