|
[Sponsors] |
June 24, 2013, 06:14 |
UDF for transient conduction.
|
#1 |
New Member
Ravindra
Join Date: May 2013
Posts: 5
Rep Power: 13 |
Hi,
I am solving a transient conduction problem when a side of the plate is subjected to time and space varying boundary condition. I am using a udf which is as follows: /************************************************** ******************** UDF for specifying a transient velocity profile boundary condition ************************************************** ********************/ #include "udf.h" DEFINE_PROFILE(temp, t, i) { real x[ND_ND]; real x0, y0, time; face_t f; time = CURRENT_TIME; begin_f_loop(f, t) { F_CENTROID(x,f,t); x0 = x[0]; y0 = x[1]; F_PROFILE(f, t, i) = 100.0*sin(y0)*sin(3.14*time)+200.0*cos(y0)*cos(3.1 4*time); } end_f_loop(f, t) } Now the problem is after solving the problem in fluent, when i monitor the temperature at a point on the surface of the wall, I am not getting the temperature variation as given to the UDF. Does this problem is related to time step i am using? or there is the problem in the UDF? Any help would be appreciated... Thanks.. |
|
August 23, 2013, 15:31 |
Temp.varying with space and Time
|
#2 |
New Member
AMSharma
Join Date: Apr 2012
Posts: 12
Rep Power: 14 |
Hi Ravindra
Whether you have sorted out the problem with your transient conduction udf? I am looking for a very similar udf for temperature varying with space and time..Could you please forward me the model udf for same. |
|
October 20, 2013, 10:45 |
|
#3 | |
New Member
Harshad
Join Date: May 2013
Location: mUMBAI
Posts: 13
Rep Power: 13 |
Quote:
Have u written ur profile right? i dont c it is a function of x though u've defined x0 u've written it as a function of y only inform d check good luck |
||
Tags |
udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
solving a conduction problem in FLUENT using UDF | Avin2407 | Fluent UDF and Scheme Programming | 1 | March 13, 2015 03:02 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
wall conduction, UDF | sudh | FLUENT | 0 | June 28, 2004 09:09 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |