CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: anger
Forum: OpenFOAM Community Contributions November 15, 2010, 15:11
Replies: 171
Views: 182,759
Posted By anger
listing please

sarahk,

What's your script and what error do you get?

Regards,
-Thomas
Forum: OpenFOAM Community Contributions September 1, 2009, 15:54
Replies: 171
Views: 182,759
Posted By anger
Hello Patrick, the place where the p lives...

Hello Patrick,

the place where the p lives is the line which is taken into account for further processing; when you have three lines and pipe them through sed with p;N;N only the first one is kept...
Forum: OpenFOAM Community Contributions June 4, 2009, 07:03
Replies: 171
Views: 182,759
Posted By anger
f13 means field number 13 in the current set of...

f13 means field number 13 in the current set of fields which was created by cutting the line which was extracted by grep into pieces via the cut command.
"man cut" is your friend.

Best,
-Thomas
Forum: OpenFOAM Community Contributions June 4, 2009, 05:50
Replies: 171
Views: 182,759
Posted By anger
Hi, you could change the line extracting...

Hi,

you could change the line extracting the pressure to read:
cat log | grep 'Solving for p' | cut -d' ' -f9 | sed -n 'p;N;N;N;N' | tr -d ','" title 'p' with lines
If you had two pressure...
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 04:27.