|
[Sponsors] |
March 10, 2015, 02:22 |
UDF using for an averaging parameter
|
#1 |
New Member
mas sah
Join Date: Mar 2015
Posts: 2
Rep Power: 0 |
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 |
|
March 10, 2015, 07:25 |
|
#2 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
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).
|
|
|
|
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 |