CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   Obtaining transient data of a point over time (https://www.cfd-online.com/Forums/tecplot/233568-obtaining-transient-data-point-over-time.html)

rhk February 1, 2021 18:31

Obtaining transient data of a point over time
 
Hi all,

I have a 3D transient problem imported from FLUENT that is working fine with slices and other features but I could not figure out how should I extract pressure data at a point on a surface over time and write it to a text file?
The "Probe to create time series plot" function under tools work well but how could I obtain the data in text? And how should I specify the coordinate instead of using the pointers?
Thanks in advance for the help.

Regards,
rhk

novedevon February 2, 2021 19:44

Probe to create time series plot is probably the easiest way to access the data you can use data>Spreadsheet on the derived frame to see the data in a table. Then to write to a file, either File> write data or Tools> Write data as formatted text.

Sadly Probe to create time series plot doesn't have a way to enter a specific location in the GUI. But you can use the macro language to specify the location of the probe.

$!ExtendedCommand
CommandProcessorID = 'Time Series Plot'
Command = 'Command = CreatePlot StrandID = 1 XPos = 0.070113242744 YPos = 0.06046465643 ZPos = 0'

Another option would be writing a pytecplot script using tecplot.data.query.probe_at_position and looping through time.

rhk February 3, 2021 05:50

Thanks for the reply. I have 0 idea how macro and pytecplot works, will try to figure out that part but the "write data as formatted text" works well for me.

novedevon February 3, 2021 19:29

A simple recording with scripting> record macro will give you a place to start from. Then if you need any help reach out to support@tecplot.com.


All times are GMT -4. The time now is 13:16.