#!/bin/sh

grep -oP ' (?<=#Time = ).*' log.conjugateHeatFoam | cut -d ' ' -f 2 > Time.xls
grep -oP '(?<=ExecutionTime = ).* ' log.conjugateHeatFoam |cut -d ' ' -f 1 > convergenceTime.xls
grep iteration: log.conjugateHeatFoam |awk -v OFS=', ' '/iteration:/ { print $3 }'| cut -d ',' -f 1|uniq -c | awk '{print $1}' >iteraionPerDt.xls



