|
[Sponsors] |
September 1, 2012, 10:51 |
How are vector list ordered in OpenFOAM
|
#1 |
New Member
Tian Coulsting
Join Date: Jun 2012
Posts: 19
Rep Power: 13 |
Hi everyone,
A swift reply would be greatly appreciated since my deadline is on Wednesday! The main reason why the issue exists is because I am using ParaView on remote ssh connection. Because of this I can not do any kind of 1D plot (i.e. velocity vs. time). I am told by the computer administrator that he is sorting it but I am sure it will not be done in time. Therefore I am taking a different approach to do this. I need to output the value of pressure at the middle of my downstream edge for a 3D cavity flow to plot against time. I have written the following shell script to extract values from the p files within the saved timesteps: for f in */p do cat $f | awk 'NR==21 {print}' >> p echo "Processing $f file..." done This looks in all the folders within my case directory and searches for the p file; if it finds it, it will write line number 21 to a file called p in my case directory. This works perfectly for what I want to do. The only problem is I don't know how the list of vectors are ordered in the U, p, k, nuSgs, etc... files. Does anyone know how the vectors are organised?? Cheers, Tian |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Issues with OpenFoam | sanjibdsharma | OpenFOAM | 0 | August 14, 2009 08:41 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 04:48 |
2009 OpenFOAM Summer School in Zagreb, Croatia | hjasak | OpenFOAM Announcements from Other Sources | 0 | March 27, 2009 12:08 |
Summer School on Numerical Modelling and OpenFOAM | hjasak | OpenFOAM | 5 | October 12, 2008 13:14 |
OpenFOAM Training and Workshop | Hrvoje Jasak | Main CFD Forum | 0 | October 7, 2005 07:14 |