|
[Sponsors] |
[OpenFOAM] pvpython: How to save several datasets at once? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 7, 2019, 06:44 |
pvpython: How to save several datasets at once?
|
#1 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
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 |
|
June 7, 2019, 10:50 |
|
#2 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
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. |
|
Tags |
openfoam, python |
|
|
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 |