export transient data to ONLY ONE csv file?
Hi,
I'd like to export probe location transient data to a single csv file. When I click Write All Time Steps, Paraview exports a csv file for each time step and I'd like to have a single csv file with a time column. Any idea? I'm sure there is a 'python way'. When I Select Points On (d) then Plot Selection Over Time, I can export the time series to a single csv file, but what annoys me is that I can't choose the exact coordinate with Select Points On, I can only use the mouse and click on a surface (or am I missing something?) Thanks François |
Hi
Did you find a way to export in one file ? Thanks, Mhrz Quote:
|
No I didn't. Sorry.
|
Thank you.
Mhrz |
Quote:
In the Properties panel next to "Point", you can type in the exact coordinates. Unfortunately, I don't see a way to save this to a single file. I can't even read the files myself and combine them, because time is not saved to them. |
Hi
Do you want to do it with Paraview GUI? I always use a python script for getting any time transient data in one csv with pvpython. If the python script is OK. I will send you it. Regards, kkk |
I would be interested in your python script.
|
2 Attachment(s)
Hi
I attached OpenFOAM tutorial case including a Paraview's python script. Please execute following after ./Allrun Code:
pvpython getProbeData.py You will be able to get it not only OpenFOAM but other solvers by changing reader type in the script. Just give it try. Regards, kkk |
All times are GMT -4. The time now is 21:58. |