CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   A hard one: how to get spanwise average in Fluent? (https://www.cfd-online.com/Forums/fluent/69825-hard-one-how-get-spanwise-average-fluent.html)

ivanbuz November 5, 2009 16:17

A hard one: how to get spanwise average in Fluent?
 
The computation domain is constructed by simply repeating structured 2D mesh in z-direction (spanwise), and I want to get the spanwise-averaged field variables. I tried but still could not find the way. I have thought of several methods as following:

1. Use UDF. The UDF will need to get the neighboring cell in z-direction. I don't know how.
2. Export data file from Fluent and do the average in Matlab. But the exported file is in PEBLOCK format, and there is a lot of connectivity information in the file, and I also don't quite understand the organization of data in that file.
3. Read the exported file or read Fluent case and data files directly into Tecplot and do the average. I checked and could not find the way to get spanwise average in Tecplot.
4. After reading files into Tecplot as in 3, export a file with better format (like IJK-ordered) from Tecplot, but I can only export files in FEPOINT or PEBLOCK format.

Anybody any suggestion? Thanks!

arslantuf February 16, 2011 08:54

Hello Ivanbuz
I have been suffering about same problem. Do you have a solution so far?

thank you

Amir February 17, 2011 02:44

Hi,
I've done it by using tecplot as an interface media, here's the instruction:
- first by a journal file export number of planes data in span direction for tecplot.
- write data exported in tecplot as new files.
- export new files to matlab and compute the average.


All times are GMT -4. The time now is 05:26.