|
[Sponsors] |
October 30, 2023, 09:54 |
Compute average of multiple .plt files
|
#1 |
New Member
Hannes
Join Date: Nov 2020
Posts: 2
Rep Power: 0 |
I am once again seeking for advice :/
I have multiple .plt solution files from my CFD analysis. All for the exact same mesh with the same number of zones and variables, but with slightly different results. Now i want to gather all of my .plt files and calculate an averaged solution. I am trying to solve it using PyTecplot for easy automation and additional cases, but my knownledge is limited and I'm only getting error after error. Being honest, this sounds like a pretty easy task - just loop through every variable in every zone, add them up, divide by number of .plt files and export to new file. I can't be the first one that comes up with this problem, however I haven't found any existing code. If you have suggestions, I'll be deeply thankful! |
|
November 7, 2023, 22:15 |
|
#2 |
Senior Member
Scott Fowler
Join Date: May 2009
Posts: 123
Rep Power: 17 |
We have a PyTecplot script build for that exact purpose!
It's available here: https://github.com/Tecplot/handyscri...TimeAverage.py And we have a video demonstrating it here: https://tecplot.com/2022/06/29/pytec...ta-statistics/ If you need additional assistance, our support staff is available to help. Just contact support@tecplot.com |
|
Tags |
averaging, cfd, tecplot |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Scheme programming-read multiple data files from transient computations | anuarun | Fluent UDF and Scheme Programming | 3 | March 5, 2021 21:27 |
Import multiple CGNS files for overset into Ansys-Fluent | Herjhoa | FLUENT | 2 | August 8, 2018 03:09 |
To compute Average flowfield with oodles | flying | OpenFOAM Running, Solving & CFD | 3 | May 5, 2009 09:46 |
Evaluating multiple fluent files | Ralf Schmidt | FLUENT | 0 | October 25, 2004 06:15 |
How to compute an average slip velocity using DPM | thomas | FLUENT | 0 | February 9, 2004 09:17 |