|
[Sponsors] |
[General] export transient data to ONLY ONE csv file? |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 18 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 14 ![]() |
Hi
Did you find a way to export in one file ? Thanks, Mhrz Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#3 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 18 ![]() |
No I didn't. Sorry.
|
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Sami
Join Date: Nov 2012
Location: Cap Town, South Africa
Posts: 87
Rep Power: 14 ![]() |
Thank you.
Mhrz |
|
![]() |
![]() |
![]() |
![]() |
#5 |
New Member
Jeff Irwin
Join Date: Jan 2016
Location: State College, PA
Posts: 3
Rep Power: 11 ![]() |
Filters -> alphabetical -> probe location.
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. |
|
![]() |
![]() |
![]() |
![]() |
#6 |
New Member
|
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 |
|
![]() |
![]() |
![]() |
![]() |
#7 |
New Member
Jeff Irwin
Join Date: Jan 2016
Location: State College, PA
Posts: 3
Rep Power: 11 ![]() |
I would be interested in your python script.
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
New Member
|
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 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 08:46 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 | Seroga | OpenFOAM Community Contributions | 9 | June 12, 2015 17:18 |
Trouble compiling utilities using source-built OpenFOAM | Artur | OpenFOAM Programming & Development | 14 | October 29, 2013 10:59 |