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

How to extract values along a line?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 6, 2013, 03:46
Default How to extract values along a line?
  #1
Member
 
Vishal
Join Date: Jul 2013
Posts: 73
Rep Power: 3
inf.vish is on a distinguished road
I want to extract the values of the velocity component Ux at a particular cross section. I can plot the values along a line but how do i get openfoam to print those values for me in a file.
I need to calculate their average.
inf.vish is offline   Reply With Quote

Old   August 6, 2013, 04:27
Default
  #2
Senior Member
 
Aurelien Thinat
Join Date: Jul 2010
Posts: 154
Rep Power: 7
Aurelien Thinat is on a distinguished road
Hi,

If you are using paraFoam, you have an option "save data". It will print in a file the coordinates of the activated points (the cross section) and the different values (Ux, Uy, Uz, k, epsilon...).

Or you can use a function in the controlDict file. You have several examples in the tutorials.
Aurelien Thinat is offline   Reply With Quote

Old   August 6, 2013, 22:49
Default
  #3
Member
 
Vishal
Join Date: Jul 2013
Posts: 73
Rep Power: 3
inf.vish is on a distinguished road
Okay thanks
inf.vish is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Force can not converge colopolo CFX 13 October 4, 2011 22:03
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 02:32
Install problem in linux navaladi OpenFOAM Installation 11 July 17, 2008 02:24
errors Fahad Main CFD Forum 0 March 23, 2004 14:20
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19


All times are GMT -4. The time now is 22:40.