|
[Sponsors] |
August 11, 2011, 02:29 |
Result file Help
|
#1 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
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 08:40. Reason: no response till now |
|
August 11, 2011, 08:41 |
OpenFOAM
|
#2 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Can you people help me please ?
|
|
August 11, 2011, 10:42 |
|
#3 |
Senior Member
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22 |
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 |
|
August 11, 2011, 11:53 |
|
#4 |
New Member
Tobias
Join Date: Jul 2011
Posts: 3
Rep Power: 15 |
hi kid,
you could use the writeCellCentres utility to get the xyz coordinates of the points, your p data is calculated tobi |
|
August 12, 2011, 03:20 |
|
#5 | |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
@Dave
Thank you will try sampleDict option Quote:
|
||
August 12, 2011, 03:22 |
|
#6 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
@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 |
|
August 30, 2011, 06:00 |
Para Inspector to spot values in given cell
|
#7 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
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 |
|
August 30, 2011, 06:06 |
|
#8 | |
New Member
Joel Lehikoinen
Join Date: Jun 2011
Posts: 26
Rep Power: 15 |
Quote:
|
||
August 30, 2011, 08:11 |
Thanks
|
#9 |
Senior Member
cfdkid
Join Date: Mar 2009
Posts: 133
Rep Power: 17 |
Hello,
Will try it soon. Cheers, CFDkid |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
openfoam 1.6 on debian etch | romant | OpenFOAM Installation | 9 | May 6, 2010 03:26 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 14:43 |
[Gmsh] Compiling gmshFoam with OpenFOAM-1.5 | BlGene | OpenFOAM Meshing & Mesh Conversion | 10 | August 6, 2009 05:26 |
PHI file structure | Eugene | Phoenics | 9 | November 2, 2001 23:00 |