OpenFOAM-2.4.x/tutorials/combustion/chemFoam/h2/validation/Allrun
2014-02-17 16:00:08 +00:00

14 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