CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

UDF using for an averaging parameter

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 10, 2015, 02:22
Default UDF using for an averaging parameter
  #1
New Member
 
mas sah
Join Date: Mar 2015
Posts: 2
Rep Power: 0
masoud12321 is on a distinguished road
hi
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
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`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

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 01: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 11:13
Simulation of Axial Fan Flow using A Momentum Source Subdomain Liam CFX 28 July 16, 2013 09:24


All times are GMT -4. The time now is 19:18.