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 Members List Search Today's Posts Mark Forums Read

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
New Member
 
Teresa
Join Date: Nov 2015
Posts: 22
Rep Power: 6
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
New Member
 
Teresa
Join Date: Nov 2015
Posts: 22
Rep Power: 6
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

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
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
Very quick - Journal file command to save monitors lcaBR FLUENT 1 May 14, 2014 15:33


All times are GMT -4. The time now is 10:41.