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

Access probe function object from post processing code

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2021, 10:47
Default Access probe function object from post processing code
  #1
New Member
 
Join Date: Aug 2020
Posts: 17
Rep Power: 3
Agavi is on a distinguished road
Hi everyone!

I am not really experienced in OpenFOAM programming but am writing a post processing utility (based on postChannel), and would like to access the probes function object. My utility should be able to read the coordinates as well as the time series results of the probes function object.

I'm pretty sure I'll have to read the flow field values of the probes ''manually'' since it is probably not registered anywhere in the case setup, but I was wondering if there is a good way to access at least the coordinates of the 'probes' function object, in a smarter way than just reading the postProcessing/probes/0/U file. (Defining a probe object and get the list of probes from there).

Also, I wonder if there is an 'OpenFOAM-based' way to read the time series in the postProcessing/probes/0/U file (see photo). Can I define it as an IOStream and read it so that I can directly input the (x y z) streams into openfoam vectors?

Thank you!

Agave


Capture.PNG
Agavi is offline   Reply With Quote

Reply

Tags
access probes class, iostream

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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 12:04
How to access my topoFvMesh member function in my code? Cyp OpenFOAM Programming & Development 2 November 8, 2016 11:31
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 14:41
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
Post Processing in FEM Abhijit Tilak Main CFD Forum 0 April 26, 2004 12:59


All times are GMT -4. The time now is 23:48.