|
[Sponsors] |
November 28, 2016, 22:29 |
Spanwise averaging - Python script
|
#1 |
Member
Pavan
Join Date: Jan 2016
Posts: 53
Rep Power: 10 |
Dear All
I am working on python script in paraview. My aim is to carryout spanwise averaging of all the fields in the domain. I do have a working script in to this end. Currently, 1. the script applies a "Plotoverline filter" between [X1,Y1,Z1] and [X2 Y2 Z2]. 2.Then it writes a csv file for the "Plotoverline" data 3. Then it moves the "Plotoverline filter" to a new location [X1new,Y1new,Z1new] and [X2new Y2new Z2new] and repeats step 2. Steps 1 to 3 are repeated for all the time steps. My problem is that I am ending up with humongous number of CSV files even for spanning a small section of my domain. Can some one suggest a better way of doing this? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] Using python script for automatic post processing of openFoam | vPaquet | ParaView | 12 | December 16, 2021 03:30 |
python script to create geometry for salome, and then mesh | 6863523 | Mesh Generation & Pre-Processing | 4 | March 18, 2017 09:00 |
[General] Transfer variables into python script from bash-shell | cfdFreshman | ParaView | 0 | December 3, 2015 03:33 |
[General] Python script: Auto-scale color scale | julien.decharentenay | ParaView | 2 | December 9, 2013 05:39 |
CentFOAM Python Script Installation: Error | socon009 | OpenFOAM Installation | 2 | May 26, 2012 09:36 |