|
[Sponsors] |
How to define Heat flux UDF in ansys in Boundary Condition? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 15, 2019, 06:20 |
How to define Heat flux UDF in ansys in Boundary Condition?
|
#1 |
New Member
Azim Memon
Join Date: Jul 2019
Posts: 12
Rep Power: 7 |
Hello,
I have written the Heat Flux UDF and i want to define it in Boundary Condition, i mean in the wall. How can i do ? # include "udf.h" # include "unsteady.h" DEFINE_EXECUTE_AT_END (execute_loop) { face_t f; Thread *t; real c_time=0.0000; real q; c_time=CURRENT_TIME; if (c_time>0.00 && c_time<2700) { q=500; } if ((c_time>=2700)&&(c_time<=5400)) { q=-500; } } |
|
August 16, 2019, 01:28 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
Ansys FLuent Customization manual
look for DEFINE_PROFILE macro best regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
Udf for moving heat flux in 2D cylindrical geometry | devia21 | Fluent UDF and Scheme Programming | 0 | April 20, 2015 01:27 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Concentric tube heat exchanger (Air-Water) | Young | CFX | 5 | October 7, 2008 00:17 |