Result file Help
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:o |
OpenFOAM
Can you people help me please ?
|
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 |
hi kid,
you could use the writeCellCentres utility to get the xyz coordinates of the points, your p data is calculated tobi |
@Dave
Thank you will try sampleDict option:) Quote:
|
@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:
|
Para Inspector to spot values in given cell
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:o:):rolleyes::confused::p;):D |
Quote:
|
Thanks
Hello,
Will try it soon. Cheers, CFDkid |
All times are GMT -4. The time now is 11:41. |