UDF for data export?
I want to export heat flux from a panel in a flat plate flow where the temperature of the plate varies with time.
The ASCII automatic data export tool in Fluent is nice, but it creates a new file for every timestep. Is there a way to write a UDF to export the data from every timestep into a single file in this manner?: time1|temperature1|vector1 of heat flux from cell center time2|temperature2|vector2 of heat flux from cell center ... time100|temperature100|vector100 of heat flux from cell center If there is could I be pointed to a similar example? |
Hi,
Try this udf, it works in serial, you will have to modify the code if you work in parallel: Code:
#include "udf.h" |
Thank you I will try it very soon! Right now I've been using Matlab to automate the process of pulling data from each timestep file, but this is a much more elegant solution.
|
All times are GMT -4. The time now is 08:59. |