CFD Online Logo CFD Online URL
Home > Forums > Fluent UDF and Scheme Programming

UDF using for an averaging parameter

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   March 10, 2015, 02:22
Default UDF using for an averaging parameter
New Member
mas sah
Join Date: Mar 2015
Posts: 2
Rep Power: 0
masoud12321 is on a distinguished road
I'm trying to write a udf which gives me average-time of parameters and rms (root mean square) like velocity and tempreture over a specific time priode in all domain. and export the result to an exel file.
If this is possible I would greatly appreciate some information.
thank you
masoud12321 is offline   Reply With Quote

Old   March 10, 2015, 07:25
Senior Member
Join Date: Mar 2015
Posts: 800
Rep Power: 11
`e` is on a distinguished road
You could use a UDF at the end of each time step using the DEFINE_EXECUTE_AT_END(name) macro to save the current variable (velocity, temperature etc) to a data file using comma separated values. Then import this data file into Excel for data processing (time averaging and rms).
`e` is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Starting field averaging using libFunctionObject after certain time eelcovv OpenFOAM Programming & Development 25 December 7, 2015 23:28
UDF Compilation Error - Loading Library - COMMON Problem! Help! robtheslob Fluent UDF and Scheme Programming 8 July 24, 2015 00:53
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF acasas CFD Freelancers 1 January 23, 2015 08:26
Interpreting streamlines of a rotating fan. danbence Visualization & Post-Processing 1 April 8, 2014 10:13
Simulation of Axial Fan Flow using A Momentum Source Subdomain Liam CFX 28 July 16, 2013 08:24

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