openfoam/tutorials/combustion/chemFoam/ic8h18/validation/Allrun
2021-06-08 20:17:19 +00:00

13 lines
447 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # 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
./plot
#------------------------------------------------------------------------------