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

Result file Help

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2011, 01:29
Post Result file Help
  #1
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
Hello All,

How do i extract value from result files in time stamp from OpenFOAM??

a cylinder flow was solved now i want to plot pressure around cylinder at all angles
at a particular distance. But i do not know how to extract the pressure value from "p" file.

Cheers
CFDkid

Last edited by kid; August 11, 2011 at 07:40. Reason: no response till now
kid is offline   Reply With Quote

Old   August 11, 2011, 07:41
Question OpenFOAM
  #2
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
Can you people help me please ?
kid is offline   Reply With Quote

Old   August 11, 2011, 09:42
Default
  #3
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 21
marupio is on a distinguished road
Hey kid,

You can used Paraview to visualize your data. I believe it has data extraction functionality, but I haven't used it. You can use OpenFOAM's "sample" application. I think you need to add a sampleDict file to your constant directory to use it. sample extracts data from a set of points, or a plane. You can also export OpenFOAM data to other post processors, such as Techplot.

I don't know much more... I'm more into solver development!

-Dave
marupio is offline   Reply With Quote

Old   August 11, 2011, 10:53
Default
  #4
New Member
 
Tobias
Join Date: Jul 2011
Posts: 3
Rep Power: 14
flotob is on a distinguished road
hi kid,

you could use the writeCellCentres utility to get the xyz coordinates of the points, your p data is calculated

tobi
flotob is offline   Reply With Quote

Old   August 12, 2011, 02:20
Thumbs up
  #5
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
@Dave

Thank you will try sampleDict option

Quote:
Originally Posted by marupio View Post
Hey kid,

You can used Paraview to visualize your data. I believe it has data extraction functionality, but I haven't used it. You can use OpenFOAM's "sample" application. I think you need to add a sampleDict file to your constant directory to use it. sample extracts data from a set of points, or a plane. You can also export OpenFOAM data to other post processors, such as Techplot.

I don't know much more... I'm more into solver development!

-Dave
kid is offline   Reply With Quote

Old   August 12, 2011, 02:22
Thumbs up
  #6
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
@tobi,
Well tried it from case directory, but it generated data for all the time step and cx,ccy,ccz
what are these files ?
Can i use it for getting data for particular cell ?

Cheers
CFDkid

Quote:
Originally Posted by flotob View Post
hi kid,

you could use the writeCellCentres utility to get the xyz coordinates of the points, your p data is calculated

tobi
kid is offline   Reply With Quote

Old   August 30, 2011, 05:00
Thumbs up Para Inspector to spot values in given cell
  #7
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
Hello everyone,
Q: How to get values at particular location from result files of OpenFOAM?
A: ParaView comes with a python tool called Para Inspector. First open the OpenFOAM solved case in ParaView. Now to under View option and check the "para Inspector"
It asks for X,Y,Z co ordinates of the spot one wants to get or fetch values. One can also select between range of variables for which the values are computed. Next Zoom in at the spot and you will find the computed value.

Following links are useful in the above regard:

http://www.vtk.org/Wiki/Data_Selection

Cheers,
CFDkid
kid is offline   Reply With Quote

Old   August 30, 2011, 05:06
Default
  #8
New Member
 
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 14
joel.lehikoinen is on a distinguished road
Quote:
Originally Posted by kid View Post
Hello everyone,
Q: How to get values at particular location from result files of OpenFOAM?
A: ParaView comes with a python tool called Para Inspector. First open the OpenFOAM solved case in ParaView. Now to under View option and check the "para Inspector"
It asks for X,Y,Z co ordinates of the spot one wants to get or fetch values. One can also select between range of variables for which the values are computed. Next Zoom in at the spot and you will find the computed value.

Following links are useful in the above regard:

http://www.vtk.org/Wiki/Data_Selection

Cheers,
CFDkid
To obtain data values at single points, you can also use the probeLocations utility. For an example of probesDict, see $FOAM_TUTORIALS/postProcessing/sampling/probeLocations/probesDict.
joel.lehikoinen is offline   Reply With Quote

Old   August 30, 2011, 07:11
Post Thanks
  #9
kid
Senior Member
 
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17
kid is on a distinguished road
Hello,
Will try it soon.

Cheers,
CFDkid
kid is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
openfoam 1.6 on debian etch romant OpenFOAM Installation 9 May 6, 2010 02:26
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 BlGene OpenFOAM Meshing & Mesh Conversion 10 August 6, 2009 04:26
PHI file structure Eugene Phoenics 9 November 2, 2001 22:00


All times are GMT -4. The time now is 19:24.