Extract data from log file OpenFOAM

OpenFOAM version 2.3.0 has a new feature for its sixDoFRigidBodyMotion solver. There is no celldisplacement field in the time steps so we cannot use probe to extract data of the mesh displacement. But, if we like to extract the data, we can use extractData command.

Example, In the ./case/extractData

grep “Centre of mass” $1 | cut -d “:” -f 2 | cut -d ” ” -f 3 | tr -d “)” > cM
grep “Linear velocity” $1 | cut -d “:” -f 2 | cut -d ” ” -f 4 | tr -d “)” > lV
grep -e “^Time = ” $1 | cut -d ” ” -f 3 > times

paste times cM > t_vs_cm
paste times lV > t_vs_lv

rm cM lV times

After run the case, example: >> mpirun -np 2 pimpleDyMFoam -parallel > log &
Then type >> ./extractData log

You can find new files are created that contain you needed data.

enjoy!

Aircraft noise and vibration in helicopter operations create a safety issue. From AIAA news

Rosekind Says Pilot Fatigue Remains Top Issue. Aviation International News (2/13, Mark) reports the NTSB’s Mark Rosekind told the Heli-Expo audience this weekend, “Fatigue in the aviation industry has been on the NTSB’s Top 10 Most-Wanted list for two decades. … It still makes up six of our top 10 fears today.” Rosekind “dove right into the fatigue issue at the lead-off educational session at Heli-Expo 2012 in Dallas.” He said “aircraft noise and vibration in helicopter operations create special fatigue issues, as does the predominance of single-pilot, on-demand operations, often conducted at night.