CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Visualization & Post-Processing Software > ParaView

[OpenFOAM] pvpython: How to save several datasets at once?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2019, 06:44
Default pvpython: How to save several datasets at once?
  #1
Member
 
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11
TeresaT is on a distinguished road
Hello,

I am looking for a way to safe the data of several independent filters at once using paraview.simple
I just began programming with python, so please give me a hint even though the awnser might be obviously to you.

Best regards,
Terry
-------- More explanation:
I have a set of 1000 time steps (later more) of a few cfd simulations (reader: OpenFOAmReader) and need several data written to csv files:
-plotOverLlines (at least two)
-plotSelectionOverTime (at least two, exact number unknown)

I am able two save the data one after the other but it takes a lot of time and I would like to save the data (or collect the data and save it later) without reloading every time step for every filter.

So far i use SaveData(’./interfaceVelocity.csv’, proxy=slice1_1, Precision=10, WriteTimeSteps=1) for saving


Link to same post in paraview forums: https://discourse.paraview.org/t/pvp...s-at-once/2003
TeresaT is offline   Reply With Quote

Old   June 7, 2019, 10:50
Default
  #2
Member
 
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11
TeresaT is on a distinguished road
The question has been awnsered here: Paraview Forum

Short: Function will be available in paraview 5.7 and it can be done already via scripting.
TeresaT is offline   Reply With Quote

Reply

Tags
openfoam, python


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
Very quick - Journal file command to save monitors lcaBR FLUENT 2 October 18, 2022 13:26
save to variable filename inside loop FrankR Fluent UDF and Scheme Programming 5 January 30, 2019 12:16
save case & data Saman95 FLUENT 1 August 12, 2018 07:09
[General] Save Animation Settings TomBot ParaView 2 August 26, 2017 08:54
[General] Export spreadsheet from pvpython wgan ParaView 0 June 10, 2016 16:53


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